Annotation of /trunk/viewvc/magellan-template/log_table.ezt
Parent Directory | Revision Log
Revision 4 -
(hide annotations)
(download)
Tue Oct 30 22:18:26 2012 UTC (11 years, 7 months ago) by niro
File size: 5664 byte(s)
Tue Oct 30 22:18:26 2012 UTC (11 years, 7 months ago) by niro
File size: 5664 byte(s)
-initial viewvc theme for cvs.magellan-linux.de/svn.magellan-linux.de
1 | niro | 4 | [include "include/log_header.ezt"] |
2 | |||
3 | <hr /> | ||
4 | <table cellspacing="1" cellpadding="2"> | ||
5 | <thead> | ||
6 | <tr> | ||
7 | <th class="vc_header[is logsort "rev"]_sort[end]">Revision</th> | ||
8 | <th class="vc_header">Tasks</th> | ||
9 | [is pathtype "file"] | ||
10 | <th class="vc_header">Diffs</th> | ||
11 | [end] | ||
12 | [is roottype "cvs"] | ||
13 | <th class="vc_header">Branches/<br />Tags</th> | ||
14 | [end] | ||
15 | <th class="vc_header[is logsort "date"]_sort[end]">Age</th> | ||
16 | <th class="vc_header">Author</th> | ||
17 | </tr> | ||
18 | </thead> | ||
19 | |||
20 | [define first_revision][end] | ||
21 | [define last_revision][end] | ||
22 | |||
23 | [for entries] | ||
24 | [if-index entries first][define first_revision][entries.rev][end][end] | ||
25 | [if-index entries last][define last_revision][entries.rev][end][end] | ||
26 | <tbody> | ||
27 | <tr style="vertical-align: top;" class="vc_row_[if-index entries even]even[else]odd[end]"> | ||
28 | |||
29 | [# Revision column] | ||
30 | <td rowspan="2"> | ||
31 | [is roottype "svn"]<a href="[entries.revision_href]"><strong>[entries.rev]</strong></a>[else]<strong>[entries.rev]</strong>[end] | ||
32 | <a name="rev[entries.rev]"></a> | ||
33 | </td> | ||
34 | |||
35 | [# Tasks column] | ||
36 | <td> | ||
37 | [is pathtype "file"] | ||
38 | <a href="[entries.view_href]"><strong>View</strong></a><br /> | ||
39 | [else] | ||
40 | <a href="[entries.view_href]"><strong>Directory Listing</strong></a><br /> | ||
41 | [end] | ||
42 | [if-any entries.download_href]<a href="[entries.download_href]"><strong>Download</strong></a><br />[end] | ||
43 | [if-any entries.download_text_href]<a href="[entries.download_text_href]"><strong>As text</strong></a><br />[end] | ||
44 | [if-any entries.annotate_href]<a href="[entries.annotate_href]"><strong>Annotate</strong></a><br />[end] | ||
45 | </td> | ||
46 | |||
47 | [is pathtype "file"] | ||
48 | <td> | ||
49 | [# Diffs column] | ||
50 | [is entries.state "dead"] | ||
51 | <strong><em>FILE REMOVED</em></strong> | ||
52 | [else] | ||
53 | [# if you don't want to allow select for diffs then remove this section] | ||
54 | [is entries.rev rev_selected] | ||
55 | <strong>[[]selected]</strong><br /> | ||
56 | [else] | ||
57 | <a href="[entries.sel_for_diff_href]"><strong>[[]select for diffs]</strong></a><br /> | ||
58 | [end] | ||
59 | [if-any entries.diff_to_sel_href] | ||
60 | <a href="[entries.diff_to_sel_href]"><strong>Diff to selected [rev_selected]</strong></a> | ||
61 | [if-any human_readable] | ||
62 | [else] | ||
63 | (<a href="[entries.diff_to_sel_href]&diff_format=h"><strong>colored</strong></a>) | ||
64 | [end]<br /> | ||
65 | [end] | ||
66 | [if-any entries.prev] | ||
67 | <a href="[entries.diff_to_prev_href]"><strong>Diff to previous [entries.prev]</strong></a> | ||
68 | [if-any human_readable] | ||
69 | [else] | ||
70 | (<a href="[entries.diff_to_prev_href]&diff_format=h"><strong>colored</strong></a>) | ||
71 | [end]<br /> | ||
72 | [end] | ||
73 | [end] | ||
74 | </td> | ||
75 | [end] | ||
76 | [is roottype "cvs"] | ||
77 | <td> | ||
78 | [# Branches column] | ||
79 | [if-any entries.vendor_branch] | ||
80 | <em>vendor branch</em><br /> | ||
81 | [end] | ||
82 | [if-any entries.branches] | ||
83 | [for entries.branches] | ||
84 | <a href="[entries.branches.href]"><strong>[entries.branches.name]</strong></a><br /> | ||
85 | [end] | ||
86 | [end] | ||
87 | [if-any entries.branch_points] | ||
88 | Branch point for: | ||
89 | [for entries.branch_points] | ||
90 | <a href="[entries.branch_points.href]"><strong>[entries.branch_points.name]</strong></a><br /> | ||
91 | [end] | ||
92 | [end] | ||
93 | [if-any entries.next_main] | ||
94 | <a href="[entries.diff_to_main_href]"><strong>Diff to next MAIN [entries.next_main]</strong></a> | ||
95 | [if-any human_readable] | ||
96 | [else] | ||
97 | (<a href="[entries.diff_to_main_href]&diff_format=h"><strong>colored</strong></a>) | ||
98 | [end]<br /> | ||
99 | [end] | ||
100 | [if-any entries.branch_point] | ||
101 | <a href="[entries.diff_to_branch_href]"><strong>Diff to branch point [entries.branch_point]</strong></a> | ||
102 | [if-any human_readable] | ||
103 | [else] | ||
104 | (<a href="[entries.diff_to_branch_href]&diff_format=h"><strong>colored</strong></a>) | ||
105 | [end]<br /> | ||
106 | [end] | ||
107 | |||
108 | [# Tags ] | ||
109 | [if-any entries.tags] | ||
110 | <form method=get action="[pathrev_action]" > | ||
111 | [pathrev_hidden_values] | ||
112 | <select name="pathrev" onChange="submit()"> | ||
113 | <option value="" [is pathrev ""]selected[end]>Show all tags</option> | ||
114 | [for entries.tags] | ||
115 | <option [is pathrev entries.tags.name]selected[end]>[entries.tags.name]</option> | ||
116 | [end] | ||
117 | </select> | ||
118 | </form> | ||
119 | [else] | ||
120 | [end] | ||
121 | </td> | ||
122 | [end] | ||
123 | |||
124 | [# Time column] | ||
125 | <td> | ||
126 | [is roottype "svn"] | ||
127 | [if-index entries last]Added[else]Modified[end] | ||
128 | [end] | ||
129 | [entries.ago] ago<br /><em>[entries.date]</em> | ||
130 | [is roottype "cvs"] | ||
131 | [if-any entries.prev] | ||
132 | [if-any entries.changed] | ||
133 | <br />Changes since <strong>[entries.prev]: [entries.changed] lines</strong> | ||
134 | [end] | ||
135 | [end] | ||
136 | [end] | ||
137 | </td> | ||
138 | |||
139 | [# Author column] | ||
140 | <td> | ||
141 | [entries.author] | ||
142 | </td> | ||
143 | |||
144 | </tr> | ||
145 | <tr class="vc_row_[if-index entries even]even[else]odd[end]"> | ||
146 | <td colspan=5> | ||
147 | [is roottype "svn"] | ||
148 | [if-any entries.orig_path] | ||
149 | Original Path: <a href="[entries.orig_href]"><em>[entries.orig_path]</em></a><br /> | ||
150 | [end] | ||
151 | |||
152 | [if-any entries.size] | ||
153 | <strong>File length: </strong>[entries.size] byte(s)<br /> | ||
154 | [end] | ||
155 | |||
156 | [if-any entries.copy_path] | ||
157 | <strong>Copied from: </strong><a href="[entries.copy_href]"><em>[entries.copy_path]</em></a> revision [entries.copy_rev]<br /> | ||
158 | [end] | ||
159 | [end] | ||
160 | |||
161 | <strong>Log: </strong><pre class="vc_log">[entries.log]</pre> | ||
162 | </td> | ||
163 | </tr> | ||
164 | </tbody> | ||
165 | [end] | ||
166 | </table> | ||
167 | |||
168 | [include "include/log_footer.ezt"] |