The blob action now has simple (but functioning) syntax highlighting (thanks to jrock...
[catagits/Gitalist.git] / templates / index.tt2
CommitLineData
d5cc37a4 1[% IF home_text_contents %]
2<div class="index_include">
3 [% home_text_contents %]
4</div>
5[% END %]
6
7<form method="get" action="/" enctype="application/x-www-form-urlencoded">
8<p class="projsearch">Search:
9<input type="text" name="s" value="[% search_text %]" />
10</p>
11</form>
12
13<table class="project_list">
14<thead>
15 <tr>
16 <th>Project</th>
17 <th><a class="header" href="/projects?o=descr">Description</a></th>
18 <th><a class="header" href="/projects?o=owner">Owner</a></th>
19 <th><a class="header" href="/projects?o=age">Last Change</a></th>
20 <th></th>
21 </tr>
22</thead>
23
24<tbody>
25 [%
26 USE Cycle('dark', 'light');
27 FOR p IN projects %]
28 <tr class="[% Cycle.next %]">
29 <td><a class="list" href="/?p=[% p.name %];a=summary">[% p.name %]</a></td>
30 <td><a class="list" title="[% p.description %]" href="/?p=[% p.name %];a=summary">[% p.description.substr(0, 20) %]</a></td>
31 <td>[% p.owner %]</td>
32 <td class="age2">[% p.last_change %]</td>
33 <td class="link"><a href="/?p=[% p.name %];a=summary">summary</a>
34 | <a href="/?p=[% p.name %];a=shortlog">shortlog</a>
35 | <a href="/?p=[% p.name %];a=log">log</a>
36 | <a href="/?p=[% p.name %];a=tree">tree</a></td>
37 </tr>
38 [% END %]
39</tbody>
40
41</table>