Changeset 21 in bookmarks
- Timestamp:
- 05/21/13 18:19:33 (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BookmarkApp.pm
r20 r21 142 142 selected_tag => $tag, 143 143 search_tags => \@tags, 144 tag_query => join('&', map { "tag=$_" } @tags), 144 145 all_tags => \@all_tags, 145 146 cotags => \@cotags, -
trunk/list.tt
r20 r21 31 31 height: 15%; 32 32 } 33 .refine form { 34 margin: 0; 35 } 36 .buttons { 37 margin: .5em; 38 } 33 39 .cotags { 34 40 height: 100%; 35 border: 1px dotted #999; 41 border-top: 1px dotted #999; 42 border-bottom: 1px dotted #999; 36 43 } 37 44 ul.main, ul.cotags { … … 94 101 [% END %] 95 102 </ul> 96 <form method="get" action="" id="reload"> 97 <div> 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 </div> 105 </form> 103 [% IF search_tags.size %] 104 <!-- TODO: well-formatted query strings if there is no tag query --> 105 <p> 106 <a href="?[% tag_query %]">Link</a> · 107 <a href="?[% tag_query %]&format=json" type="application/json">JSON</a> · 108 <a href="?[% tag_query %]&format=xbel" type="application/xml">XBEL</a> · 109 <a href="feed?[% tag_query %]" type="application/atom+xml">Atom</a> 110 </p> 111 [% END %] 106 112 <div class="refine"> 107 113 <form method="get" action=""> … … 130 136 [% END %] 131 137 </div> 132 <div >138 <div class="buttons"> 133 139 <input type="submit" value="Refine"/> 134 140 </div>
Note: See TracChangeset
for help on using the changeset viewer.