diff options
author | Seb Sauvage <sebsauvage@sebsauvage.net> | 2012-02-01 23:07:32 +0100 |
---|---|---|
committer | Emilien Klein <emilien@klein.st> | 2012-02-01 23:07:32 +0100 |
commit | a22e60cc0abb0547af8d792dec15f59bf77b5630 (patch) | |
tree | 826845d8d5d46d6a4d1096c57c2bddd07ae40071 /tpl/linklist.html | |
parent | 96bc4efe9ea9ed513d1ec06e0823847d5eebe82f (diff) | |
download | Shaarli-a22e60cc0abb0547af8d792dec15f59bf77b5630.tar.gz Shaarli-a22e60cc0abb0547af8d792dec15f59bf77b5630.tar.zst Shaarli-a22e60cc0abb0547af8d792dec15f59bf77b5630.zip |
Version 0.0.37 beta
- Added: Basic CSS for mobiles, which makes Shaarli much more usable on mobile devices.
- Added: Picture wall no more instantly kills your browser. Now it uses lazy image loading [0]: The picture are loaded only as you scroll the page. This will reduce browser memory usage (especially on mobile devices) and will reduce server load. If you have javascript disabled, the page will still work as before (all images loaded at once).
- Added: RSS feed for the “Daily” page. 1 RSS entry per day, with all links of that day. RSS feed provides the last 7 days (only non-empty days are returned).
- Added: In link list, added an icon to see only private links. Click to toggle (only private / all).
[0] http://www.appelsiini.net/projects/lazyload
Diffstat (limited to 'tpl/linklist.html')
-rw-r--r-- | tpl/linklist.html | 20 |
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 | 70 | function hide_qrcode() { $('div.qrcode').remove(); } | |
69 | function 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 |