aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/linklist.html
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/linklist.html')
-rw-r--r--tpl/linklist.html20
1 files changed, 9 insertions, 11 deletions
diff --git a/tpl/linklist.html b/tpl/linklist.html
index dc5b5398..1067d6fc 100644
--- a/tpl/linklist.html
+++ b/tpl/linklist.html
@@ -5,8 +5,8 @@
5<div id="pageheader"> 5<div id="pageheader">
6 {include="page.header"} 6 {include="page.header"}
7 <div id="headerform" style="width:100%; white-space:nowrap;"> 7 <div id="headerform" style="width:100%; white-space:nowrap;">
8 <form method="GET" class="searchform" name="searchform" style="display:inline;"><input type="text" name="searchterm" style="width:30%" value=""> <input type="submit" value="Search" class="bigbutton"></form> 8 <form method="GET" class="searchform" name="searchform" style="display:inline;"><input type="text" id="searchform_value" name="searchterm" style="width:30%" value=""> <input type="submit" value="Search" class="bigbutton"></form>
9 <form method="GET" class="tagfilter" name="tagfilter" style="display:inline;margin-left:24px;"><input type="text" name="searchtags" id="searchtags" style="width:10%" value=""> <input type="submit" value="Filter by tag" class="bigbutton"></form> 9 <form method="GET" class="tagfilter" name="tagfilter" style="display:inline;margin-left:24px;"><input type="text" name="searchtags" id="tagfilter_value" style="width:10%" value=""> <input type="submit" value="Filter by tag" class="bigbutton"></form>
10 </div> 10 </div>
11</div> 11</div>
12 12
@@ -60,16 +60,14 @@
60 60
61 {include="page.footer"} 61 {include="page.footer"}
62<script> 62<script>
63$('a.qrcode').click(function(){ 63$(document).ready(function() {
64 hide_qrcode(); 64 $('a.qrcode').click(function(){
65 var link = $(this).attr('href'); 65 hide_qrcode();
66 $(this).after('<div class="qrcode" onclick="hide_qrcode();return false;"><img src="'+link+'#" width="200" height="200"><br>click to close</div>'); 66 var link = $(this).attr('href');
67 $(this).after('<div class="qrcode" onclick="hide_qrcode();return false;"><img src="'+link+'#" width="200" height="200"><br>click to close</div>');
68 });
67}); 69});
68 70function hide_qrcode() { $('div.qrcode').remove(); }
69function hide_qrcode()
70{
71 $('div.qrcode').remove();
72}
73</script> 71</script>
74</body> 72</body>
75</html> \ No newline at end of file 73</html> \ No newline at end of file