hgweb: make stripes in log and search with CSS

This commit is contained in:
Alexander Plavin 2013-07-13 17:59:00 +04:00
parent 4ea0dd71d4
commit b7eaff030b
5 changed files with 18 additions and 6 deletions

View File

@ -41,7 +41,9 @@ files, or words in the commit message</div>
<th class="author">author</th>
<th class="description">description</th>
</tr>
<tbody class="stripes2">
{entries}
</tbody>
</table>
<div class="navigate">

View File

@ -61,7 +61,9 @@ files, or words in the commit message</div>
<th class="author">author</th>
<th class="description">description</th>
</tr>
<tbody class="stripes2">
{entries%shortlogentry}
</tbody>
</table>
<div class="navigate">

View File

@ -1,4 +1,4 @@
<tr class="parity{parity}">
<tr>
<td class="age">{date|rfc822date}</td>
<td class="author">{author|person}</td>
<td class="description"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags % '<span class="tag">{name|escape}</span> '}{bookmarks % '<span class="tag">{name|escape}</span> '}</td>

View File

@ -306,27 +306,29 @@ Logs and changes
<th class="author">author</th>
<th class="description">description</th>
</tr>
<tr class="parity0">
<tbody class="stripes2">
<tr>
<td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
<td class="author">test</td>
<td class="description"><a href="/rev/cad8025a2e87">branch commit with null character: </a><span class="branchhead">unstable</span> <span class="tag">tip</span> <span class="tag">something</span> </td>
</tr>
<tr class="parity1">
<tr>
<td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
<td class="author">test</td>
<td class="description"><a href="/rev/1d22e65f027e">branch</a><span class="branchhead">stable</span> </td>
</tr>
<tr class="parity0">
<tr>
<td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
<td class="author">test</td>
<td class="description"><a href="/rev/a4f92ed23982">Added tag 1.0 for changeset 2ef0ac749a14</a><span class="branchhead">default</span> </td>
</tr>
<tr class="parity1">
<tr>
<td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
<td class="author">test</td>
<td class="description"><a href="/rev/2ef0ac749a14">base</a><span class="tag">1.0</span> <span class="tag">anotherthing</span> </td>
</tr>
</tbody>
</table>
<div class="navigate">
@ -543,12 +545,14 @@ Logs and changes
<th class="author">author</th>
<th class="description">description</th>
</tr>
<tr class="parity0">
<tbody class="stripes2">
<tr>
<td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
<td class="author">test</td>
<td class="description"><a href="/rev/2ef0ac749a14">base</a><span class="tag">1.0</span> <span class="tag">anotherthing</span> </td>
</tr>
</tbody>
</table>
<div class="navigate">

View File

@ -79,7 +79,9 @@ Some tests for hgweb in an empty repository
<th class="author">author</th>
<th class="description">description</th>
</tr>
<tbody class="stripes2">
</tbody>
</table>
<div class="navigate">
@ -172,7 +174,9 @@ Some tests for hgweb in an empty repository
<th class="author">author</th>
<th class="description">description</th>
</tr>
<tbody class="stripes2">
</tbody>
</table>
<div class="navigate">