button audit

This commit is contained in:
Mouse Reeve 2020-11-06 15:20:11 -08:00
parent a1242cd83f
commit a8b1c1ce98
6 changed files with 8 additions and 9 deletions

View file

@ -59,4 +59,3 @@
</div>
{% endblock %}

View file

@ -17,7 +17,7 @@
</div>
<div class="field is-grouped">
<div class="control">
<button class="button is-primary" type="submit">Reset password</button>
<button class="button is-link" type="submit">Reset password</button>
</div>
</div>
</form>

View file

@ -49,7 +49,7 @@
{% csrf_token %}
<input type="hidden" name="remote_id" value="{{ result.key }}">
<div>{% include 'snippets/search_result_text.html' with result=result link=False %}</div>
<button type="submit" class="button is-small is-link is-light">Import book</button>
<button type="submit" class="button is-small is-link">Import book</button>
</form>
</li>
{% endfor %}

View file

@ -11,14 +11,14 @@ Follow request already sent.
{% csrf_token %}
<input type="hidden" name="user" value="{{ user.username }}">
{% if user.manually_approves_followers %}
<button class="button is-small is-link is-light" type="submit">Send follow request</button>
<button class="button is-small is-primary" type="submit">Send follow request</button>
{% else %}
<button class="button is-small is-link is-light" type="submit">Follow</button>
<button class="button is-small is-primary" type="submit">Follow</button>
{% endif %}
</form>
<form action="/unfollow/" method="POST" onsubmit="interact(event)" class="follow-{{ user.id }} {% if not request.user in user.followers.all %}hidden{%endif %}" data-id="follow-{{ user.id }}">
{% csrf_token %}
<input type="hidden" name="user" value="{{ user.username }}">
<button class="button is-small is-danger is-light" type="submit">Unfollow</button>
<button class="button is-small is-danger" type="submit">Unfollow</button>
</form>
{% endif %}

View file

@ -3,11 +3,11 @@
<form action="/accept_follow_request/" method="POST">
{% csrf_token %}
<input type="hidden" name="user" value="{{ user.username }}">
<button class="button is-small" type="submit">Accept</button>
<button class="button is-primary is-small" type="submit">Accept</button>
</form>
<form action="/delete_follow_request/" method="POST">
{% csrf_token %}
<input type="hidden" name="user" value="{{ user.username }}">
<button class="button is-small" type="submit" class="warning">Delete</button>
<button class="button is-danger is-small" type="submit" class="warning">Delete</button>
</form>
{% endif %}

View file

@ -71,7 +71,7 @@
{% csrf_token %}
<input type="hidden" name="book" value="{{ book.id }}">
<input type="hidden" name="shelf" value="{{ shelf.id }}">
<button class="button is-small" type="submit" style="">
<button class="button is-danger is-small" type="submit" style="">
<span class="icon icon-x">
<span class="is-sr-only">Remove from shelf</span>
</span>