]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Mon, 26 Jun 2023 17:47:41 +0000 (19:47 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 26 Jun 2023 18:08:07 +0000 (20:08 +0200)
- no <br /><br /> when you can use <p> instead
- adding lang="en" as the language is currently static English
- fixed some HTML errors

templates/base.html
templates/views/index.html
templates/views/scoreboard.html

index 413cd4cdb58174bfa2557c5782ccbcec0dd04cdf..809dd3a7c8497ada3ab7decc2becf257e4989f2c 100644 (file)
@@ -1,8 +1,13 @@
 <!DOCTYPE html>
+<html lang="en">
 <head>
     <title>fedi-block-api - {% block title %}{% endblock %}</title>
+
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+
     <link rel="alternate" type="application/rss+xml" title="RSS Feed for latest blocked instances" href="{{base_url}}/rss" />
     {% block rss %}{% endblock %}
+
     <link rel="stylesheet" type="text/css" href="{{ url_for('static', path='css/' + theme + '.css') }}" media="all" />
 </head>
 
 
     <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 %}
                 {{slogan}}
             {% else %}
-                NO SLOGAN WAS FOUND!!!
+                <b>No slogan was found!</b>
             {% endif %}
         {% endblock %}
     </div>
index 2e3252735dde1991e022abb8e7736dadc706f0fd..71c0e80d5c190edc757799bb3a38a87160b68edf 100644 (file)
@@ -63,7 +63,6 @@
            </tr>
         </tbody>
         </table>
-        </div>
     </div>
     {{ super() }}
 {% endblock %}
index 662ab4ee9c3a08030cc20d2f82e352f948c44077..51a7f4fc0c235bffac729b073a245df223d2b53a 100644 (file)
 {% block footer %}
     {% if mode == 'error_code' %}
         <div class="notice">
-            <h3>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">
-            <h3>Detection modes:</h2>
+            <h3>Detection modes:</h3>
             <div>
                 Detection is done in following order:
             </div>
@@ -86,7 +86,7 @@
         </div>
     {% elif mode == 'obfuscation' %}
         <div class="notice">
-            <h3>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>