aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/changetag.html
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.org>2014-12-02 21:00:52 +0100
committerVirtualTam <virtualtam@flibidi.org>2014-12-03 19:28:43 +0100
commitc133612f32849b76785635efe19d4afedcfd0248 (patch)
tree0ecbebedef56698fa991a60196e06435d4e2f3d7 /tpl/changetag.html
parentfdd8fb2be2c45bd810a2d8b55c1f2cbf7f655fe3 (diff)
downloadShaarli-c133612f32849b76785635efe19d4afedcfd0248.tar.gz
Shaarli-c133612f32849b76785635efe19d4afedcfd0248.tar.zst
Shaarli-c133612f32849b76785635efe19d4afedcfd0248.zip
CSS: remove hardcoded style from templates
Fixes shaarli/Shaarli#29 Style elements refactored as follows: - use existing ids and classes if possible, - else, define new ones and stick with the existing naming convention, - remove hardcoded style attributes from RainTPL templates. Exception: In tpl/tagcloud.html, the display size of each tag is computed at page generation. Signed-off-by: VirtualTam <virtualtam@flibidi.org>
Diffstat (limited to 'tpl/changetag.html')
-rw-r--r--tpl/changetag.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/tpl/changetag.html b/tpl/changetag.html
index b22bddea..79fea9a9 100644
--- a/tpl/changetag.html
+++ b/tpl/changetag.html
@@ -9,7 +9,8 @@
9 <form method="POST" action="" name="changetag" id="changetag"> 9 <form method="POST" action="" name="changetag" id="changetag">
10 <input type="hidden" name="token" value="{$token}"> 10 <input type="hidden" name="token" value="{$token}">
11 Tag: <input type="text" name="fromtag" id="fromtag"> 11 Tag: <input type="text" name="fromtag" id="fromtag">
12 <input type="text" name="totag" style="margin-left:40px;"><input type="submit" name="renametag" value="Rename tag" class="bigbutton"> 12 <input type="text" name="totag" id="totag">
13 <input type="submit" name="renametag" value="Rename tag" class="bigbutton">
13 &nbsp;&nbsp;or&nbsp; <input type="submit" name="deletetag" value="Delete tag" class="bigbutton" onClick="return confirmDeleteTag();"><br>(Case sensitive)</form> 14 &nbsp;&nbsp;or&nbsp; <input type="submit" name="deletetag" value="Delete tag" class="bigbutton" onClick="return confirmDeleteTag();"><br>(Case sensitive)</form>
14<script language="JavaScript">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> 15<script language="JavaScript">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>
15</div> 16</div>
@@ -23,4 +24,4 @@ $(document).ready(function()
23</script> 24</script>
24{/if} 25{/if}
25</body> 26</body>
26</html> \ No newline at end of file 27</html>