Contents of /trunk/viewvc/magellan-template/include/diff_form.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: 2195 byte(s)
Tue Oct 30 22:18:26 2012 UTC (11 years, 7 months ago) by niro
File size: 2195 byte(s)
-initial viewvc theme for cvs.magellan-linux.de/svn.magellan-linux.de
1 | <hr /> |
2 | <p><a name="diff"></a> |
3 | This form allows you to request diffs between any two revisions of this file. |
4 | For each of the two "sides" of the diff, |
5 | [if-any tags] |
6 | select a symbolic revision name using the selection box, or choose |
7 | 'Use Text Field' and enter a numeric revision. |
8 | [else] |
9 | enter a numeric revision. |
10 | [end] |
11 | </p> |
12 | <form method="get" action="[diff_select_action]" id="diff_select"> |
13 | |
14 | <table cellpadding="2" cellspacing="0" class="auto"> |
15 | <tr> |
16 | <td> </td> |
17 | <td> |
18 | [diff_select_hidden_values] |
19 | Diffs between |
20 | [if-any tags] |
21 | <select name="r1"> |
22 | <option value="text" selected="selected">Use Text Field</option> |
23 | [for tags] |
24 | <option value="[tags.rev]:[tags.name]">[tags.name]</option> |
25 | [end] |
26 | </select> |
27 | <input type="text" size="12" name="tr1" |
28 | value="[if-any rev_selected][rev_selected][else][first_revision][end]" |
29 | onchange="document.getElementById('diff_select').r1.selectedIndex=0" /> |
30 | [else] |
31 | <input type="text" size="12" name="r1" |
32 | value="[if-any rev_selected][rev_selected][else][first_revision][end]" /> |
33 | [end] |
34 | |
35 | and |
36 | [if-any tags] |
37 | <select name="r2"> |
38 | <option value="text" selected="selected">Use Text Field</option> |
39 | [for tags] |
40 | <option value="[tags.rev]:[tags.name]">[tags.name]</option> |
41 | [end] |
42 | </select> |
43 | <input type="text" size="12" name="tr2" |
44 | value="[last_revision]" |
45 | onchange="document.getElementById('diff_select').r2.selectedIndex=0" /> |
46 | [else] |
47 | <input type="text" size="12" name="r2" value="[last_revision]" /> |
48 | [end] |
49 | </td> |
50 | </tr> |
51 | <tr> |
52 | <td> </td> |
53 | <td> |
54 | Type of Diff should be a |
55 | <select name="diff_format" onchange="submit()"> |
56 | <option value="h" [is diff_format "h"]selected="selected"[end]>Colored Diff</option> |
57 | <option value="l" [is diff_format "l"]selected="selected"[end]>Long Colored Diff</option> |
58 | <option value="u" [is diff_format "u"]selected="selected"[end]>Unidiff</option> |
59 | <option value="c" [is diff_format "c"]selected="selected"[end]>Context Diff</option> |
60 | <option value="s" [is diff_format "s"]selected="selected"[end]>Side by Side</option> |
61 | </select> |
62 | <input type="submit" value=" Get Diffs " /> |
63 | </td> |
64 | </tr> |
65 | </table> |
66 | </form> |