* templates/include/dir_footer.ezt: get rid of validity error due to
misnesting of <form> and <table> tags. * templates/include/diff_form.ezt: get rid of a similar problem in the diff form. Also simplify the form a bit for the case when there are no tags (ie. subversion). git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@916 8cb11bc2-c004-0410-86c3-e597b4017df7remotes/tags/1.0.0-rc1
parent
c969184313
commit
302fa88601
|
@ -19,11 +19,11 @@
|
|||
<option value="[tags.rev]:[tags.name]">[tags.name]</option>
|
||||
[end]
|
||||
</select>
|
||||
<input type="text" size="12" name="tr1" value="[tr1]"
|
||||
onchange="document.diff_select.r1.selectedIndex=0">
|
||||
[else]
|
||||
<input type="hidden" name="r1" value="text" />
|
||||
<input type="text" size="12" name="r1" value="[tr1]">
|
||||
[end]
|
||||
<input type="TEXT" size="12" name="tr1" value="[tr1]"
|
||||
[if-any tags]onChange="document.diff_select.r1.selectedIndex=0"[end]>
|
||||
|
||||
and
|
||||
[if-any tags]
|
||||
|
@ -33,11 +33,11 @@
|
|||
<option value="[tags.rev]:[tags.name]">[tags.name]</option>
|
||||
[end]
|
||||
</select>
|
||||
<input type="text" size="12" name="tr2" value="[tr2]"
|
||||
onchange="document.diff_select.r1.selectedIndex=0">
|
||||
[else]
|
||||
<input type="hidden" name="r2" value="text" />
|
||||
<input type="text" size="12" name="r2" value="[tr1]">
|
||||
[end]
|
||||
<input type="TEXT" size="12" name="tr2" value="[tr2]"
|
||||
[if-any tags]onChange="document.diff_select.r1.selectedIndex=0"[end]>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -56,7 +56,8 @@
|
|||
<option value="c" [is diff_format "c"]selected[end]>Context Diff</option>
|
||||
<option value="s" [is diff_format "s"]selected[end]>Side by Side</option>
|
||||
</select>
|
||||
<input type="submit" value=" Get Diffs "></form>
|
||||
<input type="submit" value=" Get Diffs ">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
[if-any selection_form]
|
||||
<hr size=1 noshade>
|
||||
<form method=get action="[search_tag_action]">
|
||||
[search_tag_hidden_values]
|
||||
[# this table holds the selectors on the left, and reset on the right ]
|
||||
<table>
|
||||
[if-any has_tags]
|
||||
<tr>
|
||||
<td> Show files using tag: </td>
|
||||
<td>
|
||||
[# this table holds the selectors on the left, and reset on the right ]
|
||||
<table>
|
||||
[if-any has_tags]
|
||||
<tr>
|
||||
<td> Show files using tag: </td>
|
||||
<td>
|
||||
<form method=get action="[search_tag_action]">
|
||||
[search_tag_hidden_values]
|
||||
<select name=only_with_tag onchange="submit()">
|
||||
<option value="">Select Branch</option>
|
||||
[if-any branch_tags]
|
||||
|
@ -31,46 +31,50 @@
|
|||
[end]
|
||||
</optgroup>
|
||||
</select>
|
||||
<input type="submit" value="Show">
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
[end]
|
||||
|
||||
[is num_files "0"]
|
||||
[else]
|
||||
[is cfg.options.use_re_search "1"]
|
||||
<tr>
|
||||
<td>Show files containing the regular expression:</td>
|
||||
<td>
|
||||
<form method=get action="[search_tag_action]">
|
||||
[search_tag_hidden_values]
|
||||
<input type="text" name="search" value="[search_re]">
|
||||
<input type="submit" value="Show">
|
||||
</form>
|
||||
</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
[end]
|
||||
|
||||
[is num_files "0"]
|
||||
[else]
|
||||
[is cfg.options.use_re_search "1"]
|
||||
<tr>
|
||||
<td>Show files containing the regular expression:</td>
|
||||
<td><input type="text" name="search" value="[search_re]"></td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
[end]
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td> <input type="submit" value="Show"> </td>
|
||||
[end]
|
||||
[# I don't like closing the form here, but I thought this is better than
|
||||
having forms inside forms ]
|
||||
</form>
|
||||
[if-any view_tag]
|
||||
<td valign=bottom>
|
||||
[end]
|
||||
[if-any view_tag]
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<form method=get action="[search_tag_action]">
|
||||
[search_tag_hidden_values]
|
||||
<input type="submit" value="Show all files">
|
||||
</form>
|
||||
</td>
|
||||
[else]
|
||||
[if-any search_re]
|
||||
<td valign=bottom>
|
||||
</tr>
|
||||
[else]
|
||||
[if-any search_re]
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<form method=get action="[search_tag_action]">
|
||||
[search_tag_hidden_values]
|
||||
<input type="submit" value="Show all files">
|
||||
</form>
|
||||
</td>
|
||||
[end]
|
||||
</tr>
|
||||
[end]
|
||||
</tr>
|
||||
[end]
|
||||
</table>
|
||||
[end]
|
||||
|
||||
|
|
Loading…
Reference in New Issue