firewall: Split CSS styling into separate file

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
Sunil Mohan Adapa authored and Veiko Aasa committed 2020-12-19 16:26:48 +02:00
1 parent eeac81b8c6
commit 4b9b683a16
2 files changed
+32 -24

No files matched your search

@@ -4,30 +4,11 @@
{% endcomment %}
{% load i18n %}
{% load static %}
{% block page_head %}
<style type="text/css">
a.dropdown-toggle {
color: black;
}
a.dropdown-toggle:hover {
text-decoration: none;
}
td.service {
padding-left: 2rem;
}
.service-name {
font-style: italic;
}
.app-status,
.service-status {
width: 11rem;
}
</style>
<link type="text/css" rel="stylesheet"
href="{% static 'firewall/firewall.css' %}"/>
{% endblock %}
{% block configuration %}
@@ -78,8 +59,7 @@
</td>
</tr>
{% for port in component.ports_details %}
<tr class="collapse {{component.component_id}}"
style="background-color: #f9f9f9" >
<tr class="collapse {{component.component_id}}">
<td class='service'>
<span class="service-name">{{ port.name }}</span>:
{% for port_number, protocol in port.details %}