Magellan Linux

Contents of /trunk/viewvc/magellan-template/dir_new.ezt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4 - (show annotations) (download)
Tue Oct 30 22:18:26 2012 UTC (11 years, 6 months ago) by niro
File size: 4028 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">Last Change
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 </tr>
25 </thead>
26
27 <tbody>
28 [if-any up_href]
29 <tr class="vc_row_odd">
30 <td>
31 <a href="[up_href]">
32 <img src="[docroot]/images/back_small.png" alt="" width="16" height="16"
33 />&nbsp;Parent&nbsp;Directory</a>
34 </td>
35 <td>&nbsp;</td>
36 <td>&nbsp;</td>
37 </tr>
38 [end]
39 [for entries]
40 <tr class="vc_row_[if-index entries even]even[else]odd[end]">
41 <td>
42 <a name="[entries.anchor]" href="[is entries.pathtype "dir"][entries.view_href][else][if-any entries.prefer_markup][entries.view_href][else][entries.download_href][end][end]" title="[is entries.pathtype "dir"]View Directory Contents[else][if-any entries.prefer_markup]View[else]Download[end] File Contents[end]">
43 <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" />
44 [entries.name][is entries.pathtype "dir"]/[end]</a>
45 [is entries.state "dead"](dead)[end]
46 </td>
47
48 [if-any entries.errors]
49 <td colspan="2">[for entries.errors]<em>[entries.errors]</em>[end]</td>
50 [else]
51 <td style="width:1%; white-space: nowrap">
52
53 [# Icon column. We might want to add more icons like a tarball
54 # icon for directories or a diff to previous icon for files. ]
55
56 [if-any entries.log_href]
57 <a href="[entries.log_href]"><img
58 src="[docroot]/images/log.png"
59 alt="View Log" width="16" height="16" /></a>
60 [end]
61
62 [is entries.pathtype "dir"]
63 [is roottype "cvs"]
64 [# no point in showing icon when there's only one to choose from]
65 [else]
66 <a href="[entries.view_href]"><img
67 src="[docroot]/images/list.png"
68 alt="View Directory Listing" width="16" height="16" /></a>
69 [end]
70 [end]
71
72 [is entries.pathtype "file"]
73 [if-any entries.graph_href]
74 <a href="[entries.graph_href]"
75 title="View Revision Graph"><img
76 src="[docroot]/images/cvsgraph_16x16.png"
77 alt="View Revision Graph" width="16" height="16" />
78 </a>
79 [end]
80
81 [if-any entries.view_href]
82 <a href="[entries.view_href]"><img
83 src="[docroot]/images/view.png"
84 alt="View File" width="16" height="16" /></a>
85 [end]
86
87 [if-any entries.download_href]
88 <a href="[entries.download_href]"><img
89 src="[docroot]/images/download.png"
90 alt="Download File" width="16" height="16" /></a>
91 [end]
92
93 [if-any entries.annotate_href]
94 <a href="[entries.annotate_href]"><img
95 src="[docroot]/images/annotate.png"
96 alt="Annotate File" width="16" height="16" /></a>
97 [end]
98 [end]
99 </td>
100 <td>
101 [if-any entries.rev]
102 <strong>[if-any entries.revision_href]<a href="[entries.revision_href]">[entries.rev]</a>[else][entries.rev][end]</strong>
103 ([entries.ago] ago)
104 by <em>[entries.author]</em>:
105 [entries.log]
106 [is entries.pathtype "dir"][is roottype "cvs"]
107 <em>(from [entries.log_file]/[entries.log_rev])</em>
108 [end][end]
109 [end]
110 </td>
111 [end]
112 </tr>
113 [end]
114 </tbody>
115
116 </table>
117
118 [include "include/dir_footer.ezt"]