Use icons instead of Unicode symbols for buttons

Fixes #26.
This commit is contained in:
Jonas Schäfer
2021-01-18 17:25:38 +01:00
parent 16f990f475
commit c1dbec51ab
17 changed files with 333 additions and 49 deletions

View File

@@ -1,5 +1,5 @@
{% extends "admin_app.html" %}
{% from "library.j2" import showuri %}
{% from "library.j2" import showuri, form_button, standard_button %}
{% block head_lead %}
{{ super() }}
{% include "copy-snippet.html" %}
@@ -18,11 +18,10 @@
<dd>{% call showuri(invite.landing_page) %}{% endcall %}</dd>
</dl>
<div class="f-bbox">
{#- -#}
{{ form.action_revoke(class="button secondary danger") }}
{#- -#}
<a href="{{ url_for(".invitations") }}" class="button primary">{% trans %}Back{% endtrans %}</a>
{#- -#}
{%- call form_button("remove_link", form.action_revoke, class="secondary danger") %}{% endcall -%}
{%- call standard_button("back", url_for(".invitations"), class="primary") %}
{% trans %}Back{% endtrans %}
{%- endcall %}
</div>
</div>
</form>