aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/changetag.html
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/default/changetag.html')
-rw-r--r--tpl/default/changetag.html56
1 files changed, 30 insertions, 26 deletions
diff --git a/tpl/default/changetag.html b/tpl/default/changetag.html
index a0df3328..8d263a16 100644
--- a/tpl/default/changetag.html
+++ b/tpl/default/changetag.html
@@ -1,33 +1,37 @@
1<!DOCTYPE html> 1<!DOCTYPE html>
2<html> 2<html>
3<head>{include="includes"} 3<head>
4 <link type="text/css" rel="stylesheet" href="inc/awesomplete.css#" /> 4 {include="includes"}
5 <script src="inc/awesomplete.min.js#"></script>
6</head> 5</head>
7<body onload="document.changetag.fromtag.focus();"> 6<body>
8<div id="pageheader"> 7{include="page.header"}
9 {include="page.header"} 8<div class="pure-g">
10 <form method="POST" action="" name="changetag" id="changetag"> 9 <div class="pure-u-lg-1-3 pure-u-1-24"></div>
11 <input type="hidden" name="token" value="{$token}"> 10 <div id="addlink-form" class="page-form page-form-light pure-u-lg-1-3 pure-u-22-24">
12 <div> 11 <h2 class="window-title">{"Manage tags"|t}</h2>
13 <label for="fromtag">Tag:</label> 12 <form method="POST" action="#" name="changetag" id="changetag">
14 </div> 13 <div>
15 <div> 14 <input type="text" name="fromtag" placeholder="{'Tag'|t}"
16 <input type="text" name="fromtag" id="fromtag" list="tagsList" autocomplete="off" class="awesomplete" data-minChars="1" /> 15 list="tagsList" autocomplete="off" class="awesomplete autofocus" data-minChars="1">
17 <datalist id="tagsList"> 16 <datalist id="tagsList">
18 {loop="$tags"}<option>{$key}</option>{/loop} 17 {loop="$tags"}<option>{$key}</option>{/loop}
19 </datalist> 18 </datalist>
20 </div> 19 </div>
21 20 <div>
22 <div> 21 <input type="text" name="totag" placeholder="{'New name'|t}"
23 <input type="text" name="totag" id="totag"> 22 list="toTagsList" autocomplete="off" class="awesomplete" data-minChars="1">
24 <input type="submit" name="renametag" value="Rename tag" class="bigbutton"> 23 <datalist id="toTagsList">
25 &nbsp;&nbsp;or&nbsp; <input type="submit" name="deletetag" value="Delete tag" class="bigbutton" onClick="return confirmDeleteTag();"> 24 {loop="$tags"}<option>{$key}</option>{/loop}
26 </div> 25 </datalist>
26 </div>
27 <div><i class="fa fa-info-circle"></i> {'Case sensitive'|t}</div>
28 <input type="hidden" name="token" value="{$token}">
29 <div>
30 <input type="submit" value="{'Rename'|t}" name="renametag">
31 <input type="submit" value="{'Delete'|t}" name="deletetag" class="button button-red confirm-delete">
32 </div>
27 </form> 33 </form>
28 <div class="clear white">(Case sensitive)</div> 34 </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> 35</div>
32{include="page.footer"} 36{include="page.footer"}
33</body> 37</body>