diff --git a/.gitignore b/.gitignore index 89bbf08..4a73e55 100644 --- a/.gitignore +++ b/.gitignore @@ -10,5 +10,4 @@ flask_session/ /test/.pytest_cache/ /test/flask_session/ /Website/__pycache__/ -/Website/.pytest_cache/ -/.idea \ No newline at end of file +/Website/.pytest_cache/ \ No newline at end of file diff --git a/Website/templates/addtag.html b/Website/templates/addtag.html index 4d564ae..98b5c17 100644 --- a/Website/templates/addtag.html +++ b/Website/templates/addtag.html @@ -1,25 +1,26 @@ -{% extends "base.html" %} -{% block customscript %} - -{% endblock %} + + + + + \ No newline at end of file diff --git a/Website/templates/adduser.html b/Website/templates/adduser.html index 1d2c97a..a1a74e0 100644 --- a/Website/templates/adduser.html +++ b/Website/templates/adduser.html @@ -1,10 +1,8 @@ -{% extends "base.html" %} -{% block title %} -add user -{% endblock %} -{% block content %} -
- -
-

-{% endblock %} + + + add user +

user and tag list | Documentation

+

+

+

+ diff --git a/Website/templates/base.html b/Website/templates/base.html index 07f8b40..0925b8d 100644 --- a/Website/templates/base.html +++ b/Website/templates/base.html @@ -1,24 +1,17 @@ - - {% block title %}{% endblock %} - - - {% block customscript %}{% endblock %} - - - -
-
- {% block content %} {% endblock %} -
- + + + {% block title %} {% endblock %} - FlaskApp + + + + +
+
+ {% block content %} {% endblock %} +
+ \ No newline at end of file diff --git a/Website/templates/change.html b/Website/templates/change.html index e2d4a92..c2d9635 100644 --- a/Website/templates/change.html +++ b/Website/templates/change.html @@ -1,5 +1,6 @@ -{% extends "base.html" %} -{% block customscript %} + + + -{% endblock %} \ No newline at end of file + \ No newline at end of file diff --git a/Website/templates/confirmation.html b/Website/templates/confirmation.html index 0c676e2..b6b96e4 100644 --- a/Website/templates/confirmation.html +++ b/Website/templates/confirmation.html @@ -1,16 +1,17 @@ -{% extends "base.html" %} -{% block customscript %} - -{% endblock %} + + + + diff --git a/Website/templates/documentation.html b/Website/templates/documentation.html index 16c3c95..d290e17 100644 --- a/Website/templates/documentation.html +++ b/Website/templates/documentation.html @@ -1,11 +1,16 @@ -{% extends "base.html" %} -{% block title %} -Documentation -{% endblock %} -{% block customscript %} - -{% endblock %} -{% block content %} + + + + Documentation + + + + + +
+

index page | user and tag list

+

https://hannover.ccc.de/gitlab/anton/matekasse

+

Documentation

 

@@ -41,4 +46,6 @@ Documentation

638: Wrong Input

418: I'm a teapot

-{% endblock %} + + + diff --git a/Website/templates/error.html b/Website/templates/error.html index 08b73df..00fb406 100644 --- a/Website/templates/error.html +++ b/Website/templates/error.html @@ -1,8 +1,8 @@ -{% extends "base.html" %} -{% block title %}Error{% endblock %} -{% block customscript %} -

user and tag list | Documentation

-

+ + + Error +

user and tag list | Documentation

+

Error: {{error_code}} -

-{% endblock %} \ No newline at end of file +

+ \ No newline at end of file diff --git a/Website/templates/index.html b/Website/templates/index.html index 68e5bbc..75f4c32 100644 --- a/Website/templates/index.html +++ b/Website/templates/index.html @@ -1,12 +1,11 @@ -{% extends "base.html" %} -{% block customscript %} - -{% endblock %} -{% block content %} -user and tag list + + user and tag list

The creator of this website accepts no liability for any linguistic or technical errors!



Doumentation -{% endblock %} + + + diff --git a/Website/templates/list.html b/Website/templates/list.html index 6196ea5..e03038e 100644 --- a/Website/templates/list.html +++ b/Website/templates/list.html @@ -1,35 +1,29 @@ -{% extends "base.html" %} -{% block title %} -Strichliste -{% endblock %} -{% block customscript %} - -{% endblock %} -{% block content %} -
- -
-
- -
-

-{% for i in users %} -
-

- {{i[1]|safe}}: {{i[2]/100}}€ -

- - -
-
- - -
-

-{% endfor %} -{% endblock %} + + + + + Strichliste +

user and tag list | Documentation

+
+
+

+ {% for i in users %} +
+

+ {{i[1]|safe}}: {{i[2]/100}}€ +

+ + +
+
+ + +
+

+ {% endfor %} + diff --git a/Website/templates/redirect.html b/Website/templates/redirect.html index 089634e..9848c78 100644 --- a/Website/templates/redirect.html +++ b/Website/templates/redirect.html @@ -1,12 +1,8 @@ -{% extends "base.html" %} -{% block title %} -{% endblock %} -{% block content %} -

redirekting

-destination -{% endblock %} -{% block customscript %} - -{% endblock %} + + + +

redirekting

+ destination + diff --git a/Website/templates/removetag.html b/Website/templates/removetag.html index 42b87d7..f84d34d 100644 --- a/Website/templates/removetag.html +++ b/Website/templates/removetag.html @@ -1,6 +1,7 @@ -{% extends "base.html" %} -{% block customscript %} - + -{% endblock %} + \ No newline at end of file diff --git a/Website/templates/removeuser.html b/Website/templates/removeuser.html index 1e2031d..b6c9ea6 100644 --- a/Website/templates/removeuser.html +++ b/Website/templates/removeuser.html @@ -1,10 +1,9 @@ -{% extends "base.html" %} -{% block title %} - remove user -{% endblock %} -{% block content %} + + remove user

+

+ user and tag list | Documentation +

Deleted user {{user_name|safe}}

return to the tags and user list

-{% endblock %} diff --git a/Website/templates/user.html b/Website/templates/user.html index eca6f5f..4bafdf4 100644 --- a/Website/templates/user.html +++ b/Website/templates/user.html @@ -1,45 +1,39 @@ -{% extends "base.html" %} -{% block customscript %} - -{% endblock %} -{% block title %} - {{user[1]|safe}} -{% endblock %} -{% block content %} -

{{user[1]|safe}} : {{user[2]/100}}€

-

- - -
-
- - -
-

-
- - -
-

-

-

Tags:

-{% for tag in tags %} -

-

- - - - -
-

-{% endfor %} -

-
- -
-{% endblock %} + + + + + {{user[1]|safe}} +

user and tag list | Documentation

+

{{user[1]|safe}} : {{user[2]/100}}€

+

+ + +
+
+ + +
+

+
+ + +
+

+

+

Tags:

+ {% for tag in tags %} +

+

+ + + + +
+

+ {% endfor %} +

+
+