Commit | Line | Data |
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 %]"> |
9dc3b9a5 |
29 | <td><a class="list" href="/summary?p=[% p.name %]">[% p.name %]</a></td> |
30 | <td><a class="list" title="[% p.description %]" href="/summary?p=[% p.name %]">[% p.description.substr(0, 20) %]</a></td> |
d5cc37a4 |
31 | <td>[% p.owner %]</td> |
32 | <td class="age2">[% p.last_change %]</td> |
9dc3b9a5 |
33 | <td class="link"><a href="/summary?p=[% p.name %]">summary</a> |
34 | | <a href="/shortlog?p=[% p.name %]">shortlog</a> |
35 | | <a href="/log?p=[% p.name %]">log</a> |
36 | | <a href="/tree?p=[% p.name %]">tree</a></td> |
d5cc37a4 |
37 | </tr> |
38 | [% END %] |
39 | </tbody> |
40 | |
41 | </table> |