templates/coal/changeset.tmpl
author Brendan Cully <brendan@kublai.com>
Thu, 20 Nov 2008 18:15:50 -0800
changeset 7394 03b60f2f90bf
parent 7331 650e9d6988cb
child 7410 f1111704061e
permissions -rw-r--r--
hgweb (coal/paper): make file, diff and annotate easier to render This patch removes tables altogether for file and diff, and removes one column from annotate, making firefox's incremental renderer much faster for large files.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     1
{header}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     2
<title>{repo|escape}: {node|short}</title>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     3
</head>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     4
<body>
6453
cb16217ff4d8 coal: more tweaking
Matt Mackall <mpm@selenic.com>
parents: 6452
diff changeset
     5
<div class="container">
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     6
<div class="menu">
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     7
<div class="logo">
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     8
<a href="http://www.selenic.com/mercurial/">
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     9
<img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    10
</div>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    11
<ul>
6775
54ccf41761c9 coal: include current node in log, graph menu links
Brendan Cully <brendan@kublai.com>
parents: 6691
diff changeset
    12
 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
54ccf41761c9 coal: include current node in log, graph menu links
Brendan Cully <brendan@kublai.com>
parents: 6691
diff changeset
    13
 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    14
 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    15
</ul>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    16
<ul>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    17
 <li class="active">changeset</li>
6946
0061498f8ab8 coal/paper: Add link to raw changeset as other styles have it, too
Rocco Rutte <pdmef@gmx.net>
parents: 6905
diff changeset
    18
 <li><a href="{url}raw-rev/{node|short}{sessionvars%urlparameter}">raw</a></li>
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    19
 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">browse</a></li>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    20
</ul>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    21
<ul>
6905
248e54a9456e coal/paper: make output well-formed and fix css syntax error breaking rendering
Rocco Rutte <pdmef@gmx.net>
parents: 6775
diff changeset
    22
 {archives%archiveentry}
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    23
</ul>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    24
</div>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    25
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    26
<div class="main">
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    27
7331
650e9d6988cb Keep sessionvars with repository links added in a0843c82d1a2
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7327
diff changeset
    28
<h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
6452
d93f2f39bef4 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6436
diff changeset
    29
<h3>changeset {rev}:{node|short} {changesettag}</h3>
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    30
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    31
<form class="search" action="{url}log">
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    32
{sessionvars%hiddenformentry}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    33
<p><input name="rev" id="search1" type="text" size="30"></p>
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
    34
<span>find changesets by author, revision,
7299
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 6946
diff changeset
    35
files, or words in the commit message</span>
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    36
</form>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    37
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    38
<div class="description">{desc|strip|escape|addbreaks}</div>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    39
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    40
<table id="changesetEntry">
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    41
<tr>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    42
 <th class="author">author</th>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    43
 <td class="author">{author|obfuscate}</td>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    44
</tr>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    45
<tr>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    46
 <th class="date">date</th>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    47
 <td class="date">{date|date} ({date|age} ago)</td></tr>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    48
<tr>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    49
 <th class="author">parents</th>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    50
 <td class="author">{parent%changesetparent}</td>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    51
</tr>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    52
<tr>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    53
 <th class="author">children</th>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    54
 <td class="author">{child%changesetchild}</td>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    55
</tr>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    56
<tr>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    57
 <th class="files">files</th>
6905
248e54a9456e coal/paper: make output well-formed and fix css syntax error breaking rendering
Rocco Rutte <pdmef@gmx.net>
parents: 6775
diff changeset
    58
 <td class="files">{files}</td>
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    59
</tr>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    60
</table>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    61
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    62
<div class="overflow">
7394
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7331
diff changeset
    63
<div class="sourcefirst">   line diff</div>
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7331
diff changeset
    64
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    65
{diff}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    66
</div>
6905
248e54a9456e coal/paper: make output well-formed and fix css syntax error breaking rendering
Rocco Rutte <pdmef@gmx.net>
parents: 6775
diff changeset
    67
248e54a9456e coal/paper: make output well-formed and fix css syntax error breaking rendering
Rocco Rutte <pdmef@gmx.net>
parents: 6775
diff changeset
    68
</div>
6453
cb16217ff4d8 coal: more tweaking
Matt Mackall <mpm@selenic.com>
parents: 6452
diff changeset
    69
</div>
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    70
{footer}