summaryrefslogtreecommitdiff
blob: 3461b3983d9409d3bdaee6ecae7181506ea09c00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[# setup page definitions]
  [define page_title]Repository Listing[end]
  [define help_href][docroot]/help_rootview.html[end]
[# end]

[include "include/header.ezt" "directory"]

<tbody>
[define cvs_roots][end]
[define svn_roots][end]
[define cvs_line][end]
[define svn_line][end]
[define cvs_line]0[end]
[define svn_line]0[end]
[for roots]
    [is roots.type "cvs"]
        [define cvs_roots]
    [cvs_roots]
  <tr class="vc_row_[is cvs_line "0"]even[else]odd[end]">
    <td>
        <a href="[roots.href]">
        <img src="[docroot]/images/dir.png" alt="" class="vc_icon" />[roots.name]</a>
    </td>
  </tr>
        [is cvs_line "0"][define cvs_line]1[end][else][define cvs_line]0[end][end]
    [end]
    [else]
        [is roots.type "svn"]
            [define svn_roots]
    [svn_roots]
  <tr class="vc_row_[is svn_line "0"]even[else]odd[end]">
    <td>
      <a href="[roots.href]">
      <img src="[docroot]/images/dir.png" alt="" class="vc_icon" />
      [roots.name]</a>
    </td>
  </tr>
        [is svn_line "0"][define svn_line]1[end][else][define svn_line]0[end][end]
            [end]
        [end]
    [end]
[end]
    [is cvs_roots ""][else]
      <H3>CVS Repositories</H3>
<table cellspacing="1" cellpadding="2">
<thead>
<tr>
  <th class="vc_header_sort">Name</th>
</tr>
</thead>
    [cvs_roots]
</tbody>
</table>
    [end]
    [is svn_roots ""][else]
      <H3>Subversion Repositories</H3>
<table cellspacing="1" cellpadding="2">
<thead>
<tr>
  <th class="vc_header_sort">Name</th>
</tr>
</thead>
    [svn_roots]
</tbody>

</table>
<H3>Git Repositories</H3>
Please visit the Gitweb:
<a href=http://sources.gentoo.org/gitweb>http://sources.gentoo.org/gitweb</a>
    [end]

[include "include/footer.ezt"]