source: bookmarks/trunk/lib/Bookmarks/list_core.tt @ 123

Last change on this file since 123 was 119, checked in by peter, 9 years ago

#15: Use Plack::Middleware::Static to serve static assets.

Moved the CSS and Javascript for creating the popup window into external static assets.

File size: 585 bytes
Line 
1<ul class="main">
2  [%  FOREACH resource IN resources %]
3    <li>
4      <span class="edit">
5        (<a href="[% resource.id %]" class="edit-bookmark">Edit</a>)
6      </span>
7      <a href="[% resource.uri | html %]" title="[% resource.title | html %] ([% resource.tags.join(', ') %])">[% resource.title or resource.uri %]</a>
8      <div class="tags">
9        [% FOREACH tag IN resource.tags %]
10          [% IF loop.first %]([% END %]<a target="_self" href="?tag=[% tag %]">[% tag %]</a>[% IF loop.last %])[% ELSE %], [% END %]
11        [% END %]
12      </div>
13    </li>
14  [%  END %]
15</ul>
16<!--
17vim:syntax=html
18-->
Note: See TracBrowser for help on using the repository browser.