X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=templates%2Fviews%2Fscoreboard.html;h=bb25f1fe071aa85169df0fa8885a915eecc5337f;hb=96db269aa6a9f6a7a95ded55969d7e430543a833;hp=bf5852df0d919fa7027d1fa26abad8ea2f111cdb;hpb=89936744e85c42c8d74a851f22ab2bb5bcead789;p=fba.git diff --git a/templates/views/scoreboard.html b/templates/views/scoreboard.html index bf5852d..bb25f1f 100644 --- a/templates/views/scoreboard.html +++ b/templates/views/scoreboard.html @@ -1,30 +1,40 @@ {% extends "base.html" %} -{% block title %}scoreboard - {% if software %}TOP {{software}} used software{% elif originator %}TOP {{originator}} scripts{% elif reference %}TOP {{reference}} referencing instances{% elif blocked %}TOP {{blocked}} deferated instances{% elif blockers %}TOP {{blockers}} deferating instances{% endif %}{% endblock %} +{% block title %}Scoreboard - {% if mode == 'software' %}TOP {{amount}} used software{% elif mode == 'detection_mode' %}Detection mode statistics{% elif mode == 'block_level' %}TOP {{amount}} block level statistics{% elif mode == 'obfuscation' %}Obfuscation statistics{% elif mode == 'obfuscator' %}TOP {{amount}} obfuscating software{% elif mode == 'avg_peers' %}TOP {{amount}} average peer count{% elif mode == 'command' %}TOP {{amount}} commands{% elif mode == 'error_code' %}TOP {{amount}} error codes{% elif mode == 'reference' %}TOP {{amount}} referencing instances{% elif mode == 'blocked' %}TOP {{amount}} deferated instances{% elif mode == 'blocker' %}TOP {{amount}} deferating instances{% endif %}{% endblock %} {% block header %} - {% if blockers %} -
â | -{% if software %}Software{% elif error_code %}Error code{% else %}Instance{% endif %} | -{% if reference %}References{% elif software or error_code %}Total{% else %}Blocks{% endif %} | +{% 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 %} | +{% if mode == 'reference' %}References{% elif mode == 'avg_peers' %}Average{% elif mode in('software', 'error_code', 'obfuscator', 'obfuscation', 'block_level', 'detection_mode') %}Total{% else %}Blocks{% endif %} | @@ -32,16 +42,21 @@
---|---|---|---|
{{loop.index}} | - {% if software or originator or error_code %} + {% if mode in ('error_code', 'avg_peers', 'obfuscator', 'obfuscation') %} {{entry['domain']}} {% elif entry['domain'] == None %} - + {% elif mode == 'block_level' %} + {{entry['domain']}} + {% elif mode in ('software', 'detection_mode', 'command') %} + {{entry['domain']}} {% else %} - {{entry['domain']}} - â + {% with domain=entry['domain'] %} + {% include "widgets/links.html" %} + {% endwith %} {% endif %} | -{{entry['highscore']}} | +{{entry['score']}} |