/[viewvc-templates]/directory.ezt
ViewVC logotype

Contents of /directory.ezt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations) (download)
Sun Sep 17 09:20:00 2017 UTC (15 months ago) by zsolt
File size: 4692 byte(s)
Initial version.

This version is a copy of standard ViewVC template.

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 [if-any sortby_file_href]<a href="[sortby_file_href]#dirlist">File</a>[else]File[end]
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 </th>
14 <th class="vc_header[is sortby "rev"]_sort[end]">
15 [if-any sortby_rev_href]<a href="[sortby_rev_href]#dirlist">Rev.</a>[else]Rev.[end]
16 [is sortby "rev"]
17 <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"
18 width="13" height="13"
19 src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
20 [end]
21 </th>
22 <th class="vc_header[is sortby "date"]_sort[end]">
23 [if-any sortby_date_href]<a href="[sortby_date_href]#dirlist">Age</a>[else]Age[end]
24 [is sortby "date"]
25 <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"
26 width="13" height="13"
27 src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
28 [end]
29 </th>
30 <th class="vc_header[is sortby "author"]_sort[end]">
31 [if-any sortby_author_href]<a href="[sortby_author_href]#dirlist">Author</a>[else]Author[end]
32 [is sortby "author"]
33 <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"
34 width="13" height="13"
35 src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
36 [end]
37 </th>
38 [is cfg.options.show_logs "1"]
39 <th class="vc_header[is sortby "log"]_sort[end]">
40 [if-any sortby_log_href]<a href="[sortby_log_href]#dirlist">Last log entry</a>[else]Last log entry[end]
41 [is sortby "log"]
42 <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"
43 width="13" height="13"
44 src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
45 [end]
46 </th>
47 [end]
48 </tr>
49 </thead>
50
51 <tbody>
52 [if-any up_href]
53 <tr class="vc_row_odd">
54 <td colspan="2">
55 <a href="[up_href]">
56 <img src="[docroot]/images/back_small.png" alt="" class="vc_icon"
57 />&nbsp;Parent&nbsp;Directory</a>
58 </td>
59 <td>&nbsp;</td>
60 <td>&nbsp;</td>
61 <td>&nbsp;</td>
62 [is cfg.options.show_logs "1"]
63 <td>&nbsp;</td>
64 [end]
65 </tr>
66 [end]
67 [for entries]
68 <tr class="vc_row_[if-index entries even]even[else]odd[end]">
69 <td[if-any entries.graph_href][else] colspan="2"[end]>
70 [is entries.pathtype "dir"]
71 <a name="[entries.anchor]" href="[entries.view_href]" title="View directory contents">
72 [else]
73 <a name="[entries.anchor]" href="[entries.log_href]" title="View file revision log">
74 [end]
75 <img src="[docroot]/images/[is entries.pathtype "dir"]dir[else][is entries.state "dead"]broken[else]text[end][end].png" alt="" class="vc_icon" />
76 [entries.name][is entries.pathtype "dir"]/[end]</a>
77 [is entries.state "dead"](dead)[end]
78 </td>
79 [if-any entries.graph_href]
80 <td style="width:1%"><a href="[entries.graph_href]"
81 title="View Revision Graph"><img
82 src="[docroot]/images/cvsgraph_16x16.png"
83 alt="View Revision Graph" class="vc_icon" />
84 </a></td>
85 [end]
86 [if-any entries.errors]
87 <td colspan=[is cfg.options.show_logs "1"]4[else]3[end]>
88 [for entries.errors]<em>[entries.errors]</em>[end]
89 </td>
90 [else]
91 [is entries.pathtype "dir"]
92 <td>&nbsp;[if-any entries.rev]<a href="[entries.log_href]" title="View directory revision log"><strong>[entries.rev]</strong></a>[end]</td>
93 [else]
94 [define rev_href][if-any entries.prefer_markup][entries.view_href][else][if-any entries.download_href][entries.download_href][end][end][end]
95 <td style="white-space: nowrap;">&nbsp;[if-any entries.rev][if-any rev_href]<a href="[rev_href]" title="[if-any entries.prefer_markup]View[else]Download[end] file contents">[end]<strong>[entries.rev]</strong>[if-any rev_href]</a>[end][end]
96 [if-any entries.lockinfo]<img src="[docroot]/images/lock.png" alt="locked" class="vc_icon" title="Locked by [entries.lockinfo]" />[end]
97 </td>
98 [end]
99 <td>&nbsp;[entries.ago]</td>
100 <td>&nbsp;[entries.author]</td>
101 [is cfg.options.show_logs "1"]
102 <td>&nbsp;
103 [if-any entries.short_log]
104 [if-any entries.log_rev]
105 <em>(from [entries.log_file]/[entries.log_rev])</em>
106 [entries.short_log]
107 [else][if-any entries.rev]
108 [entries.short_log]
109 [end][end]
110 [end]
111 </td>
112 [end]
113 [end]
114 </tr>
115 [end]
116 </tbody>
117
118 </table>
119
120 [include "include/dir_footer.ezt"]

  ViewVC Help
Powered by ViewVC 1.1.26