Contents of /trunk/viewvc/magellan-template/directory.ezt
Parent Directory | Revision Log
Revision 4 -
(show annotations)
(download)
Tue Oct 30 22:18:26 2012 UTC (11 years, 7 months ago) by niro
File size: 4163 byte(s)
Tue Oct 30 22:18:26 2012 UTC (11 years, 7 months ago) by niro
File size: 4163 byte(s)
-initial viewvc theme for cvs.magellan-linux.de/svn.magellan-linux.de
1 | [include "include/dir_header.ezt"] |
2 | |
3 | <table cellspacing="1" cellpadding="2"> |
4 | <thead> |
5 | <tr> |
6 | <th class="vc_header[is sortby "file"]_sort[end]" colspan="2"> |
7 | <a href="[sortby_file_href]#dirlist">File |
8 | [is sortby "file"] |
9 | <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]" |
10 | width="13" height="13" |
11 | src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" /> |
12 | [end] |
13 | </a> |
14 | </th> |
15 | <th class="vc_header[is sortby "rev"]_sort[end]"> |
16 | <a href="[sortby_rev_href]#dirlist">Rev. |
17 | [is sortby "rev"] |
18 | <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]" |
19 | width="13" height="13" |
20 | src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" /> |
21 | [end] |
22 | </a> |
23 | </th> |
24 | <th class="vc_header[is sortby "date"]_sort[end]"> |
25 | <a href="[sortby_date_href]#dirlist">Age |
26 | [is sortby "date"] |
27 | <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]" |
28 | width="13" height="13" |
29 | src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" /> |
30 | [end] |
31 | </a> |
32 | </th> |
33 | <th class="vc_header[is sortby "author"]_sort[end]"> |
34 | <a href="[sortby_author_href]#dirlist">Author |
35 | [is sortby "author"] |
36 | <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]" |
37 | width="13" height="13" |
38 | src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" /> |
39 | [end] |
40 | </a> |
41 | </th> |
42 | [is cfg.options.show_logs "1"] |
43 | <th class="vc_header[is sortby "log"]_sort[end]"> |
44 | <a href="[sortby_log_href]#dirlist">Last log entry |
45 | [is sortby "log"] |
46 | <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]" |
47 | width="13" height="13" |
48 | src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" /> |
49 | [end] |
50 | </a> |
51 | </th> |
52 | [end] |
53 | </tr> |
54 | </thead> |
55 | |
56 | <tbody> |
57 | [if-any up_href] |
58 | <tr class="vc_row_odd"> |
59 | <td colspan="2"> |
60 | <a href="[up_href]"> |
61 | <img src="[docroot]/images/back_small.png" alt="" width="16" height="16" |
62 | /> Parent Directory</a> |
63 | </td> |
64 | <td> </td> |
65 | <td> </td> |
66 | <td> </td> |
67 | [is cfg.options.show_logs "1"] |
68 | <td> </td> |
69 | [end] |
70 | </tr> |
71 | [end] |
72 | [for entries] |
73 | <tr class="vc_row_[if-index entries even]even[else]odd[end]"> |
74 | <td[if-any entries.graph_href][else] colspan="2"[end]> |
75 | [is entries.pathtype "dir"] |
76 | <a name="[entries.anchor]" href="[entries.view_href]" title="View directory contents"> |
77 | [else] |
78 | <a name="[entries.anchor]" href="[entries.log_href]" title="View file revision log"> |
79 | [end] |
80 | <img src="[docroot]/images/[is entries.pathtype "dir"]dir[else][is entries.state "dead"]broken[else]text[end][end].png" alt="" width="16" height="16" /> |
81 | [entries.name][is entries.pathtype "dir"]/[end]</a> |
82 | [is entries.state "dead"](dead)[end] |
83 | </td> |
84 | [if-any entries.graph_href] |
85 | <td style="width:1%"><a href="[entries.graph_href]" |
86 | title="View Revision Graph"><img |
87 | src="[docroot]/images/cvsgraph_16x16.png" |
88 | alt="View Revision Graph" width="16" height="16" /> |
89 | </a></td> |
90 | [end] |
91 | [if-any entries.errors] |
92 | <td colspan=[is cfg.options.show_logs "1"]4[else]3[end]> |
93 | [for entries.errors]<em>[entries.errors]</em>[end] |
94 | </td> |
95 | [else] |
96 | [is entries.pathtype "dir"] |
97 | <td> [if-any entries.rev]<a href="[entries.log_href]" title="View directory revision log"><strong>[entries.rev]</strong></a>[end]</td> |
98 | [else] |
99 | <td> [if-any entries.rev]<a href="[if-any entries.prefer_markup][entries.view_href][else][entries.download_href][end]" title="[if-any entries.prefer_markup]View[else]Download[end] file contents"><strong>[entries.rev]</strong></a>[end]</td> |
100 | [end] |
101 | <td> [entries.ago]</td> |
102 | <td> [entries.author]</td> |
103 | [is cfg.options.show_logs "1"] |
104 | [if-any entries.log] |
105 | <td> [entries.log][is entries.pathtype "dir"][is roottype "cvs"] |
106 | <em>(from [entries.log_file]/[entries.log_rev])</em>[end][end]</td> |
107 | [else] |
108 | <td> </td> |
109 | [end] |
110 | [end] |
111 | [end] |
112 | </tr> |
113 | [end] |
114 | </tbody> |
115 | |
116 | </table> |
117 | |
118 | [include "include/dir_footer.ezt"] |