summaryrefslogtreecommitdiffstats
path: root/authentication/templates
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <tom@vanderlee.io>2026-07-22 17:37:10 +0200
committerGravatar Tom van der Lee <tom@vanderlee.io>2026-07-22 17:37:10 +0200
commitf28781dd1dd718f45bf1cef82d1ce6eb4792b4ca (patch)
treeed5bd923bca11cc75e0568245ea3518a6713041b /authentication/templates
parent498c79f434856aa68e9a883247ea69a22256fce6 (diff)
downloadserver-f28781dd1dd718f45bf1cef82d1ce6eb4792b4ca.tar.gz
server-f28781dd1dd718f45bf1cef82d1ce6eb4792b4ca.tar.bz2
server-f28781dd1dd718f45bf1cef82d1ce6eb4792b4ca.zip
Added management interface
Diffstat (limited to 'authentication/templates')
-rw-r--r--authentication/templates/base.html65
-rw-r--r--authentication/templates/register.html24
2 files changed, 27 insertions, 62 deletions
diff --git a/authentication/templates/base.html b/authentication/templates/base.html
index 47d007e..9874313 100644
--- a/authentication/templates/base.html
+++ b/authentication/templates/base.html
@@ -1,63 +1,4 @@
1<!DOCTYPE html> 1{% extends 'global.html' %}
2<html lang="en"> 2{% block template %}
3<head>
4 <meta charset="UTF-8">
5 <title>TTUN</title>
6 <style>
7/* http://meyerweb.com/eric/tools/css/reset/
8 v2.0 | 20110126
9 License: none (public domain)
10*/
11
12html, body, div, span, applet, object, iframe,
13h1, h2, h3, h4, h5, h6, p, blockquote, pre,
14a, abbr, acronym, address, big, cite, code,
15del, dfn, em, img, ins, kbd, q, s, samp,
16small, strike, strong, sub, sup, tt, var,
17b, u, i, center,
18dl, dt, dd, ol, ul, li,
19fieldset, form, label, legend,
20table, caption, tbody, tfoot, thead, tr, th, td,
21article, aside, canvas, details, embed,
22figure, figcaption, footer, header, hgroup,
23menu, nav, output, ruby, section, summary,
24time, mark, audio, video {
25 margin: 0;
26 padding: 0;
27 border: 0;
28 font-size: 100%;
29 font: inherit;
30 vertical-align: baseline;
31}
32/* HTML5 display-role reset for older browsers */
33article, aside, details, figcaption, figure,
34footer, header, hgroup, menu, nav, section {
35 display: block;
36}
37body {
38 line-height: 1;
39}
40ol, ul {
41 list-style: none;
42}
43blockquote, q {
44 quotes: none;
45}
46blockquote:before, blockquote:after,
47q:before, q:after {
48 content: '';
49 content: none;
50}
51table {
52 border-collapse: collapse;
53 border-spacing: 0;
54}
55 </style>
56</head>
57<body>
58 <div>
59
60 </div>
61 {% block content %}{% endblock %} 3 {% block content %}{% endblock %}
62</body> 4{% endblock %}
63</html>
diff --git a/authentication/templates/register.html b/authentication/templates/register.html
new file mode 100644
index 0000000..576db78
--- /dev/null
+++ b/authentication/templates/register.html
@@ -0,0 +1,24 @@
1{% extends "./base.html" %}
2
3{% block content %}
4 <form method="post">
5
6 <input type="email" name="email" {% if form %}value="{{ form.email }}"{% endif %} placeholder="email" />
7 {% if errors and errors.email%}
8 {{ errors.email }}
9 {% endif %}
10
11
12 <input type="password" name="password" />
13 {% if errors and errors.password%}
14 {{ errors.password }}
15 {% endif %}
16
17 <input type="password" name="verify_password" />
18 {% if errors and errors.password%}
19 {{ errors.verify_password }}
20 {% endif %}
21
22 <button type="submit">Register</button>
23 </form>
24{% endblock %}