Started work on giving Gitalist a distinct look.
[catagits/Gitalist.git] / root / _heads.tt2
1 <table class='heads'>
2  <thead>
3   <tr>
4    <th>age</th>
5    <th>branch</th>
6    <th>actions</th>
7   </tr>
8  </thead>
9  <tfoot>
10   <tr>
11    <td>age</td>
12    <td>branch</td>
13    <td>actions</td>
14   </tr>
15  </tfoot>
16
17  <tbody>
18  [% FOREACH head IN heads %]
19   <tr>
20    <td>[% time_since(head.last_change) %]</td>
21    <td class='head[% head.sha1 == HEAD ? ' current' : '' %]'>[% head.name %]</td>
22    <td class='action-list'>
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>
26    </td>
27   </tr>
28  [% END %]
29  </tbody>
30 </table>