Website Summary Files Commits Branches @commit @diff @stats
path: root / views / archive / item.php
diff options
context:
space:
mode:
Commit49fa0bf2aa19ca3a0fc151c68308ae7fd819710f (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-02-01 11:10:09 +0200
Committer
 Syndamia <kamen@syndamia.com>
2025-02-01 11:10:09 +0200
Files4cb6d165a4a79da0f3105f45af5739aa9be1ecdf /views/archive/item.php
nowayforward_human-49fa0bf2aa19ca3a0fc151c68308ae7fd819710f.tar
nowayforward_human-49fa0bf2aa19ca3a0fc151c68308ae7fd819710f.tar.gz
nowayforward_human-49fa0bf2aa19ca3a0fc151c68308ae7fd819710f.zip
Parent1b4732acdf222b4766eaa19a037c5e13599cb342 (diff)
feat: Proper UI for item buttons
1 files changed, 4 insertions, 1 deletions
-rw-r--r--views/archive/item.php5
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>