Started work on giving Gitalist a distinct look.
[catagits/Gitalist.git] / root / _heads.tt2
CommitLineData
0ee97fec 1<table class='heads'>
790ce598 2 <thead>
3 <tr>
7a88ffa4 4 <th>age</th>
5 <th>branch</th>
6 <th>actions</th>
7 </tr>
8 </thead>
9 <tfoot>
10 <tr>
790ce598 11 <td>age</td>
12 <td>branch</td>
13 <td>actions</td>
14 </tr>
7a88ffa4 15 </tfoot>
790ce598 16
17 <tbody>
18 [% FOREACH head IN heads %]
19 <tr>
f71a83ab 20 <td>[% time_since(head.last_change) %]</td>
0ee97fec 21 <td class='head[% head.sha1 == HEAD ? ' current' : '' %]'>[% head.name %]</td>
790ce598 22 <td class='action-list'>
f71a83ab 23 <a href="[% c.uri_for("shortlog", {h=head.sha1}) %]">shortlog</a>
24 <a href="[% c.uri_for("log", {h=head.sha1}) %]">log</a>
25 <a href="[% c.uri_for("tree", {h=head.sha1, hb=head.name}) %]">tree</a>
790ce598 26 </td>
27 </tr>
28 [% END %]
29 </tbody>
790ce598 30</table>