Adding icons to sync buttons
This commit is contained in:
parent
965573c03b
commit
0bf7841345
@ -5,8 +5,10 @@
|
|||||||
|
|
||||||
{% if meta.folderid %}
|
{% if meta.folderid %}
|
||||||
<button class="button is-link" data-api="{% url 'work_sync' work=object.pk %}" data-success="Synced" onclick="background_api(this)">
|
<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 %}
|
{% endif %}
|
||||||
|
|
||||||
<a href="{% url 'work_detail' collection=collection.pk pk=object.pk %}" class="button is-link is-light">
|
<a href="{% url 'work_detail' collection=collection.pk pk=object.pk %}" class="button is-link is-light">
|
||||||
|
|||||||
@ -8,7 +8,8 @@
|
|||||||
|
|
||||||
|
|
||||||
<button class="button is-link" data-api="{% url 'collection_sync' collection=collection.pk %}" data-success="Synced" onclick="background_api(this)">
|
<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>
|
</button>
|
||||||
|
|
||||||
<a href="{% url 'work_add' collection.pk %}" class="button is-link">
|
<a href="{% url 'work_add' collection.pk %}" class="button is-link">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user