aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/edittopbar.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-11-11 17:19:26 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-11-11 17:19:26 +0100
commitd7f3313ff4514e38c9f53439cd1a1287e56e45f7 (patch)
treeabff39ab11cb317f5fcd2db558da1c59bdae9239 /app/view/templates/edittopbar.php
parent2f363e8fa26ab849539e64ff7caa21bd164e8979 (diff)
downloadwcms-d7f3313ff4514e38c9f53439cd1a1287e56e45f7.tar.gz
wcms-d7f3313ff4514e38c9f53439cd1a1287e56e45f7.zip
reboot folder
Diffstat (limited to 'app/view/templates/edittopbar.php')
-rw-r--r--app/view/templates/edittopbar.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/app/view/templates/edittopbar.php b/app/view/templates/edittopbar.php
new file mode 100644
index 0000000..20c2d8b
--- /dev/null
+++ b/app/view/templates/edittopbar.php
@@ -0,0 +1,29 @@
+<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">
+ </span>
+
+
+ <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>
+
+<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