templates/coal/filediff.tmpl
author Matt Mackall <mpm@selenic.com>
Wed, 02 Apr 2008 18:47:19 -0500
changeset 6453 cb16217ff4d8
parent 6452 d93f2f39bef4
child 6454 eec89a03db08
permissions -rw-r--r--
coal: more tweaking - add quirksmode hack in attempt to make MSIE happy - add container divs for more browsers compatibility - fix file log button on file page - link to first line of file source from browser - change revision navigator style
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}: {file|escape} diff</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>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    13
<li><a href="{url}shortlog/{sessionvars%urlparameter}">log</a></li>
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><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
    18
<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
    19
</ul>
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
<li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    22
<li class="active">diff</li>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    23
<li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    24
<li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    25
<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
    26
</ul>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    27
</div>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    28
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    29
<div class="main">
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    30
<h2>{repo|escape}</h2>
6452
d93f2f39bef4 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6436
diff changeset
    31
<h3>diff {file|escape} @ {rev}:{node|short}</h3>
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    32
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    33
<form class="search" action="{url}log">
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    34
{sessionvars%hiddenformentry}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    35
<p><input name="rev" id="search1" type="text" size="30"></p>
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>author</th>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    43
 <td>{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>date</th>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    47
 <td>{date|date} ({date|age} ago)</td>
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
<tr>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    50
 <th>parents</th>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    51
 <td>{parent%filerevparent}</td>
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
<tr>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    54
 <th>children</th>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    55
 <td>{child%filerevchild}</td>
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
{changesettag}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    58
</table>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    59
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    60
<div class="overflow">
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    61
<table class="bigtable">
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    62
<tr>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    63
 <th class="lineno">Line</th>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    64
 <th class="source">Diff</th>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    65
</tr>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    66
<table>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    67
{diff}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    68
</div>
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    69
</div>	
6453
cb16217ff4d8 coal: more tweaking
Matt Mackall <mpm@selenic.com>
parents: 6452
diff changeset
    70
</div>
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    71
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    72
{footer}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    73
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    74