diff options
Diffstat (limited to 'python/tamplates/includes/frontpage/glsa')
-rw-r--r-- | python/tamplates/includes/frontpage/glsa | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/python/tamplates/includes/frontpage/glsa b/python/tamplates/includes/frontpage/glsa new file mode 100644 index 0000000..a2ed049 --- /dev/null +++ b/python/tamplates/includes/frontpage/glsa @@ -0,0 +1,17 @@ +<table class="table table-striped"> + {% for advisory in glsaposts %} + <tr> + <td>GLSA {{ advisory.id }}</td> + <td><a href="{{ advisory.url }}">{{ advisory.title }}</a></td> + <td class="text-right"> + {% if advisory.severity == 'high' %} + <span class="label label-danger">high</span> + {% elif advisory.severity == 'low' %} + <span class="label label-info">low</span> + {% else %} + <span class="label label-warning">normal</span> + {% endif %} + </td> + </tr> + {% endfor %} +</table>
\ No newline at end of file |