X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=templates%2Fviews%2Fscoreboard.html;h=53cc3ec78dcb4d42556d83a03c609d1eaad58e49;hb=2b6083b56bd3d4c075170ef426f6f300654ec4c5;hp=46d58076dbb8ab98761b22c609756333dca6f894;hpb=ca9dd0d785407bc9b9573b80df9ae0496f4db4a6;p=fba.git diff --git a/templates/views/scoreboard.html b/templates/views/scoreboard.html index 46d5807..53cc3ec 100644 --- a/templates/views/scoreboard.html +++ b/templates/views/scoreboard.html @@ -1,6 +1,6 @@ {% extends "base.html" %} -{% block title %}Scoreboard - {% if mode == 'software' %}TOP {{amount}} used 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 title %}Scoreboard - {% if mode == 'software' %}TOP {{amount}} used software{% elif mode == 'obsfucation' %}Obsfucation metrics{% elif mode == 'obsfucator' %}TOP {{amount}} obsfucating 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 mode == 'blocker' %} @@ -15,6 +15,12 @@

TOP {{amount}} commands

{% elif mode == 'error_code' %}

TOP {{amount}} error codes

+ {% elif mode == 'avg_peers' %} +

TOP {{amount}} average peer count

+ {% elif mode == 'obsfucator' %} +

TOP {{amount}} obsfucating software

+ {% elif mode == 'obsfucator' %} +

Obsfucation metrics

{% endif %} {% endblock %} @@ -23,8 +29,8 @@ - - + + @@ -32,13 +38,14 @@ @@ -55,6 +62,12 @@ + {% elif mode == 'obsfucation' %} +

Please note to obsfucation status:

+ {% endif %} Index / {{ super() }}
№{% if mode in ('software', 'avg_peers') %}Software{% elif mode == 'error_code' %}Error code{% else %}Instance{% endif %}{% if mode == 'reference' %}References{% elif mode == 'avg_peers' %}Average{% elif mode in('software', 'error_code') %}Total{% else %}Blocks{% endif %}{% if mode in ('software', 'avg_peers', 'obsfucator') %}Software{% elif mode == 'obsfucation' %}Obsfucation status{% elif mode == 'error_code' %}Error code{% else %}Instance{% endif %}{% if mode == 'reference' %}References{% elif mode == 'avg_peers' %}Average{% elif mode in('software', 'error_code', 'obsfucator', 'obsfucation') %}Total{% else %}Blocks{% endif %}
{{loop.index}} - {% if mode in ('software', 'command', 'error_code', 'avg_peers') %} + {% if mode in ('software', 'command', 'error_code', 'avg_peers', 'obsfucator', 'obsfucation') %} {{entry['domain']}} {% elif entry['domain'] == None %} - {% else %} - {{entry['domain']}}  - ↗ + {% with domain=entry['domain'] %} + {% include "widgets/links.tpl" %} + {% endwith %} {% endif %} {{entry['score']}}