Changeset 20 in bookmarks for trunk/list.tt
- Timestamp:
- 05/21/13 17:55:34 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/list.tt
r16 r20 20 20 } 21 21 ul { 22 height: 75%;23 overflow-y: scroll;24 22 margin: 0; 25 23 padding: 0; 24 } 25 ul.main { 26 height: 60%; 26 27 border-top: 6px solid #eee; 27 28 border-bottom: 6px solid #eee; 29 } 30 .refine { 31 height: 15%; 32 } 33 .cotags { 34 height: 100%; 35 border: 1px dotted #999; 36 } 37 ul.main, ul.cotags { 38 overflow-y: scroll !important; 28 39 } 29 40 li { … … 62 73 <select name="tag" onchange="document.forms[0].submit()"> 63 74 <option value="">All bookmarks</option> 64 [% FOREACH tag IN tags %]75 [% FOREACH tag IN all_tags %] 65 76 <option value="[% tag.tag %]" [% IF tag.selected %]selected="selected"[% END %]>[% tag.tag %] ([% tag.count %])</option> 66 77 [% END %] … … 68 79 <input type="submit" value="Go"/> 69 80 </form> 70 <!-- 71 <select> 72 [% FOREACH tag IN cotags %] 73 <option>[% tag.tag %] ([% tag.count %])</option> 74 [% END %] 75 </select> 76 --> 77 <ul style=""> 81 <ul class="main"> 78 82 [% FOREACH resource IN resources %] 79 83 <li> … … 90 94 [% END %] 91 95 </ul> 92 [% IF selected_tag %] 93 <p> 94 <a href="?tag=[% selected_tag %]">[% selected_tag %] links</a> · 95 <a href="feed?tag=[% selected_tag %]" type="application/atom+xml">Atom Feed</a> 96 </p> 97 [% END %] 98 <form method="get" action=""> 99 [% IF selected_tag %] 100 <input type="hidden" name="tag" value="[% selected_tag %]"/> 101 [% END %] 96 <form method="get" action="" id="reload"> 102 97 <div> 103 <input type="submit" value="Reload"/> 98 [% IF selected_tag %] 99 <a href="?tag=[% selected_tag %]">[% selected_tag %] links</a> · 100 <a href="feed?tag=[% selected_tag %]" type="application/atom+xml">Atom Feed</a> 101 <input type="hidden" name="tag" value="[% selected_tag %]"/> 102 [% END %] 103 <input type="submit" value="Reload"/> 104 104 </div> 105 105 </form> 106 <div class="refine"> 107 <form method="get" action=""> 108 <div class="taglists"> 109 <ul class="searchtags"> 110 [% FOREACH tag IN search_tags %] 111 <li> 112 <label> 113 <input type="checkbox" name="tag" value="[% tag %]" checked="checked"/> 114 [% tag %] 115 </label> 116 </li> 117 [% END %] 118 </ul> 119 [% IF cotags.size %] 120 <ul class="cotags"> 121 [% FOREACH tag IN cotags %] 122 <li> 123 <label> 124 <input type="checkbox" name="tag" value="[% tag.tag %]"/> 125 [% tag.tag %] ([% tag.count %]) 126 </label> 127 </li> 128 [% END %] 129 </ul> 130 [% END %] 131 </div> 132 <div> 133 <input type="submit" value="Refine"/> 134 </div> 135 </form> 136 </div> 106 137 </body> 107 138 </html>
Note: See TracChangeset
for help on using the changeset viewer.