templates/coal/filerevision.tmpl
author Brendan Cully <brendan@kublai.com>
Thu, 20 Nov 2008 18:15:50 -0800
changeset 7394 03b60f2f90bf
parent 7331 650e9d6988cb
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} {file|escape}</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>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     5
6453
cb16217ff4d8 coal: more tweaking
Matt Mackall <mpm@selenic.com>
parents: 6452
diff changeset
     6
<div class="container">
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     7
<div class="menu">
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     8
<div class="logo">
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     9
<a href="http://www.selenic.com/mercurial/">
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    10
<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
    11
</div>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    12
<ul>
6775
54ccf41761c9 coal: include current node in log, graph menu links
Brendan Cully <brendan@kublai.com>
parents: 6691
diff changeset
    13
<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
    14
<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
    15
<li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
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
<ul>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    18
<li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    19
<li><a href="{url}file/{node|short}{path|urlescape}{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>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    22
<li class="active">file</li>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    23
<li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    24
<li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li>
6453
cb16217ff4d8 coal: more tweaking
Matt Mackall <mpm@selenic.com>
parents: 6452
diff changeset
    25
<li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li>
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    26
<li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    27
</ul>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    28
</div>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    29
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    30
<div class="main">
7331
650e9d6988cb Keep sessionvars with repository links added in a0843c82d1a2
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7327
diff changeset
    31
<h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
6452
d93f2f39bef4 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6436
diff changeset
    32
<h3>view {file|escape} @ {rev}:{node|short}</h3>
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    33
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    34
<form class="search" action="{url}log">
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    35
{sessionvars%hiddenformentry}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    36
<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
    37
<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: 6775
diff changeset
    38
files, or words in the commit message</span>
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    39
</form>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    40
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    41
<div class="description">{desc|strip|escape|addbreaks}</div>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    42
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    43
<table id="changesetEntry">
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
 <th class="author">author</th>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    46
 <td class="author">{author|obfuscate}</td>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    47
</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="date">date</th>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    50
 <td class="date">{date|date} ({date|age} ago)</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">parents</th>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    54
 <td class="author">{parent%filerevparent}</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="author">children</th>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    58
 <td class="author">{child%filerevchild}</td>
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
{changesettag}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    61
</table>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    62
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    63
<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
    64
<div class="sourcefirst"> line source</div>
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    65
{text%fileline}
7394
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7331
diff changeset
    66
<div class="sourcelast"></div>
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    67
</div>
6453
cb16217ff4d8 coal: more tweaking
Matt Mackall <mpm@selenic.com>
parents: 6452
diff changeset
    68
</div>
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    69
</div>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    70
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    71
{footer}