mirror of
https://codeberg.org/catask-org/catask.git
synced 2025-04-19 21:33:41 -05:00
19 lines
1.1 KiB
HTML
19 lines
1.1 KiB
HTML
<tr id="pack-{{pack.name}}" class="emoji-pack-row">
|
|
<td><img src="/{{ pack.preview_image }}" width="28" height="28" class="emoji"></td>
|
|
<td><a data-bs-toggle="collapse" href="#pack-collapse-{{pack.name}}" class="text-decoration-none" title="{{ _('Click to see all emojis in this pack') }}">{{ pack.name }} <i class="bi bi-chevron-down small ms-1"></i></a></td>
|
|
{% if json_pack %}
|
|
<td>{{ pack.website }}</td>
|
|
<td>{{ formatRelativeTime(pack.exportedAt) }}</td>
|
|
{% endif %}
|
|
<td><code>{{ pack.relative_path }}</code></td>
|
|
<td>
|
|
<div id="actions">
|
|
<button class="btn btn-sm btn-outline-danger" hx-target="#pack-{{pack.name}}" hx-delete="{{ url_for('api.deleteEmojiPack', pack_name=pack.name) }}"><i class="bi bi-trash me-1"></i> {{ _('Delete') }}</button>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="collapse" id="pack-collapse-{{pack.name}}" data-dontshowtoast hx-get="{{ url_for('api.getEmojiPacks', index=index) }}" hx-trigger="intersect" hx-target="#{{ pack.name }}-td">
|
|
<td class="border-0"></td>
|
|
<td class="border-0" id="{{ pack.name }}-td">
|
|
</td>
|
|
</tr>
|