aboutsummaryrefslogtreecommitdiff
path: root/w/view/templates/edittopbar.php
diff options
context:
space:
mode:
Diffstat (limited to 'w/view/templates/edittopbar.php')
-rw-r--r--w/view/templates/edittopbar.php26
1 files changed, 16 insertions, 10 deletions
diff --git a/w/view/templates/edittopbar.php b/w/view/templates/edittopbar.php
index 9973335..20c2d8b 100644
--- a/w/view/templates/edittopbar.php
+++ b/w/view/templates/edittopbar.php
@@ -1,23 +1,29 @@
-<div id="submit">
- <!-- <input type="submit" name="action" value="home" accesskey="w" onclick="document.getElementById('artedit').submit();" form="artedit"> -->
+<div id="topbar">
+ <form id="delete" action="./" method="get">
+ <input type="hidden" name="id" value="<?= $art->id() ?>">
+ </form>
+
+ <form action="?id=<?= $art->id() ?>&action=update" method="post" id="update">
+
+ <span>
<input type="submit" name="action" value="update" accesskey="x" form="update">
- <!-- <input type="submit" name="action" value="display" accesskey="c" onclick="document.getElementById('artedit').submit();" form="artedit"> -->
-
+ </span>
- <form id="delete" action="./" method="get">
- <input type="hidden" name="id" value="<?= $art->id() ?>">
- <input type="submit" name="action" value="delete" form="delete">
- </form>
+ <span>
+ <input type="submit" name="action" value="delete" form="delete">
+ </span>
+ <span>
<a href="?id=<?= $art->id() ?>" target="_blank">👁</a>
<a href="?id=<?= $art->id() ?>&aff=log" target="_blank">¶</a>
+ </span>
<span id="headid"><?= $art->id() ?></span>
-
- <form action="?id=<?= $art->id() ?>&action=update" method="post" id="update">
+<span>
<label for="fontsize">Font-size</label>
<input type="number" name="fontsize" value="<?= Config::fontsize() ?>" id="fontsize">
+</span>
</div> \ No newline at end of file