diff options
author | Arthur <arthur@hoa.ro> | 2017-01-06 11:40:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-06 11:40:54 +0100 |
commit | 7418f7cb60524c3bfc2f240386b5e3e7eb9b3257 (patch) | |
tree | 4b0c89c133ad1679c5db3a4f0f6b94079f776395 /tpl/default/changetag.html | |
parent | 93b1fe54fb99efff30eec0d405cc7319fbbc1f95 (diff) | |
parent | 01c6e32a02034ab119d83364c4648ce55d75543b (diff) | |
download | Shaarli-7418f7cb60524c3bfc2f240386b5e3e7eb9b3257.tar.gz Shaarli-7418f7cb60524c3bfc2f240386b5e3e7eb9b3257.tar.zst Shaarli-7418f7cb60524c3bfc2f240386b5e3e7eb9b3257.zip |
Merge pull request #732 from ArthurHoaro/feature/theme-manager
Theme manager: improvements
Diffstat (limited to 'tpl/default/changetag.html')
-rw-r--r-- | tpl/default/changetag.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tpl/default/changetag.html b/tpl/default/changetag.html new file mode 100644 index 00000000..a0df3328 --- /dev/null +++ b/tpl/default/changetag.html | |||
@@ -0,0 +1,34 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | <head>{include="includes"} | ||
4 | <link type="text/css" rel="stylesheet" href="inc/awesomplete.css#" /> | ||
5 | <script src="inc/awesomplete.min.js#"></script> | ||
6 | </head> | ||
7 | <body onload="document.changetag.fromtag.focus();"> | ||
8 | <div id="pageheader"> | ||
9 | {include="page.header"} | ||
10 | <form method="POST" action="" name="changetag" id="changetag"> | ||
11 | <input type="hidden" name="token" value="{$token}"> | ||
12 | <div> | ||
13 | <label for="fromtag">Tag:</label> | ||
14 | </div> | ||
15 | <div> | ||
16 | <input type="text" name="fromtag" id="fromtag" list="tagsList" autocomplete="off" class="awesomplete" data-minChars="1" /> | ||
17 | <datalist id="tagsList"> | ||
18 | {loop="$tags"}<option>{$key}</option>{/loop} | ||
19 | </datalist> | ||
20 | </div> | ||
21 | |||
22 | <div> | ||
23 | <input type="text" name="totag" id="totag"> | ||
24 | <input type="submit" name="renametag" value="Rename tag" class="bigbutton"> | ||
25 | or <input type="submit" name="deletetag" value="Delete tag" class="bigbutton" onClick="return confirmDeleteTag();"> | ||
26 | </div> | ||
27 | </form> | ||
28 | <div class="clear white">(Case sensitive)</div> | ||
29 | </div> | ||
30 | <script>function confirmDeleteTag() { var agree=confirm("Are you sure you want to delete this tag from all links ?"); if (agree) return true ; else return false ; }</script> | ||
31 | </div> | ||
32 | {include="page.footer"} | ||
33 | </body> | ||
34 | </html> | ||