Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8 - (show annotations) (download)
Fri May 13 08:48:34 2016 UTC (7 years, 11 months ago) by niro
File size: 7841 byte(s)
-updates magellan-template to match viewvc-1.1.24
1 [# setup page definitions]
2 [define page_title]Query on /[where][end]
3 [define help_href][docroot]/help_rootview.html[end]
4 [# end]
5
6 [include "include/header.ezt" "query"]
7
8 <p><a href="[dir_href]">
9 <img src="[docroot]/images/dir.png" class="vc_icon" alt="Directory" />
10 Browse Directory</a></p>
11
12 <form action="[query_action]" method="get">
13
14 <div class="vc_query_form">
15 [for query_hidden_values]<input type="hidden" name="[query_hidden_values.name]" value="[query_hidden_values.value]"/>[end]
16 <table cellspacing="0" cellpadding="5" class="auto">
17 [is roottype "cvs"]
18 [# For subversion, the branch field is not used ]
19 <tr>
20 <th style="text-align:right;vertical-align:top;">Branch:</th>
21 <td>
22 <input type="text" name="branch" value="[branch]" /><br />
23 <label for="branch_match_exact">
24 <input type="radio" name="branch_match" id="branch_match_exact"
25 value="exact" [is branch_match "exact"]checked="checked"[end] />
26 Exact match
27 </label>
28 <label for="branch_match_glob">
29 <input type="radio" name="branch_match" id="branch_match_glob"
30 value="glob" [is branch_match "glob"]checked="checked"[end] />
31 Glob pattern match
32 </label>
33 <label for="branch_match_regex">
34 <input type="radio" name="branch_match" id="branch_match_regex"
35 value="regex" [is branch_match "regex"]checked="checked"[end] />
36 Regex match
37 </label>
38 <label for="branch_match_notregex">
39 <input type="radio" name="branch_match" id="branch_match_notregex"
40 value="notregex" [is branch_match "notregex"]checked="checked"[end] />
41 Regex doesn't match
42 </label>
43 </td>
44 </tr>
45 [end]
46 <tr>
47 <th style="text-align:right;vertical-align:top;">Subdirectory:</th>
48 <td>
49 <input type="text" name="dir" value="[dir]" /><br />
50 (you can list multiple directories separated by commas)
51 </td>
52 </tr>
53 <tr>
54 <th style="text-align:right;vertical-align:top;">File:</th>
55 <td>
56 <input type="text" name="file" value="[file]" /><br />
57 <label for="file_match_exact">
58 <input type="radio" name="file_match" id="file_match_exact"
59 value="exact" [is file_match "exact"]checked="checked"[end] />
60 Exact match
61 </label>
62 <label for="file_match_glob">
63 <input type="radio" name="file_match" id="file_match_glob"
64 value="glob" [is file_match "glob"]checked="checked"[end] />
65 Glob pattern match
66 </label>
67 <label for="file_match_regex">
68 <input type="radio" name="file_match" id="file_match_regex"
69 value="regex" [is file_match "regex"]checked="checked"[end] />
70 Regex match
71 </label>
72 <label for="file_match_notregex">
73 <input type="radio" name="file_match" id="file_match_notregex"
74 value="notregex" [is file_match "notregex"]checked="checked"[end] />
75 Regex doesn't match
76 </label>
77 </td>
78 </tr>
79 <tr>
80 <th style="text-align:right;vertical-align:top;">Who:</th>
81 <td>
82 <input type="text" name="who" value="[who]" /><br />
83 <label for="who_match_exact">
84 <input type="radio" name="who_match" id="who_match_exact"
85 value="exact" [is who_match "exact"]checked="checked"[end] />
86 Exact match
87 </label>
88 <label for="who_match_glob">
89 <input type="radio" name="who_match" id="who_match_glob"
90 value="glob" [is who_match "glob"]checked="checked"[end] />
91 Glob pattern match
92 </label>
93 <label for="who_match_regex">
94 <input type="radio" name="who_match" id="who_match_regex"
95 value="regex" [is who_match "regex"]checked="checked"[end] />
96 Regex match
97 </label>
98 <label for="who_match_notregex">
99 <input type="radio" name="who_match" id="who_match_notregex"
100 value="notregex" [is who_match "notregex"]checked="checked"[end] />
101 Regex doesn't match
102 </label>
103 </td>
104 </tr>
105 <tr>
106 <th style="text-align:right;vertical-align:top;">Comment:</th>
107 <td>
108 <input type="text" name="comment" value="[comment]" /><br />
109 <label for="comment_match_exact">
110 <input type="radio" name="comment_match" id="comment_match_exact"
111 value="exact" [is comment_match "exact"]checked=""[end] />
112 Exact match
113 </label>
114 <label for="comment_match_glob">
115 <input type="radio" name="comment_match" id="comment_match_glob"
116 value="glob" [is comment_match "glob"]checked=""[end] />
117 Glob pattern match
118 </label>
119 <label for="comment_match_regex">
120 <input type="radio" name="comment_match" id="comment_match_regex"
121 value="regex" [is comment_match "regex"]checked=""[end] />
122 Regex match
123 </label>
124 <label for="comment_match_notregex">
125 <input type="radio" name="comment_match" id="comment_match_notregex"
126 value="notregex" [is comment_match "notregex"]checked=""[end] />
127 Regex doesn't match
128 </label>
129 </td>
130 </tr>
131 <tr>
132 <th style="text-align:right;vertical-align:top;">Sort By:</th>
133 <td>
134 <select name="querysort">
135 <option value="date" [is querysort "date"]selected="selected"[end]>Date</option>
136 <option value="author" [is querysort "author"]selected="selected"[end]>Author</option>
137 <option value="file" [is querysort "file"]selected="selected"[end]>File</option>
138 </select>
139 </td>
140 </tr>
141 <tr>
142 <th style="text-align:right;vertical-align:top;">Date:</th>
143 <td>
144 <table cellspacing="0" cellpadding="0">
145 <tr>
146 <td><input type="radio" name="date" id="date_hours"
147 value="hours" [is date "hours"]checked="checked"[end] /></td>
148 <td>
149 <label for="date_hours">In the last</label>
150 <input type="text" name="hours" value="[hours]" size="4" />
151 hours
152 </td>
153 </tr>
154 <tr>
155 <td><input type="radio" name="date" id="date_day"
156 value="day" [is date "day"]checked="checked"[end] /></td>
157 <td><label for="date_day">In the last day</label></td>
158 </tr>
159 <tr>
160 <td><input type="radio" name="date" id="date_week"
161 value="week" [is date "week"]checked="checked"[end] /></td>
162 <td><label for="date_week">In the last week</label></td>
163 </tr>
164 <tr>
165 <td><input type="radio" name="date" id="date_month"
166 value="month" [is date "month"]checked="checked"[end] /></td>
167 <td><label for="date_month">In the last month</label></td>
168 </tr>
169 <tr>
170 <td><input type="radio" name="date" id="date_all"
171 value="all" [is date "all"]checked="checked"[end] /></td>
172 <td><label for="date_all">Since the beginning of time</label></td>
173 </tr>
174 <tr>
175 <td><input type="radio" name="date" id="date_explicit"
176 value="explicit" [is date "explicit"]checked="checked"[end] /></td>
177 <td>
178 <label for="date_explicit">Between</label>
179 <input type="text" name="mindate" value="[mindate]" size="20" />
180 and
181 <input type="text" name="maxdate" value="[maxdate]" size="20" />
182 <br />
183 (use the form <strong>yyyy-mm-dd hh:mm:ss</strong>)
184 </td>
185 </tr>
186 </table>
187 </td>
188 </tr>
189 <tr>
190 <th style="text-align:right;vertical-align:top;">Limit:</th>
191 <td>
192 Show at most
193 <input type="text" name="limit_changes" value="[limit_changes]" size="5" />
194 changed files per commit.<br />
195 (use 0 to show all files)
196 </td>
197 </tr>
198 <tr>
199 <td></td>
200 <td><input type="submit" value="Search" /></td>
201 </tr>
202 </table>
203 </div>
204
205 </form>
206
207 [include "include/footer.ezt"]