diff --git a/web/quotes/templates/account/login.html b/web/quotes/templates/account/login.html index 8a66661d70..3de8a55eec 100644 --- a/web/quotes/templates/account/login.html +++ b/web/quotes/templates/account/login.html @@ -15,15 +15,15 @@

...or

- {% csrf_token %} - {% if redirect_field_value %} - - {% endif %} -
- {{ form.login }} - {{ form.password }} - -
+ {% csrf_token %} + {% if redirect_field_value %} + + {% endif %} +
+ {{ form.login }} + {{ form.password }} + +
{% endblock %} diff --git a/web/quotes/templates/alert.html b/web/quotes/templates/alert.html index e773d7efd2..6c6868e3bf 100644 --- a/web/quotes/templates/alert.html +++ b/web/quotes/templates/alert.html @@ -3,12 +3,12 @@ {% block content_extra_classes %}flex justify-center{% endblock %} {% block content %}
-

- {% block content_title %}{% endblock %} -

+

+ {% block content_title %}{% endblock %} +

- {% block content_wrap %} -

{% block content_text %}{% endblock %}

- {% endblock %} + {% block content_wrap %} +

{% block content_text %}{% endblock %}

+ {% endblock %}
{% endblock %} diff --git a/web/quotes/templates/base.html b/web/quotes/templates/base.html index edb11d200a..a6304a6715 100644 --- a/web/quotes/templates/base.html +++ b/web/quotes/templates/base.html @@ -1,45 +1,45 @@ {% load static %} - - - - - {% block fulltitle %}{% block title %}{% endblock title %} | BFOB Quotes{% endblock %} + + + + + {% block fulltitle %}{% block title %}{% endblock title %} | BFOB Quotes{% endblock %} - - - + + + - + -
-
-

- - BFOB Quotes - -

-
- {% if user.is_authenticated %} - + - all -
- {% csrf_token %} - - -
- {% else %} - login - {% endif %} -
-
-
+
+
+

+ + BFOB Quotes + +

+
+ {% if user.is_authenticated %} + + + all +
+ {% csrf_token %} + + +
+ {% else %} + login + {% endif %} +
+
+
-
- {% block content %}{% endblock %} -
+
+ {% block content %}{% endblock %} +
- + diff --git a/web/quotes/templates/quotedb/_quote.html b/web/quotes/templates/quotedb/_quote.html index e6553946dd..1758ff0f06 100644 --- a/web/quotes/templates/quotedb/_quote.html +++ b/web/quotes/templates/quotedb/_quote.html @@ -1,8 +1,8 @@
-

#{{ quote.id }}

-

{{ quote.quote }}

-

added by {{ quote.added_by.username }} on {{ quote.added_at }}

- {% if request.user == quote.added_by %} - del - {% endif %} +

#{{ quote.id }}

+

{{ quote.quote }}

+

added by {{ quote.added_by.username }} on {{ quote.added_at }}

+ {% if request.user == quote.added_by %} + del + {% endif %}
diff --git a/web/quotes/templates/quotedb/delete_quote.html b/web/quotes/templates/quotedb/delete_quote.html index 51046f4dcf..a0998470f3 100644 --- a/web/quotes/templates/quotedb/delete_quote.html +++ b/web/quotes/templates/quotedb/delete_quote.html @@ -8,7 +8,7 @@
{{ quote.quote }}
- {% csrf_token %} - + {% csrf_token %} +
{% endblock %} diff --git a/web/quotes/templates/quotedb/list.html b/web/quotes/templates/quotedb/list.html index 0e44c1723c..6b5d9fd239 100644 --- a/web/quotes/templates/quotedb/list.html +++ b/web/quotes/templates/quotedb/list.html @@ -6,19 +6,19 @@

quote list

- {% if page.has_previous %}prev{% endif %} - {% if page.has_next %}{% if page.has_previous %} | {% endif %}next{% endif %} + {% if page.has_previous %}prev{% endif %} + {% if page.has_next %}{% if page.has_previous %} | {% endif %}next{% endif %}
{% comment %}{% include "quotedb/_quote.html" %}{% endcomment %} {% for quote in page %}
- {% include "quotedb/_quote.html" %} + {% include "quotedb/_quote.html" %}
{% endfor %}
- {% if page.has_previous %}prev{% endif %} - {% if page.has_next %}{% if page.has_previous %} | {% endif %}next{% endif %} + {% if page.has_previous %}prev{% endif %} + {% if page.has_next %}{% if page.has_previous %} | {% endif %}next{% endif %}
{% endblock %} diff --git a/web/quotes/templates/quotedb/new.html b/web/quotes/templates/quotedb/new.html index 8bcc5bdc3f..5b1dcea753 100644 --- a/web/quotes/templates/quotedb/new.html +++ b/web/quotes/templates/quotedb/new.html @@ -6,10 +6,10 @@

gimme quote

- {% csrf_token %} -
- - -
+ {% csrf_token %} +
+ + +
{% endblock %}