diff --git a/.gitignore b/.gitignore index 4a73e55..89bbf08 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,5 @@ flask_session/ /test/.pytest_cache/ /test/flask_session/ /Website/__pycache__/ -/Website/.pytest_cache/ \ No newline at end of file +/Website/.pytest_cache/ +/.idea \ No newline at end of file diff --git a/Website/templates/addtag.html b/Website/templates/addtag.html index 98b5c17..4d564ae 100644 --- a/Website/templates/addtag.html +++ b/Website/templates/addtag.html @@ -1,26 +1,25 @@ - - - - - \ No newline at end of file +{% extends "base.html" %} +{% block customscript %} + +{% endblock %} diff --git a/Website/templates/adduser.html b/Website/templates/adduser.html index a1a74e0..1d2c97a 100644 --- a/Website/templates/adduser.html +++ b/Website/templates/adduser.html @@ -1,8 +1,10 @@ - - -
user and tag list | Documentation
--
- - +{% extends "base.html" %} +{% block title %} +add user +{% endblock %} +{% block content %} + + +{% endblock %} diff --git a/Website/templates/base.html b/Website/templates/base.html index 0925b8d..07f8b40 100644 --- a/Website/templates/base.html +++ b/Website/templates/base.html @@ -1,17 +1,24 @@ - -@@ -46,6 +41,4 @@
638: Wrong Input
418: I'm a teapot
- - - +{% endblock %} diff --git a/Website/templates/error.html b/Website/templates/error.html index 00fb406..08b73df 100644 --- a/Website/templates/error.html +++ b/Website/templates/error.html @@ -1,8 +1,8 @@ - - -user and tag list | Documentation
-+{% extends "base.html" %} +{% block title %}Error{% endblock %} +{% block customscript %} +
user and tag list | Documentation
+Error: {{error_code}} -
- \ No newline at end of file + +{% endblock %} \ No newline at end of file diff --git a/Website/templates/index.html b/Website/templates/index.html index 75f4c32..68e5bbc 100644 --- a/Website/templates/index.html +++ b/Website/templates/index.html @@ -1,11 +1,12 @@ - - user and tag list +{% extends "base.html" %} +{% block customscript %} + +{% endblock %} +{% block content %} +user and tag listThe creator of this website accepts no liability for any linguistic or technical errors!
user and tag list | Documentation
- - -redirekting
- destination - +{% extends "base.html" %} +{% block title %} +{% endblock %} +{% block content %} +redirekting
+destination +{% endblock %} +{% block customscript %} + +{% endblock %} diff --git a/Website/templates/removetag.html b/Website/templates/removetag.html index f84d34d..42b87d7 100644 --- a/Website/templates/removetag.html +++ b/Website/templates/removetag.html @@ -1,7 +1,6 @@ - - - - - \ No newline at end of file +{% endblock %} diff --git a/Website/templates/removeuser.html b/Website/templates/removeuser.html index b6c9ea6..1e2031d 100644 --- a/Website/templates/removeuser.html +++ b/Website/templates/removeuser.html @@ -1,9 +1,10 @@ - --
- 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 4bafdf4..7bdb05a 100644 --- a/Website/templates/user.html +++ b/Website/templates/user.html @@ -1,39 +1,46 @@ - - - - -user and tag list | Documentation
-{{user[1]|safe}} : {{user[2]/100}}€
-
- - - - -Tags:
- {% for tag in tags %} --
- - {% endfor %} -user and tag list | Documentation
+{{user[1]|safe}} : {{user[2]/100}}€
+
+ + + + +Tags:
+{% for tag in tags %} ++
+ +{% endfor %} +