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> |
5a2f0948 |
17 | <!-- XXX These do nothing presently --> |
18 | <th><a class="header" href="/?o=descr">Description</a></th> |
19 | <th><a class="header" href="/?o=owner">Owner</a></th> |
20 | <th><a class="header" href="/?o=age">Last Change</a></th> |
d5cc37a4 |
21 | <th></th> |
22 | </tr> |
23 | </thead> |
24 | |
25 | <tbody> |
26 | [% |
27 | USE Cycle('dark', 'light'); |
28 | FOR p IN projects %] |
29 | <tr class="[% Cycle.next %]"> |
c1f608c8 |
30 | <td><a class="list" href="[% c.uri_for('/summary', {p=p.name}) %]">[% p.name %]</a></td> |
31 | <td><a class="list" title="[% p.description %]" href="[% c.uri_for('/summary', {p=p.name} ) %]">[% p.description.substr(0, 20) %]</a></td> |
d5cc37a4 |
32 | <td>[% p.owner %]</td> |
33 | <td class="age2">[% p.last_change %]</td> |
c1f608c8 |
34 | <td class="link"><a href="[% c.uri_for("summary", {p=p.name}) %]">summary</a> |
35 | | <a href="[% c.uri_for("shortlog", {p=p.name}) %]">shortlog</a> |
36 | | <a href="[% c.uri_for("log", {p=p.name}) %]">log</a> |
37 | | <a href="[% c.uri_for("tree", {p=p.name}) %]">tree</a></td> |
d5cc37a4 |
38 | </tr> |
39 | [% END %] |
40 | </tbody> |
41 | |
42 | </table> |