diff options
| author | Mica White <botahamec@outlook.com> | 2025-12-08 20:08:21 -0500 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2025-12-08 20:08:21 -0500 |
| commit | 608ce1d9910cd68ce825838ea313e02c598f908e (patch) | |
| tree | 0bd4ad26f86e5c873f97308983112b0ffe593df3 /static/templates | |
| parent | 93fd2e82e8fdc5ee62739053385f8ccffc660f02 (diff) | |
Diffstat (limited to 'static/templates')
| -rw-r--r-- | static/templates/base.html | 32 | ||||
| -rw-r--r-- | static/templates/error.html | 14 | ||||
| -rw-r--r-- | static/templates/login.html | 26 |
3 files changed, 36 insertions, 36 deletions
diff --git a/static/templates/base.html b/static/templates/base.html index 021f95e..2096f78 100644 --- a/static/templates/base.html +++ b/static/templates/base.html @@ -1,16 +1,16 @@ -<!DOCTYPE html> -<html lang="{{lang}}"> - <head> - <title>{% block title %}{% endblock title %}</title> - <meta charset="utf-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1" /> - <link rel="stylesheet" href="/style.css" /> - {% block head %}{% endblock head %} - </head> - <body> - {% block content %}{% endblock content %} - <footer> - <div id="copyright">© 2023</div> - </footer> - </body> -</html> +<!DOCTYPE html>
+<html lang="{{lang}}">
+ <head>
+ <title>{% block title %}{% endblock title %}</title>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <link rel="stylesheet" href="/style.css" />
+ {% block head %}{% endblock head %}
+ </head>
+ <body>
+ {% block content %}{% endblock content %}
+ <footer>
+ <div id="copyright">© 2023</div>
+ </footer>
+ </body>
+</html>
diff --git a/static/templates/error.html b/static/templates/error.html index 4fbe87f..c3a0dec 100644 --- a/static/templates/error.html +++ b/static/templates/error.html @@ -1,7 +1,7 @@ -{% extends "base.html" %} -{% block title %}{{ msg(key="errorTitle") }}{% endblock title %} - -{% block content %} -<p>{{ msg(key=errorHeader) }}</p> -<p>{{ msg(key=errorMessage) }}</p> -{% endblock content %} +{% extends "base.html" %}
+{% block title %}{{ msg(key="errorTitle") }}{% endblock title %}
+
+{% block content %}
+<p>{{ msg(key=errorHeader) }}</p>
+<p>{{ msg(key=errorMessage) }}</p>
+{% endblock content %}
diff --git a/static/templates/login.html b/static/templates/login.html index 325dc14..18ec017 100644 --- a/static/templates/login.html +++ b/static/templates/login.html @@ -1,14 +1,14 @@ -{% extends "base.html" %} -{% block title %}{{ msg(key="loginTitle") }}{% endblock title %} -{% block content %} -<form method="post" action="/authorize?{{params}}"> - {% if errorMessage %} - <p>{{ msg(key=errorMessage) }}</p> - {% endif %} - <label for="username">{{ msg(key="usernameLabel") }}</label> - <input id="username" type="text" name="username" tabindex="0" placeholder="{{ msg(key="usernamePlaceholder") }}" autofocus /> - <label for="password">{{ msg(key="passwordLabel") }}</label> - <input id="password" type="password" name="password" tabindex="0" placeholder="{{ msg(key="passwordPlaceholder") }}" /> - <input type="submit" tabindex="0" name="login" value="{{ msg(key="loginSubmitButton") }}" /> -</form> +{% extends "base.html" %}
+{% block title %}{{ msg(key="loginTitle") }}{% endblock title %}
+{% block content %}
+<form method="post" action="/authorize?{{params}}">
+ {% if errorMessage %}
+ <p>{{ msg(key=errorMessage) }}</p>
+ {% endif %}
+ <label for="username">{{ msg(key="usernameLabel") }}</label>
+ <input id="username" type="text" name="username" tabindex="0" placeholder="{{ msg(key="usernamePlaceholder") }}" autofocus />
+ <label for="password">{{ msg(key="passwordLabel") }}</label>
+ <input id="password" type="password" name="password" tabindex="0" placeholder="{{ msg(key="passwordPlaceholder") }}" />
+ <input type="submit" tabindex="0" name="login" value="{{ msg(key="loginSubmitButton") }}" />
+</form>
{% endblock content %}
\ No newline at end of file |
