Add thead/tbody tags to log_table.ezt, query.ezt and revision.ezt

git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@895 8cb11bc2-c004-0410-86c3-e597b4017df7
remotes/tags/1.0.0-rc1
jhenstridge 2004-07-23 09:55:50 +00:00
parent 09165074cf
commit 4f348926fe
3 changed files with 22 additions and 9 deletions

View File

@ -15,22 +15,27 @@
[include "include/paging.ezt"]
<hr noshade>
<table width="100%" border=0 cellspacing=1 cellpadding=2>
<th align=left class="vc_header[is logsort "rev"]_sort[end]">Revision</th>
<table width="100%" border="0" cellspacing="1" cellpadding="2">
<thead>
<tr>
<th align="left" class="vc_header[is logsort "rev"]_sort[end]">Revision</th>
[is pathtype "file"]
<th align=left class="vc_header">Tasks</th>
<th align=left class="vc_header">Diffs</th>
<th align="left" class="vc_header">Tasks</th>
<th align="left" class="vc_header">Diffs</th>
[end]
[is roottype "cvs"]
<th align=left class="vc_header">Branches/<br>Tags</th>
<th align="left" class="vc_header">Branches/<br>Tags</th>
[end]
<th align=left class="vc_header[is logsort "date"]_sort[end]">Age</th>
<th align=left class="vc_header">Author</th>
<th align="left" class="vc_header[is logsort "date"]_sort[end]">Age</th>
<th align="left" class="vc_header">Author</th>
</tr>
</thead>
[for entries]
<tbody>
<tr valign="top" class="vc_row_[if-index entries even]even[else]odd[end]">
[# Revision column]
<td rowspan=2>
<td rowspan="2">
[is roottype "svn"]<a href="[entries.revision_href]"><b>[entries.rev]</b></a>[else]<b>[entries.rev]</b>[end]
<a name="rev[entries.rev]"></a>
</td>
@ -157,7 +162,7 @@
<b>Log: </b><pre class="vc_log">[entries.html_log]</pre>
</td>
</tr>
</tbody>
[end]
</table>

View File

@ -163,6 +163,7 @@
[if-any commits]
<table width="100%" border=0 cellspacing=0 cellpadding=2>
<thead>
<tr class="vc_header">
<th align=left valign=top>Revision</th>
<th align=left valign=top>File</th>
@ -174,7 +175,9 @@
<th align=left valign=top>Description</th>
]
</tr>
</thead>
[for commits]
<tbody>
[for commits.files]
<tr class="vc_row_[if-index commits even]even[else]odd[end]">
<td align=left valign=top>
@ -220,6 +223,7 @@
[end]
[# ---]
[end]
</tbody>
[end]
<tr class="vc_header">

View File

@ -40,6 +40,7 @@
<p><b>Changed paths:</b></p>
<table border="0" cellspacing="1" cellpadding="2">
<thead>
<tr align=left>
<th class="vc_header_sort">Path</th>
<th class="vc_header">Action</th>
@ -47,6 +48,8 @@
<th class="vc_header">Prop Changes</th>
<th class="vc_header">Diff to Previous</th>
</tr>
</thead>
<tbody>
[if-any changes]
[for changes]
<tr class="vc_row_[if-index changes even]even[else]odd[end]">
@ -82,6 +85,7 @@
<td colspan="5">No changed paths.</td>
</tr>
[end]
</tbody>
</table>
[include "include/footer.ezt"]