X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=templates%2Fviews%2Fscoreboard.html;h=bb25f1fe071aa85169df0fa8885a915eecc5337f;hb=ba67edf5cc964bb13a81af1a2e4768823e95a31a;hp=46d58076dbb8ab98761b22c609756333dca6f894;hpb=ca9dd0d785407bc9b9573b80df9ae0496f4db4a6;p=fba.git diff --git a/templates/views/scoreboard.html b/templates/views/scoreboard.html index 46d5807..bb25f1f 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 == '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 mode == 'blocker' %} @@ -15,16 +15,26 @@

TOP {{amount}} commands

{% elif mode == 'error_code' %}

TOP {{amount}} error codes

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

Detection mode statistics

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

TOP {{amount}} average peer count

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

TOP {{amount}} obfuscating software

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

Obfuscation statistics

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

TOP {{amount}} block levels

{% endif %} {% endblock %} {% block content %}
- +
- - + + @@ -32,13 +42,18 @@ @@ -51,10 +66,35 @@ {% block footer %} {% if mode == 'error_code' %} -

Please note to error codes:

- +
+

Error codes:

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

Detection modes:

+
+ Detection is done in following order: +
+
    +
  1. AUTO_DISCOVERY: /.well-known/nodeinfo was reachable and software type was found in nodeinfo response
  2. +
  3. STATIC_CHECK: Node information was found by probing for well-known URLs
  4. +
  5. GENERATOR: Meta data generator was found in HTML code
  6. +
  7. SITE_NAME: Meta data og:site_name was found in HTML code
  8. +
  9. PLATFORM: Meta data og:platform was found in HTML code
  10. +
  11. None: the instance was not reachable or the used software was not stated
  12. +
+
+ {% elif mode == 'obfuscation' %} +
+

Obfuscation 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', '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 %}
{{loop.index}} - {% if mode in ('software', 'command', 'error_code', 'avg_peers') %} + {% 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['score']}}