clean up ostatus templates
This commit is contained in:
parent
3d73ea92e8
commit
f5d9a204eb
|
@ -4,7 +4,6 @@
|
||||||
<div class="block">
|
<div class="block">
|
||||||
{% if not request.user.is_authenticated and not error == 'remote_subscribe' %}
|
{% if not request.user.is_authenticated and not error == 'remote_subscribe' %}
|
||||||
<div class="navbar-item">
|
<div class="navbar-item">
|
||||||
|
|
||||||
<div class="columns">
|
<div class="columns">
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<form name="login" method="post" action="{% url 'login' %}?next={{ request.path }}?acct={{ user.remote_id }}">
|
<form name="login" method="post" action="{% url 'login' %}?next={{ request.path }}?acct={{ user.remote_id }}">
|
||||||
|
@ -26,7 +25,6 @@
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{% elif error == 'ostatus_subscribe' %}
|
{% elif error == 'ostatus_subscribe' %}
|
||||||
<div class="notification is-warning has-text-centered">
|
<div class="notification is-warning has-text-centered">
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<section class="card-content content">
|
<section class="card-content content">
|
||||||
<form name="remote-follow" method="post" action="{% url 'remote-follow' %}">
|
<form name="remote-follow" method="post" action="{% url 'remote-follow' %}">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
@ -39,6 +39,5 @@
|
||||||
<button class="button mt-1 is-primary" type="submit">{% trans 'Follow!' %}</button>
|
<button class="button mt-1 is-primary" type="submit">{% trans 'Follow!' %}</button>
|
||||||
</form>
|
</form>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
</a>
|
</a>
|
||||||
<h2 class="navbar-item subtitle">{% block heading %}{% endblock %}</h2>
|
<h2 class="navbar-item subtitle">{% block heading %}{% endblock %}</h2>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue