[PATCH] W3C validation
Benoît Allard
benoit at aeteurope.nl
Tue Jul 22 08:21:57 CDT 2008
New version of the W3C patch, without the placeholder in the empty
lists. That's mostly typo correction. I hope the long lines can survive
the mailer. I can send a gzip version else.
Regards,
Benoit
# HG changeset patch
# User Benoit Allard <benoit at aeteurope.nl>
# Date 1214347322 -7200
# Node ID aa823b310940e9ae2b588002a1e6b5d56858827a
# Parent d8159dd15db3173c25ee728878e0d67224519463
hgweb: W3C validation
diff -r d8159dd15db3 -r aa823b310940 templates/coal/changeset.tmpl
--- a/templates/coal/changeset.tmpl Sun Jul 20 21:51:13 2008 +0200
+++ b/templates/coal/changeset.tmpl Wed Jun 25 00:42:02 2008 +0200
@@ -18,7 +18,7 @@
<li><a
href="{url}file/{node|short}{sessionvars%urlparameter}">browse</a></li>
</ul>
<ul>
- {archives%archiveentry}</ul>
+ {archives%archiveentry}
</ul>
</div>
@@ -41,7 +41,8 @@
</tr>
<tr>
<th class="date">date</th>
- <td class="date">{date|date} ({date|age} ago)</td></tr>
+ <td class="date">{date|date} ({date|age} ago)</td>
+</tr>
<tr>
<th class="author">parents</th>
<td class="author">{parent%changesetparent}</td>
@@ -52,10 +53,9 @@
</tr>
<tr>
<th class="files">files</th>
- <td class="files">{files}</td></tr>
+ <td class="files">{files}</td>
</tr>
</table>
-<tr>
<div class="overflow">
<table class="bigtable">
@@ -67,6 +67,7 @@
{diff}
</div>
</div>
+</div>
{footer}
diff -r d8159dd15db3 -r aa823b310940 templates/coal/fileannotate.tmpl
--- a/templates/coal/fileannotate.tmpl Sun Jul 20 21:51:13 2008 +0200
+++ b/templates/coal/fileannotate.tmpl Wed Jun 25 00:42:02 2008 +0200
@@ -30,7 +30,7 @@
<div class="main">
<h2>{repo|escape}</h2>
-<h3>annotate {file|escape} @ {rev}:{node|short}</h2>
+<h3>annotate {file|escape} @ {rev}:{node|short}</h3>
<form class="search" action="{url}log">
{sessionvars%hiddenformentry}
@@ -59,7 +59,7 @@
{changesettag}
</table>
-<br/>
+<br>
<div class="overflow">
<table class="bigtable">
diff -r d8159dd15db3 -r aa823b310940 templates/coal/filediff.tmpl
--- a/templates/coal/filediff.tmpl Sun Jul 20 21:51:13 2008 +0200
+++ b/templates/coal/filediff.tmpl Wed Jun 25 00:42:02 2008 +0200
@@ -64,7 +64,7 @@
<th class="lineno">line</th>
<th class="source">diff</th>
</tr>
-<table>
+</table>
{diff}
</div>
</div>
diff -r d8159dd15db3 -r aa823b310940 templates/coal/filelog.tmpl
--- a/templates/coal/filelog.tmpl Sun Jul 20 21:51:13 2008 +0200
+++ b/templates/coal/filelog.tmpl Wed Jun 25 00:42:02 2008 +0200
@@ -4,7 +4,6 @@
href="{url}atom-log/tip/{file|urlescape}" title="Atom feed for
{repo|escape}:{file}">
<link rel="alternate" type="application/rss+xml"
href="{url}rss-log/tip/{file|urlescape}" title="RSS feed for
{repo|escape}:{file}">
-</head>
</head>
<body>
@@ -46,9 +45,9 @@
<table class="bigtable">
<tr>
- <th class="age">age</td>
- <th class="author">author</td>
- <th class="description">description</td>
+ <th class="age">age</th>
+ <th class="author">author</th>
+ <th class="description">description</th>
</tr>
{entries%filelogentry}
</table>
diff -r d8159dd15db3 -r aa823b310940 templates/coal/graph.tmpl
--- a/templates/coal/graph.tmpl Sun Jul 20 21:51:13 2008 +0200
+++ b/templates/coal/graph.tmpl Wed Jun 25 00:42:02 2008 +0200
@@ -49,7 +49,7 @@
</div>
<script type="text/javascript" src="{staticurl}graph.js"></script>
-<script>
+<script type="text/javascript">
<!-- hide script content
document.getElementById('noscript').style.display = 'none';
@@ -69,9 +69,9 @@
}
var revlink = '<li style="_STYLE"><span class="desc">';
-revlink += '<a href="{url}rev/_NODEID{sessionvars%urlparameter}"
title="_NODEID">_DESC</a>';
-revlink += '</span><span class="tag">_TAGS</span>';
-revlink += '<span class="info">_DATE ago, by _USER</span></li>';
+revlink += '<a href="{url}rev/_NODEID{sessionvars%urlparameter}"
title="_NODEID">_DESC<\/a>';
+revlink += '<\/span><span class="tag">_TAGS<\/span>';
+revlink += '<span class="info">_DATE ago, by _USER</span><\/li>';
graph.vertex = function(x, y, color, parity, cur) {
@@ -80,7 +80,7 @@
this.ctx.arc(x, y, radius, 0, Math.PI * 2, true);
this.ctx.fill();
- var bg = '<li class="bg parity' + parity + '"></li>';
+ var bg = '<li class="bg parity' + parity + '"><\/li>';
var left = (this.columns + 1) * this.bg_height;
var nstyle = 'padding-left: ' + left + 'px;';
var item = revlink.replace(/_STYLE/, nstyle);
diff -r d8159dd15db3 -r aa823b310940 templates/coal/header.tmpl
--- a/templates/coal/header.tmpl Sun Jul 20 21:51:13 2008 +0200
+++ b/templates/coal/header.tmpl Wed Jun 25 00:42:02 2008 +0200
@@ -3,5 +3,5 @@
<html>
<head>
<link rel="icon" href="{staticurl}hgicon.png" type="image/png">
-<meta name="robots" content="index, nofollow" />
-<link rel="stylesheet" href="{staticurl}style-coal.css" type="text/css" />
+<meta name="robots" content="index, nofollow" >
+<link rel="stylesheet" href="{staticurl}style-coal.css" type="text/css" >
diff -r d8159dd15db3 -r aa823b310940 templates/coal/map
--- a/templates/coal/map Sun Jul 20 21:51:13 2008 +0200
+++ b/templates/coal/map Wed Jun 25 00:42:02 2008 +0200
@@ -22,8 +22,8 @@
changeset = changeset.tmpl
manifest = manifest.tmpl
-direntry = '<tr class="fileline parity{parity}"><td class="name"><a
href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}"><img
src="{staticurl}coal-folder.png"> {basename|escape}/</a><td
class="size"></td><td class="permissions">drwxr-xr-x</td></tr>'
-fileentry = '<tr class="fileline parity{parity}"><td
class="filename"><a
href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l1"><img
src="{staticurl}coal-file.png"> {basename|escape}</a></td><td
class="size">{size}</td><td
class="permissions">{permissions|permissions}</td></tr>'
+direntry = '<tr class="fileline parity{parity}"><td class="name"><a
href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}"><img
src="{staticurl}coal-folder.png" alt="dir"> {basename|escape}/</a><td
class="size"></td><td class="permissions">drwxr-xr-x</td></tr>'
+fileentry = '<tr class="fileline parity{parity}"><td
class="filename"><a
href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l1"><img
src="{staticurl}coal-file.png" alt="file"> {basename|escape}</a></td><td
class="size">{size}</td><td
class="permissions">{permissions|permissions}</td></tr>'
filerevision = filerevision.tmpl
fileannotate = fileannotate.tmpl
@@ -68,4 +68,4 @@
notfound = notfound.tmpl
error = error.tmpl
urlparameter = '{separator}{name}={value|urlescape}'
-hiddenformentry = '<input type="hidden" name="{name}"
value="{value|escape}" />'
+hiddenformentry = '<input type="hidden" name="{name}"
value="{value|escape}" >'
diff -r d8159dd15db3 -r aa823b310940 templates/coal/shortlog.tmpl
--- a/templates/coal/shortlog.tmpl Sun Jul 20 21:51:13 2008 +0200
+++ b/templates/coal/shortlog.tmpl Wed Jun 25 00:42:02 2008 +0200
@@ -40,10 +40,10 @@
<div class="navigate">rev {rev}: {changenav%navshortentry}</div>
<table class="bigtable">
- <tr>
- <th class="age">age</td>
- <th class="author">author</td>
- <th class="description">description</td>
+ <tr>
+ <th class="age">age</th>
+ <th class="author">author</th>
+ <th class="description">description</th>
</tr>
{entries%shortlogentry}
</table>
diff -r d8159dd15db3 -r aa823b310940 templates/gitweb/graph.tmpl
--- a/templates/gitweb/graph.tmpl Sun Jul 20 21:51:13 2008 +0200
+++ b/templates/gitweb/graph.tmpl Wed Jun 25 00:42:02 2008 +0200
@@ -41,7 +41,7 @@
</div>
<script type="text/javascript" src="#staticurl#graph.js"></script>
-<script>
+<script type="text/javascript">
<!-- hide script content
document.getElementById('noscript').style.display = 'none';
@@ -61,9 +61,9 @@
}
var revlink = '<li style="_STYLE"><span class="desc">';
-revlink += '<a class="list"
href="{url}rev/_NODEID{sessionvars%urlparameter}"
title="_NODEID"><b>_DESC</b></a>';
-revlink += '</span> _TAGS';
-revlink += '<span class="info">_DATE ago, by _USER</span></li>';
+revlink += '<a class="list"
href="{url}rev/_NODEID{sessionvars%urlparameter}"
title="_NODEID"><b>_DESC<\/b><\/a>';
+revlink += '<\/span> _TAGS';
+revlink += '<span class="info">_DATE ago, by _USER<\/span><\/li>';
graph.vertex = function(x, y, color, parity, cur) {
@@ -72,7 +72,7 @@
this.ctx.arc(x, y, radius, 0, Math.PI * 2, true);
this.ctx.fill();
- var bg = '<li class="bg parity' + parity + '"></li>';
+ var bg = '<li class="bg parity' + parity + '"><\/li>';
var left = (this.columns + 1) * this.bg_height;
var nstyle = 'padding-left: ' + left + 'px;';
var item = revlink.replace(/_STYLE/, nstyle);
@@ -88,18 +88,18 @@
tagspan = '<span class="logtags">';
if (cur[6][1]) {
tagspan += '<span class="branchtag" title="' + cur[6][0] + '">';
- tagspan += cur[6][0] + '</span> ';
+ tagspan += cur[6][0] + '<\/span> ';
} else if (!cur[6][1] && cur[6][0] != 'default') {
tagspan += '<span class="inbranchtag" title="' + cur[6][0] + '">';
- tagspan += cur[6][0] + '</span> ';
+ tagspan += cur[6][0] + '<\/span> ';
}
if (cur[7].length) {
for (var t in cur[7]) {
var tag = cur[7][t];
- tagspan += '<span class="tagtag">' + tag + '</span> ';
+ tagspan += '<span class="tagtag">' + tag + '<\/span> ';
}
}
- tagspan += '</span>';
+ tagspan += '<\/span>';
}
item = item.replace(/_TAGS/, tagspan);
diff -r d8159dd15db3 -r aa823b310940 templates/gitweb/map
--- a/templates/gitweb/map Sun Jul 20 21:51:13 2008 +0200
+++ b/templates/gitweb/map Wed Jun 25 00:42:02 2008 +0200
@@ -19,7 +19,7 @@
changeset = changeset.tmpl
manifest = manifest.tmpl
direntry = '<tr class="parity#parity#"><td
style="font-family:monospace">drwxr-xr-x</td><td
style="font-family:monospace"></td><td
style="font-family:monospace"></td><td><a
href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">#basename|escape#</a></td><td
class="link"><a
href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a></td></tr>'
-fileentry = '<tr class="parity#parity#"><td
style="font-family:monospace">#permissions|permissions#</td><td
style="font-family:monospace" align=right>#date|isodate#</td><td
style="font-family:monospace" align=right>#size#</td><td class="list"><a
class="list"
href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#basename|escape#</a></td><td
class="link"><a
href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a>
| <a
href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a>
| <a
href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a></td></tr>'
+fileentry = '<tr class="parity#parity#"><td
style="font-family:monospace">#permissions|permissions#</td><td
style="font-family:monospace" align="right">#date|isodate#</td><td
style="font-family:monospace" align="right">#size#</td><td
class="list"><a class="list"
href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#basename|escape#</a></td><td
class="link"><a
href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a>
| <a
href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a>
| <a
href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a></td></tr>'
filerevision = filerevision.tmpl
fileannotate = fileannotate.tmpl
filediff = filediff.tmpl
@@ -55,7 +55,7 @@
tagtag = '<span class="tagtag" title="{name}">{name}</span> '
branchtag = '<span class="branchtag" title="{name}">{name}</span> '
inbranchtag = '<span class="inbranchtag" title="{name}">{name}</span> '
-shortlogentry = '<tr class="parity#parity#"><td
class="age"><i>#date|age#
ago</i></td><td><i>#author|person#</i></td><td><a class="list"
href="{url}rev/#node|short#{sessionvars%urlparameter}"><b>#desc|strip|firstline|escape#</b>
<span
class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span></a></td><td
class="link" nowrap><a
href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a> |
<a
href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></td></tr>'
+shortlogentry = '<tr class="parity#parity#"><td
class="age"><i>#date|age#
ago</i></td><td><i>#author|person#</i></td><td><a class="list"
href="{url}rev/#node|short#{sessionvars%urlparameter}"><b>#desc|strip|firstline|escape#</b>
<span
class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span></a></td><td
class="link"><a
href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a> |
<a
href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></td></tr>'
filelogentry = '<tr class="parity#parity#"><td
class="age"><i>#date|age# ago</i></td><td><a class="list"
href="{url}rev/#node|short#{sessionvars%urlparameter}"><b>#desc|strip|firstline|escape#</b></a></td><td
class="link"><a
href="{url}file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a> | <a
href="{url}diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">diff</a> | <a
href="{url}annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a>
#rename%filelogrename#</td></tr>'
archiveentry = ' | <a
href="{url}archive/{node|short}{extension}">#type|escape#</a> '
indexentry = '<tr class="parity{parity}"><td><a class="list"
href="{url}{sessionvars%urlparameter}"><b>{name|escape}</b></a></td><td>{description}</td><td>{contact|obfuscate}</td><td
class="age">{lastchange|age} ago</td><td
class="indexlinks">{archives%indexarchiveentry}</td><td><div
class="rss_logo"><a href="{url}rss-log">RSS</a> <a
href="{url}atom-log">Atom</a></div></td></tr>\n'
diff -r d8159dd15db3 -r aa823b310940 templates/paper/header.tmpl
--- a/templates/paper/header.tmpl Sun Jul 20 21:51:13 2008 +0200
+++ b/templates/paper/header.tmpl Wed Jun 25 00:42:02 2008 +0200
@@ -3,5 +3,5 @@
<html>
<head>
<link rel="icon" href="{staticurl}hgicon.png" type="image/png">
-<meta name="robots" content="index, nofollow" />
-<link rel="stylesheet" href="{staticurl}style-paper.css" type="text/css" />
+<meta name="robots" content="index, nofollow">
+<link rel="stylesheet" href="{staticurl}style-paper.css" type="text/css">
diff -r d8159dd15db3 -r aa823b310940 templates/paper/map
--- a/templates/paper/map Sun Jul 20 21:51:13 2008 +0200
+++ b/templates/paper/map Wed Jun 25 00:42:02 2008 +0200
@@ -22,8 +22,8 @@
changeset = ../coal/changeset.tmpl
manifest = ../coal/manifest.tmpl
-direntry = '<tr class="fileline parity{parity}"><td class="name"><a
href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}"><img
src="{staticurl}coal-folder.png"> {basename|escape}/</a><td
class="size"></td><td class="permissions">drwxr-xr-x</td></tr>'
-fileentry = '<tr class="fileline parity{parity}"><td
clase="filename"><a
href="{url}file/{node|short}/{file|urlescape}#l1{sessionvars%urlparameter}"><img
src="{staticurl}coal-file.png"> {basename|escape}</a></td><td
class="size">{size}</td><td
class="permissions">{permissions|permissions}</td></tr>'
+direntry = '<tr class="fileline parity{parity}"><td class="name"><a
href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}"><img
src="{staticurl}coal-folder.png" alt="dir"> {basename|escape}/</a><td
class="size"></td><td class="permissions">drwxr-xr-x</td></tr>'
+fileentry = '<tr class="fileline parity{parity}"><td
class="filename"><a
href="{url}file/{node|short}/{file|urlescape}#l1{sessionvars%urlparameter}"><img
src="{staticurl}coal-file.png" alt="file"> {basename|escape}</a></td><td
class="size">{size}</td><td
class="permissions">{permissions|permissions}</td></tr>'
filerevision = ../coal/filerevision.tmpl
fileannotate = ../coal/fileannotate.tmpl
diff -r d8159dd15db3 -r aa823b310940 templates/static/style-gitweb.css
--- a/templates/static/style-gitweb.css Sun Jul 20 21:51:13 2008 +0200
+++ b/templates/static/style-gitweb.css Wed Jun 25 00:42:02 2008 +0200
@@ -33,7 +33,7 @@
tr.dark, .parity1 { background-color:#f6f6f0; }
tr.dark:hover, .parity1:hover { background-color:#edece6; }
td { padding:2px 5px; font-size:12px; vertical-align:top; }
-td.link { padding:2px 5px; font-family:sans-serif; font-size:10px; }
+td.link { padding:2px 5px; font-family:sans-serif; font-size:10px;
white-space: nowrap; }
td.indexlinks { white-space: nowrap; }
td.indexlinks a {
padding: 2px 5px; line-height: 10px;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4197 bytes
Desc: S/MIME Cryptographic Signature
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20080722/4a6223cb/attachment.bin
More information about the Mercurial-devel
mailing list