]> git.mxchange.org Git - fba.git/blobdiff - templates/base.html
Continued:
[fba.git] / templates / base.html
index 6933f3e744d5c825193fba5405998f7c52ce74a7..413cd4cdb58174bfa2557c5782ccbcec0dd04cdf 100644 (file)
 <!DOCTYPE html>
 <head>
     <title>fedi-block-api - {% block title %}{% endblock %}</title>
-    {% block rss %}
     <link rel="alternate" type="application/rss+xml" title="RSS Feed for latest blocked instances" href="{{base_url}}/rss" />
-    {% endblock %}
-    <style>
-        body {
-            background-color: #000022;
-            color: #ffffff;
-            text-align: center;
-            font-family: sans;
-        }
-        .block_level {
-            background-color: #1c1c3c;
-            width: 100%;
-            margin: auto;
-            margin-top: 10px;
-        }
-        table {
-            width: 100%;
-            background-color: #2d2d4d;
-            border-spacing: 0px;
-        }
-        table tr:nth-of-type(2n) {
-            background-color: #1c1c3c;
-        }
-        table td {
-            padding: 4px;
-        }
-        .block_level table td:nth-of-type(1), .block_level table td:nth-of-type(2),
-        .block_level table td:nth-of-type(4), .block_level table td:nth-of-type(5) {
-            white-space: nowrap;
-        }
-        .block {
-            background-color: #2d2d4d;
-            padding: 5px;
-            margin: 5px;
-        }
-        a {
-            color: #ffffff;
-        }
-        a.listlink {
-            text-decoration: none;
-            font-size: 0.8em;
-        }
-        input[type="text"], input[type="submit"] {
-            padding: 5px;
-            border-radius: 5px;
-            color: white;
-            background: #445;
-            font-size: 16px;
-        }
-
-        input[type="text"]:hover {
-            border-color: #f08;
-        }
-
-        input[type="submit"] {
-            cursor: pointer;
-        }
-
-        input[type="submit"]:hover {
-            border-color: #f08;
-        }
-
-        span[title] {
-            text-decoration: underline dotted;
-        }
-
-        #content {
-            margin-bottom: 20px;
-        }
-
-        #header {
-            margin-bottom: 20px;
-        }
-
-        .scoreboard {
-            margin-left: auto;
-            margin-right: auto;
-            min-width: 50%;
-            width: 50em;
-        }
-    </style>
+    {% block rss %}{% endblock %}
+    <link rel="stylesheet" type="text/css" href="{{ url_for('static', path='css/' + theme + '.css') }}" media="all" />
 </head>
+
 <body>
     <div id="header">
         {% block header %}<h1>Page has no header</h1>{% endblock %}
     </div>
 
     <div id="content">
-        {% block content %}{% endblock %}
+        {% block content %}Page has no content!{% endblock %}
     </div>
 
     <div id="footer">
         {% block footer %}
-            source code: <a href="https://git.mxchange.org/?p=fba.git;a=summary" rel="source" target="_blank">git.mxchange.org</a><br /><br />
+            source code:
+            <a href="https://git.mxchange.org/?p=fba.git;a=summary" rel="source" target="_blank">git.mxchange.org</a><br /><br />
             {% if info %}
                 {{info.slogan}}
             {% elif slogan %}
                 NO SLOGAN WAS FOUND!!!
             {% endif %}
         {% endblock %}
-    </p>
+    </div>
 </body>
 </html>