Adding icons to sync buttons

This commit is contained in:
Tris Forster 2026-06-19 22:35:42 +10:00
parent 965573c03b
commit 0bf7841345
2 changed files with 6 additions and 3 deletions

View File

@ -5,8 +5,10 @@
{% if meta.folderid %}
<button class="button is-link" data-api="{% url 'work_sync' work=object.pk %}" data-success="Synced" onclick="background_api(this)">
Sync with Drive
</button>
{% icon "sync" %}
<span>Sync with Drive</span>
</button>
{% endif %}
<a href="{% url 'work_detail' collection=collection.pk pk=object.pk %}" class="button is-link is-light">

View File

@ -8,7 +8,8 @@
<button class="button is-link" data-api="{% url 'collection_sync' collection=collection.pk %}" data-success="Synced" onclick="background_api(this)">
Sync Collection
{% icon "sync" %}
<span>Sync Collection</span>
</button>
<a href="{% url 'work_add' collection.pk %}" class="button is-link">