]> git.mxchange.org Git - fba.git/blobdiff - templates/scoreboard.html
Continued:
[fba.git] / templates / scoreboard.html
index 008051802b1661a27263865f61e6bd57c0b524c6..19e3f772e730215ee87000c554f5e0ebfbf9a57b 100644 (file)
@@ -1,6 +1,6 @@
 <!DOCTYPE html>
 <head>
-    <title>fedi-block-api</title>
+    <title>fedi-block-api - 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 %}</title>
     <link rel="alternate" type="application/rss+xml" title="RSS Feed for latest blocked instances" href="{{base_url}}/rss" />
     <style>
         body {
@@ -9,9 +9,6 @@
             text-align: center;
             font-family: sans;
         }
-        pre {
-            margin: 0px;
-        }
         .block_level {
             background-color: #1c1c3c;
             width: 80em;
@@ -90,6 +87,8 @@
         <h1>Top {{reference}} referencing instances</h1>
     {% elif software %}
         <h1>Top {{software}} used software</h1>
+    {% elif originator %}
+        <h1>TOP {{originator}} scripts</h1>
     {% endif %}
     <div class="scoreboard">
         <table>
                         {% if software %}
                             {{entry['domain']}}
                         {% elif originator %}
-                            <pre>{{entry['domain']}}</pre>
+                            {{entry['domain']}}
                         {% elif entry['domain'] == None %}
                             -
                         {% else %}