]> git.mxchange.org Git - fba.git/blobdiff - templates/base.html
Continued:
[fba.git] / templates / base.html
index 485eb445d867947fabfa4d4a2686332bcac6e66a..8701138c837dbae36c24cf1ca0c641f1feb7c434 100644 (file)
 <!DOCTYPE html>
+<html lang="en">
 <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: #ffffff;
-            color: #000022;
-            text-align: center;
-            font-family: sans;
-        }
+    <title>Fedi Block API - {% block title %}{% endblock %}</title>
 
-        #header {
-            margin-bottom: 20px;
-        }
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+    <meta property="og:platform" content="fba" />
 
-        h1 {
-            background-color: #eaeaea;
-            border-radius: 5px;
-            padding-left: 5px;
-            padding-right: 5px;
-            width: auto;
-        }
+    <base href="{{base_url}}" />
 
-        #content {
-            margin-bottom: 20px;
-        }
+    <link rel="alternate" type="application/rss+xml" title="RSS Feed for latest blocked instances" href="rss" />
+    {% block rss %}{% endblock %}
 
-        table {
-            width: 100%;
-            border: 2px solid #eaeaea;
-            border-spacing: 0px;
-            border-radius: 5px;
-        }
-
-        th {
-            padding-top: 4px;
-            padding-bottom: 4px;
-        }
-
-        table tr:nth-of-type(2n), thead {
-            background-color: #eaeaea;
-        }
-
-        table td {
-            padding: 4px;
-            text-align: left;
-        }
-
-        .block_level {
-            width: 100%;
-            margin: auto;
-            margin-top: 10px;
-        }
-        .block {
-            padding: 5px;
-            margin: 5px;
-        }
-
-        a {
-            color: #000000;
-        }
-        a.listlink {
-            text-decoration: none;
-        }
-        a:hover {
-            color: #f00000;
-        }
-
-        input {
-            padding: 5px;
-            border-radius: 5px;
-            font-size: 16px;
-        }
-        input[type="submit"] {
-            cursor: pointer;
-        }
-        input:hover {
-            border-color: #f00000;
-        }
-
-        span[title] {
-            text-decoration: underline dotted;
-        }
-
-        .scoreboard {
-            margin-left: auto;
-            margin-right: auto;
-            min-width: 50%;
-            width: 50em;
-        }
-        .notes {
-            margin-left: auto;
-            margin-right: auto;
-            margin-bottom: 20px;
-            width: 50em;
-            text-align: left;
-            border: 1px solid #eaeaea;
-            border-radius: 5px;
-        }
-        .notes > div {
-            margin: 0px;
-            padding: 5px;
-        }
-        .notes > h2 {
-            margin: 0px;
-            padding: 5px;
-            background-color: #eaeaea;
-            text-align: center;
-        }
-        li {
-            padding-bottom: 4px;
-        }
-        code {
-            padding: 3px;
-            background-color: #eaeaea;
-            border-radius: 5px;
-        }
-    </style>
+    <link rel="stylesheet" type="text/css" href="static/css/{{theme}}.css?v=0.0.2" media="all" />
 </head>
 
 <body>
     </div>
 
     <div id="content">
-        {% block content %}{% endblock %}
+        {% block content %}Page has no content!{% endblock %}
     </div>
 
     <div id="footer">
         {% block footer %}
-            source code:
+            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 %}
+            {% if slogan %}
                 {{slogan}}
             {% else %}
-                NO SLOGAN WAS FOUND!!!
+                <b>No slogan was found!</b>
             {% endif %}
         {% endblock %}
-    </p>
+    </div>
 </body>
 </html>