Remove more boxes.

This commit is contained in:
Jason McBrayer 2018-05-23 14:20:15 -04:00
parent e9097a950d
commit 722a5c73fd
4 changed files with 77 additions and 87 deletions

View File

@ -9,9 +9,7 @@
<h1 class="title" >Boost that toot?</h1>
{% endif %}
<div class="box">
{% include "main/toot_partial.html" with toot=toot %}
</div>
<form method="POST" action="{% url "boost" toot.id %}">
{% csrf_token %}
<div class="level is-mobile">

View File

@ -5,9 +5,7 @@
{% block content %}
<h1 class="title">Delete that toot?</h1>
<div class="box">
{% include "main/toot_partial.html" with toot=toot %}
</div>
<form method="POST" action="{% url "delete" toot.id %}">
{% csrf_token %}
<div class="level is-mobile">

View File

@ -9,9 +9,7 @@
<h1 class="title" >Fav that toot?</h1>
{% endif %}
<div class="box">
{% include "main/toot_partial.html" with toot=toot %}
</div>
<form method="POST" action="{% url "fav" toot.id %}">
{% csrf_token %}
<div class="level is-mobile">

View File

@ -8,14 +8,10 @@
{% block content %}
<h1 class="title">Thread</h1>
{% for ancestor in context.ancestors %}
<div class="box">
{% include "main/toot_partial.html" with toot=ancestor %}
</div>
<hr class="is-hidden">
{% endfor %}
<div class="box active_context">
{% include "main/toot_partial.html" with toot=toot %}
</div>
{% include "main/toot_partial.html" with toot=toot active=True %}
<hr class="is-hidden">
<div class="box">
{% include "main/post_partial.html" %}