916dcbd6078d1d616bd6e05ad4e25910c10fe43b
[catagits/Gitalist.git] / root / index.tt2
1 [% BLOCK repos_table_headfoot %]
2 [% SET cell = type == 'head' ? 'th' : 'td' %]
3 <tr>
4     <[% cell %]>Repository</[% cell %]>
5     <!-- XXX These do nothing presently -->
6     <[% cell %]><a class="header" href="/?o=descr">Description</a></[% cell %]>
7     <[% cell %]><a class="header" href="/?o=owner">Owner</a></[% cell %]>
8     <[% cell %]><a class="header" href="/?o=age">Last Change</a></[% cell %]>
9     <[% cell %]></[% cell %]>
10 </tr>
11 [% END %]
12 <div class='content'>
13   <form method="get" action="[% c.uri_for_action('/search') %]" enctype="application/x-www-form-urlencoded">
14    <p class="projsearch">Search:
15     <input type="text" name="s" value="[% search_text %]" />
16    </p>
17   </form>
18
19   <table class="repository_list">
20     <thead>
21                 [% INCLUDE repos_table_headfoot type = 'head' %]
22     </thead>
23     <tfoot>
24                 [% INCLUDE repos_table_headfoot type = 'foot'%]
25     </tfoot>
26
27         [% subinclude('/fragment/collectionofrepositories') %]
28   </table>
29 </div>