diff options
feat: Proper UI for item buttons
1 files changed, 4 insertions, 1 deletions
| -rw-r--r-- | views/archive/item.php | 5 |
diff --git a/views/archive/item.php b/views/archive/item.php index 4d3db12..f1d1f33 100644 --- a/views/archive/item.php +++ b/views/archive/item.php @@ -13,7 +13,10 @@ <section name="itemButton" hidden> <form action="/list/update" method="GET"> <input type="hidden" name="wid" value="<?= $page->WID ?>"> - <input type="submit" value="+"> + <button> + <!-- Tabler icons https://tabler.io/icons --> + <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="list-icon"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 17l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v5" /><path d="M16 19h6" /><path d="M19 16v6" /></svg> + </button> </form> <span><!-- Delete (when admin) button --></span> </section> |
