]> git.mxchange.org Git - fba.git/blobdiff - templates/views/scoreboard.html
Continued:
[fba.git] / templates / views / scoreboard.html
index 70d42708599466dda3fb6f345f2935f2f67d33a6..776dbc768d1b9a2a694476bd6567c908ad5897da 100644 (file)
@@ -30,7 +30,7 @@
 
 {% block content %}
     <div class="scoreboard">
-        <table>
+        <table class="table-with-rows">
             <thead>
                 <th>№</th>
                 <th>{% 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 %}</th>
                 <tr>
                     <td>{{loop.index}}</td>
                     <td>
-                        {% if mode in ('software', 'command', 'error_code', 'detection_mode', 'avg_peers', 'obfuscator', 'obfuscation') %}
+                        {% if mode in ('error_code', 'avg_peers', 'obfuscator', 'obfuscation') %}
                             {{entry['domain']}}
                         {% elif entry['domain'] == None %}
                             -
                         {% elif mode == 'block_level' %}
-                            <a href="{{base_url}}/top?mode=block_level&amp;value={{entry['domain']}}&amp;amount=50">{{entry['domain']}}</a>
+                            <a href="top?mode={{mode}}&amp;value={{entry['domain']}}&amp;amount=50">{{entry['domain']}}</a>
+                        {% elif mode in ('software', 'detection_mode', 'command') %}
+                            <a href="list?mode={{mode}}&amp;value={{entry['domain']}}&amp;amount=50">{{entry['domain']}}</a>
                         {% else %}
                             {% with domain=entry['domain'] %}
                             {% include "widgets/links.html" %}
 {% block footer %}
     {% if mode == 'error_code' %}
         <div class="notice">
-            <h2>Error codes:</h2>
+            <h3>Error codes:</h3>
             <ul>
                 <li>Error code 999 is fake and covers a lot of reasons why the domain/instance is not reachable. Mostly that the domain is not resolvable or the server refused connection.</li>
             </ul>
         </div>
     {% elif mode == 'detection_mode' %}
         <div class="notice">
-            <h2>Detection modes:</h2>
+            <h3>Detection modes:</h3>
             <div>
                 Detection is done in following order:
             </div>
             <ol>
                 <li><b>AUTO_DISCOVERY</b>: <code>/.well-known/nodeinfo</code> was reachable and software type was found in nodeinfo response</li>
+                <li><b>STATIC_CHECK</b>: Node information was found by probing for well-known URLs</li>
                 <li><b>GENERATOR</b>: Meta data <code>generator</code> was found in HTML code</li>
+                <li><b>PLATFORM</b>: Meta data <code>og:platform</code> was found in HTML code</li>
                 <li><b>SITE_NAME</b>: Meta data <code>og:site_name</code> was found in HTML code</li>
-                <li><b>STATIC_CHECK</b>: All above did not reveal software type, so a check on pre-defined JSON elements was done</li>
                 <li><b>None</b>: the instance was not reachable or the used software was not stated</li>
             </ol>
         </div>
     {% elif mode == 'obfuscation' %}
         <div class="notice">
-            <h2>Obfuscation status:</h2>
+            <h3>Obfuscation status:</h3>
             <ul>
                 <li>Only supported networks are counted here.</li>
                 <li><b>None</b> means not determined yet or erroneous.</li>