mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
security: Hide vulnerability table by default
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> [sunil@medhas.org Fix 'rol' attribute to 'role'] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
cd54cd48b8
commit
e157c1f463
@ -35,20 +35,29 @@
|
|||||||
for each installed app.
|
for each installed app.
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
</p>
|
</p>
|
||||||
<table class="table table-bordered table-condensed table-striped">
|
<a class="btn btn-default collapsed collapsible-button" role="button"
|
||||||
<thead>
|
data-toggle="collapse" href="#collapse-vulns" aria-expanded="false"
|
||||||
<tr>
|
aria-controls="collapse-vulns">
|
||||||
<th>{% trans "App Name" %}</th>
|
<span class="fa fa-chevron-right fa-fw" aria-hidden="true"></span>
|
||||||
<th>{% trans "Vulnerabilities Reported" %}</th>
|
{% trans "Show security vulnerabilities" %}
|
||||||
</tr>
|
</a>
|
||||||
</thead>
|
|
||||||
<tbody>
|
<div class="collapse" id="collapse-vulns">
|
||||||
{% for app in apps_vulns %}
|
<table class="table table-bordered table-condensed table-striped">
|
||||||
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ app.name }}</td>
|
<th>{% trans "App Name" %}</th>
|
||||||
<td>{{ app.count }}</td>
|
<th>{% trans "Vulnerabilities Reported" %}</th>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
</thead>
|
||||||
</tbody>
|
<tbody>
|
||||||
</table>
|
{% for app in apps_vulns %}
|
||||||
|
<tr>
|
||||||
|
<td>{{ app.name }}</td>
|
||||||
|
<td>{{ app.count }}</td>
|
||||||
|
</tr>
|
||||||
|
{% endfor %}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user