From: Roland Häder Date: Wed, 26 Jul 2023 20:24:12 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f5ef735fed3d154a38809fa0a8a1d86c43fe921f;p=fba.git Continued: - also show in scoreboard when an unsupported mode was provided - fixed indenting --- diff --git a/templates/views/list.html b/templates/views/list.html index d1c8c98..260537d 100644 --- a/templates/views/list.html +++ b/templates/views/list.html @@ -40,31 +40,31 @@ {% for row in domainlist %} - - - {% with domain=row['domain'] %} - {% include "widgets/links.html" %} - {% endwith %} - - - {% with domain=row['origin'] %} - {% include "widgets/links.html" %} - {% endwith %} - - - {% with mode='software', amount=amount, value=row['software'] %} - {% include "widgets/list_links.html" %} - {% endwith %} - - - {% with mode='detection_mode', amount=amount, value=row['detection_mode'] %} - {% include "widgets/list_links.html" %} - {% endwith %} - - {{row['command']}} - {{row['first_seen']}} - {{row['last_updated']}} - + + + {% with domain=row['domain'] %} + {% include "widgets/links.html" %} + {% endwith %} + + + {% with domain=row['origin'] %} + {% include "widgets/links.html" %} + {% endwith %} + + + {% with mode='software', amount=amount, value=row['software'] %} + {% include "widgets/list_links.html" %} + {% endwith %} + + + {% with mode='detection_mode', amount=amount, value=row['detection_mode'] %} + {% include "widgets/list_links.html" %} + {% endwith %} + + {{row['command']}} + {{row['first_seen']}} + {{row['last_updated']}} + {% endfor %} diff --git a/templates/views/scoreboard.html b/templates/views/scoreboard.html index 776dbc7..f76775d 100644 --- a/templates/views/scoreboard.html +++ b/templates/views/scoreboard.html @@ -25,6 +25,8 @@

Obfuscation statistics

{% elif mode == 'block_level' %}

TOP {{amount}} block levels

+ {% else %} +

mode={{mode}} not supported

{% endif %} {% endblock %}