From 722a5c73fd5ddeee4597b448476eff39481f6dda Mon Sep 17 00:00:00 2001 From: Jason McBrayer Date: Wed, 23 May 2018 14:20:15 -0400 Subject: [PATCH] Remove more boxes. --- brutaldon/templates/main/boost.html | 52 +++++++++++++--------------- brutaldon/templates/main/delete.html | 34 +++++++++--------- brutaldon/templates/main/fav.html | 52 +++++++++++++--------------- brutaldon/templates/main/reply.html | 26 ++++++-------- 4 files changed, 77 insertions(+), 87 deletions(-) diff --git a/brutaldon/templates/main/boost.html b/brutaldon/templates/main/boost.html index edf856e..7bfc3e4 100644 --- a/brutaldon/templates/main/boost.html +++ b/brutaldon/templates/main/boost.html @@ -3,34 +3,32 @@ {% block title %} Brutaldon - confirm boost {% endblock %} {% block content %} - {% if toot.reblogged %} -

Unboost that toot?

- {% else %} -

Boost that toot?

- {% endif %} +{% if toot.reblogged %} +

Unboost that toot?

+{% else %} +

Boost that toot?

+{% endif %} -
- {% include "main/toot_partial.html" with toot=toot %} -
-
- {% csrf_token %} -
-
-
- -
-
-
-
- {% if toot.reblogged %} - - {% else %} - - {% endif %} -
+{% include "main/toot_partial.html" with toot=toot %} + + {% csrf_token %} +
+
+
+
- +
+
+ {% if toot.reblogged %} + + {% else %} + + {% endif %} +
+
+
+ {% endblock %} diff --git a/brutaldon/templates/main/delete.html b/brutaldon/templates/main/delete.html index 17390b8..4a5dee7 100644 --- a/brutaldon/templates/main/delete.html +++ b/brutaldon/templates/main/delete.html @@ -3,25 +3,23 @@ {% block title %} Brutaldon - confirm delete {% endblock %} {% block content %} -

Delete that toot?

+

Delete that toot?

-
- {% include "main/toot_partial.html" with toot=toot %} -
-
- {% csrf_token %} -
-
-
- -
-
-
-
- -
+{% include "main/toot_partial.html" with toot=toot %} + + {% csrf_token %} +
+
+
+
- +
+
+ +
+
+
+ {% endblock %} diff --git a/brutaldon/templates/main/fav.html b/brutaldon/templates/main/fav.html index 23aca17..c4ccf3a 100644 --- a/brutaldon/templates/main/fav.html +++ b/brutaldon/templates/main/fav.html @@ -3,34 +3,32 @@ {% block title %} Brutaldon - confirm favorite {% endblock %} {% block content %} - {% if toot.favourited %} -

Unfav that toot?

- {% else %} -

Fav that toot?

- {% endif %} +{% if toot.favourited %} +

Unfav that toot?

+{% else %} +

Fav that toot?

+{% endif %} -
- {% include "main/toot_partial.html" with toot=toot %} -
-
- {% csrf_token %} -
-
-
- -
-
-
-
- {% if toot.favorited %} - - {% else %} - - {% endif %} -
+{% include "main/toot_partial.html" with toot=toot %} + + {% csrf_token %} +
+
+
+
- +
+
+ {% if toot.favorited %} + + {% else %} + + {% endif %} +
+
+
+ {% endblock %} diff --git a/brutaldon/templates/main/reply.html b/brutaldon/templates/main/reply.html index dec781d..63d98da 100644 --- a/brutaldon/templates/main/reply.html +++ b/brutaldon/templates/main/reply.html @@ -2,23 +2,19 @@ {% load humanize %} {% block title %} - Brutaldon - reply +Brutaldon - reply {% endblock %} {% block content %} -

Thread

- {% for ancestor in context.ancestors %} -
- {% include "main/toot_partial.html" with toot=ancestor %} -
- - {% endfor %} -
- {% include "main/toot_partial.html" with toot=toot %} -
- -
- {% include "main/post_partial.html" %} -
+

Thread

+{% for ancestor in context.ancestors %} +{% include "main/toot_partial.html" with toot=ancestor %} + +{% endfor %} +{% include "main/toot_partial.html" with toot=toot active=True %} + +
+ {% include "main/post_partial.html" %} +
{% endblock %}