Magellan Linux

Contents of /trunk/viewvc/magellan-template/include/pathrev_form.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: 1432 byte(s)
-initial viewvc theme for cvs.magellan-linux.de/svn.magellan-linux.de
1 <form method="get" action="[pathrev_action]" style="display: inline">
2 <div style="display: inline">
3 [pathrev_hidden_values]
4 [is roottype "cvs"]
5 [define pathrev_selected][pathrev][end]
6 <select name="pathrev" onchange="submit()">
7 <option value=""></option>
8 [if-any branch_tags]
9 <optgroup label="Branches">
10 [for branch_tags]
11 [is branch_tags pathrev]
12 <option selected>[branch_tags]</option>
13 [define pathrev_selected][end]
14 [else]
15 <option>[branch_tags]</option>
16 [end]
17 [end]
18 </optgroup>
19 [end]
20 <optgroup label="Non-branch tags">
21 [for plain_tags]
22 [is plain_tags pathrev]
23 <option selected>[plain_tags]</option>
24 [define pathrev_selected][end]
25 [else]
26 <option>[plain_tags]</option>
27 [end]
28 [end]
29 </optgroup>
30 [if-any pathrev_selected]
31 <option selected>[pathrev_selected]</option>
32 [end]
33 </select>
34 [else]
35 <input type="text" name="pathrev" value="[pathrev]" size="6"/>
36 [end]
37 <input type="submit" value="Set" />
38 </div>
39 </form>
40
41 [if-any pathrev]
42 <form method="get" action="[pathrev_clear_action]" style="display: inline">
43 <div style="display: inline">
44 [pathrev_clear_hidden_values]
45 [if-any lastrev]
46 [is pathrev lastrev][else]<input type="submit" value="Set to [lastrev]" />[end]
47 (<i>Current path doesn't exist after revision <strong>[lastrev]</strong></i>)
48 [else]
49 <input type="submit" value="Clear" />
50 [end]
51 </div>
52 </form>
53 [end]