mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
hgweb: make stripes in log and search with CSS
This commit is contained in:
parent
4ea0dd71d4
commit
b7eaff030b
@ -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">
|
||||
|
@ -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">
|
||||
|
@ -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>
|
||||
|
@ -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">
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user