From: Roland Häder Date: Sat, 24 Jun 2023 19:00:14 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=466b65e6df0870d911d37eafe01063fbbdb34db0;p=fba.git Continued: - some CSS beautifications - scoreboard navigation is now a list not just links with
--- diff --git a/templates/base.html b/templates/base.html index 629c135..55d3023 100644 --- a/templates/base.html +++ b/templates/base.html @@ -40,7 +40,8 @@ padding-bottom: 4px; } - table tr:nth-of-type(2n), thead { + table.with-rows > tbody > tr:nth-of-type(2n), + table.with-rows > thead { background-color: #eaeaea; } @@ -118,6 +119,10 @@ background-color: #eaeaea; border-radius: 5px; } + ul.nav > li { + margin: 2px; + display: inline; + } @@ -127,7 +132,7 @@
- {% block content %}{% endblock %} + {% block content %}Page has no content!{% endblock %}
{{ super() }} {% endblock %} diff --git a/templates/views/scoreboard.html b/templates/views/scoreboard.html index 15d698d..662ab4e 100644 --- a/templates/views/scoreboard.html +++ b/templates/views/scoreboard.html @@ -30,7 +30,7 @@ {% block content %}
- +
diff --git a/templates/views/top.html b/templates/views/top.html index 49a64a9..204db6e 100644 --- a/templates/views/top.html +++ b/templates/views/top.html @@ -33,9 +33,9 @@ {% endif %} {% for block_level in blocklist %} -
+

{{block_level}} ({{blocklist[block_level]|length}})

-
№ {% if mode in ('software', 'avg_peers', 'obfuscator') %}Software{% elif mode == 'obfuscation' %}Obfuscation status{% elif mode == 'detection_mode' %}Detection mode{% elif mode == 'error_code' %}Error code{% else %}Instance{% endif %}
+
Blocker {% if block_level == 'accept' %}Accepted{% else %}Blocked{% endif %}