[2] | 1 | <html> |
---|
| 2 | <head> |
---|
[31] | 3 | <title>[% title %]</title> |
---|
[3] | 4 | <base href="[% base_url %]"/> |
---|
[119] | 5 | <link rel="stylesheet" type="text/css" href="assets/list.css"/> |
---|
[2] | 6 | </head> |
---|
| 7 | <body> |
---|
| 8 | <form method="get" action=""> |
---|
| 9 | <select name="tag" onchange="document.forms[0].submit()"> |
---|
| 10 | <option value="">All bookmarks</option> |
---|
[20] | 11 | [% FOREACH tag IN all_tags %] |
---|
[2] | 12 | <option value="[% tag.tag %]" [% IF tag.selected %]selected="selected"[% END %]>[% tag.tag %] ([% tag.count %])</option> |
---|
| 13 | [% END %] |
---|
| 14 | </select> |
---|
| 15 | <input type="submit" value="Go"/> |
---|
| 16 | </form> |
---|
[106] | 17 | <div class="pagination"> |
---|
| 18 | [% IF pages %] |
---|
| 19 | <a href="?page=[% pages.first_page %]">«</a> |
---|
| 20 | [% IF pages.previous_set %] |
---|
| 21 | <a href="?page=[% pages.previous_set %]">‹</a> |
---|
| 22 | [% END %] |
---|
| 23 | [% FOREACH page IN pages.pages_in_set %] |
---|
| 24 | [% IF page == pages.current_page %] |
---|
| 25 | <strong>[% page %]</strong> |
---|
| 26 | [% ELSE %] |
---|
| 27 | <a href="?page=[% page %]">[% page %]</a> |
---|
| 28 | [% END %] |
---|
| 29 | [% END %] |
---|
| 30 | [% IF pages.next_set %] |
---|
| 31 | <a href="?page=[% pages.next_set %]">›</a> |
---|
| 32 | [% END %] |
---|
| 33 | <a href="?page=[% pages.last_page %]">»</a> |
---|
| 34 | [% END %] |
---|
| 35 | </div> |
---|
[111] | 36 | [% INCLUDE list_core.tt %] |
---|
[22] | 37 | <ul class="alternate-links"> |
---|
| 38 | [% FOREACH link IN links %] |
---|
| 39 | <li> |
---|
[40] | 40 | <a href="[% link.href.canonical | html %]" type="[% link.type %]" rel="[% link.rel %]">[% link.text %]</a> |
---|
[22] | 41 | </li> |
---|
| 42 | [% END %] |
---|
| 43 | </ul> |
---|
[20] | 44 | <div class="refine"> |
---|
| 45 | <form method="get" action=""> |
---|
[52] | 46 | <label>Search: <input type="text" name="q" value="[% query | html %]" size="30"/></label> |
---|
[20] | 47 | <div class="taglists"> |
---|
| 48 | <ul class="searchtags"> |
---|
| 49 | [% FOREACH tag IN search_tags %] |
---|
| 50 | <li> |
---|
| 51 | <label> |
---|
| 52 | <input type="checkbox" name="tag" value="[% tag %]" checked="checked"/> |
---|
| 53 | [% tag %] |
---|
| 54 | </label> |
---|
| 55 | </li> |
---|
| 56 | [% END %] |
---|
| 57 | </ul> |
---|
| 58 | [% IF cotags.size %] |
---|
| 59 | <ul class="cotags"> |
---|
| 60 | [% FOREACH tag IN cotags %] |
---|
| 61 | <li> |
---|
| 62 | <label> |
---|
| 63 | <input type="checkbox" name="tag" value="[% tag.tag %]"/> |
---|
| 64 | [% tag.tag %] ([% tag.count %]) |
---|
| 65 | </label> |
---|
| 66 | </li> |
---|
| 67 | [% END %] |
---|
| 68 | </ul> |
---|
| 69 | [% END %] |
---|
| 70 | </div> |
---|
[21] | 71 | <div class="buttons"> |
---|
[20] | 72 | <input type="submit" value="Refine"/> |
---|
| 73 | </div> |
---|
| 74 | </form> |
---|
[34] | 75 | <p> |
---|
| 76 | <a class="bookmarklet" href="javascript:(function(){window.open(%22[% base_url %]?uri=%22+encodeURIComponent(document.location)+%22&title=%22+encodeURIComponent(document.title),%22edit_bookmark%22,%22width=800,height=250%22)})()" title="Javascript Bookmarklet">Make Bookmark</a> |
---|
| 77 | </p> |
---|
[20] | 78 | </div> |
---|
[119] | 79 | <script src="assets/list.js"></script> |
---|
[2] | 80 | </body> |
---|
| 81 | </html> |
---|
| 82 | |
---|
| 83 | <!-- |
---|
| 84 | vim:syntax=html |
---|
| 85 | --> |
---|