padding-bottom: 4px;
}
- table tr:nth-of-type(2n), thead {
+ table.with-rows > tbody > tr:nth-of-type(2n),
+ table.with-rows > thead {
background-color: #eaeaea;
}
background-color: #eaeaea;
border-radius: 5px;
}
+ ul.nav > li {
+ margin: 2px;
+ display: inline;
+ }
</style>
</head>
</div>
<div id="content">
- {% block content %}{% endblock %}
+ {% block content %}Page has no content!{% endblock %}
</div>
<div id="footer">
</form>
<h2>Scoreboards:</h2>
- <p>
- <a href="{{base_url}}/scoreboard?mode=blocker&amount=50">top 50 defederating</a> /
- <a href="{{base_url}}/scoreboard?mode=blocked&amount=50">defederated instances</a> /
- <a href="{{base_url}}/scoreboard?mode=reference&amount=50">referencing instances</a> /
- <a href="{{base_url}}/scoreboard?mode=software&amount=50">used software</a> /
- <a href="{{base_url}}/scoreboard?mode=command&amount=10">commands</a> /
- <a href="{{base_url}}/scoreboard?mode=error_code&amount=30">error codes</a> /
- <a href="{{base_url}}/scoreboard?mode=detection_mode&amount=10">detection modes</a> /
- <a href="{{base_url}}/scoreboard?mode=avg_peers&amount=30">average peers</a> /
- <a href="{{base_url}}/scoreboard?mode=obfuscator&amount=30">obfuscating software</a> /
- <a href="{{base_url}}/scoreboard?mode=obfuscation&amount=10">obfuscation statistics</a> /
- <a href="{{base_url}}/scoreboard?mode=block_level&amount=20">block level statistics</a>
- </p>
+ <ul class="nav">
+ <li><a href="{{base_url}}/scoreboard?mode=blocker&amount=50">Defederating instances</a></li>
+ <li><a href="{{base_url}}/scoreboard?mode=blocked&amount=50">Defederated instances</a></li>
+ <li><a href="{{base_url}}/scoreboard?mode=reference&amount=50">Referencing instances</a></li>
+ <li><a href="{{base_url}}/scoreboard?mode=software&amount=50">Used software</a></li>
+ <li><a href="{{base_url}}/scoreboard?mode=command&amount=10">Commands</a></li>
+ <li><a href="{{base_url}}/scoreboard?mode=error_code&amount=30">Error codes</a></li>
+ <li><a href="{{base_url}}/scoreboard?mode=detection_mode&amount=10">Detection modes</a></li>
+ <li><a href="{{base_url}}/scoreboard?mode=avg_peers&amount=30">Average peers</a></li>
+ <li><a href="{{base_url}}/scoreboard?mode=obfuscator&amount=30">Obfuscating software</a></li>
+ <li><a href="{{base_url}}/scoreboard?mode=obfuscation&amount=10">Obfuscation statistics</a></li>
+ <li><a href="{{base_url}}/scoreboard?mode=block_level&amount=20">Block level statistics</a></li>
+ </ul>
{% endblock %}
{% block footer %}
- <h2>Infos:</h2>
- <p>
- known instances: {{info.known_instances}}<br/>
- supported instances: {{info.supported_instances}}<br/>
- blocks recorded: {{info.blocks_recorded}}<br/>
- erroneous instances: {{info.erroneous_instances}}<br/>
- </p>
+ <div class="notice">
+ <h3>Infos:</h3>
+ <table>
+ <thead>
+ <tr>
+ <th>Known instances:</th>
+ <th>Supported instances:</th>
+ <th>Blocks recorded:</th>
+ <th>Erroneous instances:</th>
+ </tr>
+ </thead>
+
+ <tbody>
+ <tr>
+ <td>{{info.known_instances}}</td>
+ <td>{{info.supported_instances}}</td>
+ <td>{{info.blocks_recorded}}</td>
+ <td>{{info.erroneous_instances}}</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
{{ super() }}
{% endblock %}