summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'views/glsa.erb')
-rw-r--r--views/glsa.erb21
1 files changed, 21 insertions, 0 deletions
diff --git a/views/glsa.erb b/views/glsa.erb
new file mode 100644
index 0000000..17c77ce
--- /dev/null
+++ b/views/glsa.erb
@@ -0,0 +1,21 @@
+<h1 class="first-header">Gentoo Linux Security Advisories (GLSA)</h1>
+
+<p>
+ This page lists all Security Advisories that were released by the Gentoo Security Team.
+ For more information, please visit our distribution's <a href="http://www.gentoo.org/security/en/index.xml">Security overview</a>.
+</p>
+
+<div class="table-responsive">
+ <table class="table table-striped">
+ <tr>
+ <th>ID</th>
+ <th>Title</th>
+ </tr>
+ <% @ids.each do |id| %>
+ <tr>
+ <th><a href="/glsa/<%= h id %>"><%= h id %></a></th>
+ <td><%= h GLSARepository.instance[id].title %></td>
+ </tr>
+ <% end %>
+ </table>
+</div> \ No newline at end of file