Mercurial > hg-stable
changeset 154:1d5f799ebe1e
fixed problem with head/body tags, added dtd, fixed table attributes
add quotes around all attributes (w3c recommendation)
pages pass w3c validator
author | jake@edge2.net |
---|---|
date | Tue, 24 May 2005 16:08:09 -0700 |
parents | e8a360cd5a9f |
children | 083c38bdfa64 |
files | templates/changelogentry.tmpl templates/changeset.tmpl templates/fileannotate.tmpl templates/filediff.tmpl templates/filelog.tmpl templates/filelogentry.tmpl templates/filerevision.tmpl templates/header.tmpl templates/manifest.tmpl templates/map |
diffstat | 10 files changed, 51 insertions(+), 54 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/changelogentry.tmpl Tue May 24 07:42:05 2005 -0700 +++ b/templates/changelogentry.tmpl Tue May 24 16:08:09 2005 -0700 @@ -1,24 +1,24 @@ -<div class=parity#parity#> -<table width=100% cellpadding=0 cellspacing=0> +<div class="parity#parity#"> +<table width="100%" cellpadding="0" cellspacing="0"> <tr> - <td align=right width="15%"><b>#age# ago: </b></td> + <td align="right" width="15%"><b>#age# ago: </b></td> <td><b>#shortdesc#</b></td</tr> <tr> - <td align=right>revision: </td> + <td align="right">revision: </td> <td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr> #parent1# #parent2# <tr> - <td align=right>manifest: </td> + <td align="right">manifest: </td> <td><a href="?cmd=manifest;manifest=#manifest#;path=/">#rev#:#manifest#</a></td></tr> <tr> - <td align=right>author: </td> + <td align="right">author: </td> <td>#author#</td></tr> <tr> - <td align=right>date: </td> + <td align="right">date: </td> <td>#date#</td></tr> <tr> - <td align=right valign=top>files: </td> + <td align="right" valign="top">files: </td> <td>#files#</td></tr> </table> </div>
--- a/templates/changeset.tmpl Tue May 24 07:42:05 2005 -0700 +++ b/templates/changeset.tmpl Tue May 24 16:08:09 2005 -0700 @@ -3,7 +3,7 @@ </head> <body> -<div class=buttons> +<div class="buttons"> <a href="?cmd=changelog;rev=#rev#">changelog</a> <a href="?cmd=manifest;manifest=#manifest#;path=/">manifest</a> </div> @@ -12,28 +12,28 @@ <table> <tr> - <td class=metatag>revision:</td> + <td class="metatag">revision:</td> <td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr> #parent1# #parent2# <tr> - <td class=metatag>manifest:</td> + <td class="metatag">manifest:</td> <td><a href="?cmd=manifest;manifest=#manifest#;path=/">#rev#:#manifest#</a></td></tr> <tr> - <td class=metatag>author:</td> + <td class="metatag">author:</td> <td>#author#</td></tr> <tr> - <td class=metatag>date:</td> + <td class="metatag">date:</td> <td>#date#</td></tr> <tr> - <td class=metatag valign=top>files:</td> + <td class="metatag" valign="top">files:</td> <td>#files#</td></tr> <tr> - <td class=metatag valign=top>description:</td> + <td class="metatag" valign="top">description:</td> <td>#desc#</td></tr> </table> -<pre class=parity0> +<pre class="parity0"> #diff# </pre>
--- a/templates/fileannotate.tmpl Tue May 24 07:42:05 2005 -0700 +++ b/templates/fileannotate.tmpl Tue May 24 16:08:09 2005 -0700 @@ -3,7 +3,7 @@ </head> <body> -<div class=buttons> +<div class="buttons"> <a href="?cmd=changelog;rev=#rev#">changelog</a> <a href="?cmd=changeset;node=#node#">changeset</a> <a href="?cmd=manifest;manifest=#manifest#;path=#path#">manifest</a> @@ -15,24 +15,24 @@ <table> <tr> - <td class=metatag>changeset:</td> + <td class="metatag">changeset:</td> <td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr> #parent1# #parent2# <tr> - <td class=metatag>manifest:</td> + <td class="metatag">manifest:</td> <td><a href="?cmd=manifest;manifest=#manifest#;path=/">#rev#:#manifest#</a></td></tr> <tr> - <td class=metatag>author:</td> + <td class="metatag">author:</td> <td>#author#</td></tr> <tr> - <td class=metatag>date:</td> + <td class="metatag">date:</td> <td>#date#</td></tr> </table> <br/> -<table cellspacing=0 cellpadding=0> +<table cellspacing="0" cellpadding="0"> #annotate# </table>
--- a/templates/filediff.tmpl Tue May 24 07:42:05 2005 -0700 +++ b/templates/filediff.tmpl Tue May 24 16:08:09 2005 -0700 @@ -3,7 +3,7 @@ </head> <body> -<div class=buttons> +<div class="buttons"> <a href="?cmd=changelog;rev=#rev#">changelog</a> <a href="?cmd=changeset;node=#node#">changeset</a> <a href="?cmd=file;file=#file#;filenode=#filenode#">file</a> @@ -15,14 +15,14 @@ <table> <tr> - <td class=metatag>revision:</td> + <td class="metatag">revision:</td> <td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr> <tr> - <td class=metatag>parent:</td> + <td class="metatag">parent:</td> <td><a href="?cmd=changeset;node=#p1#">#p1rev#:#p1#</a></td></tr> </table> -<pre class=parity0> +<pre class="parity0"> #diff# </pre>
--- a/templates/filelog.tmpl Tue May 24 07:42:05 2005 -0700 +++ b/templates/filelog.tmpl Tue May 24 16:08:09 2005 -0700 @@ -3,7 +3,7 @@ </head> <body> -<div class=buttons> +<div class="buttons"> <a href="?cmd=changelog">changelog</a> <a href="?cmd=file;file=#file#;filenode=#filenode#">file</a> <a href="?cmd=annotate;file=#file#;filenode=#filenode#">annotate</a>
--- a/templates/filelogentry.tmpl Tue May 24 07:42:05 2005 -0700 +++ b/templates/filelogentry.tmpl Tue May 24 16:08:09 2005 -0700 @@ -1,18 +1,18 @@ -<table class=parity#parity# width=100% cellspacing=0 cellpadding=0> +<table class="parity#parity#" width="100%" cellspacing="0" cellpadding="0"> <tr> - <td align=right width="15%"><b>#age# ago: </b></td> + <td align="right" width="15%"><b>#age# ago: </b></td> <td><b><a href="?cmd=changeset;node=#node#">#shortdesc#</a></b></td</tr> <tr> - <td align=right>revision: </td> + <td align="right">revision: </td> <td><a href="?cmd=file;file=#file#;filenode=#filenode#">#filerev#:#filenode#</a> <a href="?cmd=filediff;file=#file#;node=#node#">(diff)</a> <a href="?cmd=annotate;file=#file#;filenode=#filenode#">(annotate)</a> </td></tr> <tr> - <td align=right>author: </td> + <td align="right">author: </td> <td>#author#</td></tr> <tr> - <td align=right>date: </td> + <td align="right">date: </td> <td>#date#</td></tr> </table>
--- a/templates/filerevision.tmpl Tue May 24 07:42:05 2005 -0700 +++ b/templates/filerevision.tmpl Tue May 24 16:08:09 2005 -0700 @@ -3,7 +3,7 @@ </head> <body> -<div class=buttons> +<div class="buttons"> <a href="?cmd=changelog;rev=#rev#">changelog</a> <a href="?cmd=changeset;node=#node#">changeset</a> <a href="?cmd=manifest;manifest=#manifest#;path=#path#">manifest</a> @@ -15,18 +15,18 @@ <table> <tr> - <td class=metatag>changeset:</td> + <td class="metatag">changeset:</td> <td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr> #parent1# #parent2# <tr> - <td class=metatag>manifest:</td> + <td class="metatag">manifest:</td> <td><a href="?cmd=manifest;manifest=#manifest#;path=/">#rev#:#manifest#</a></td></tr> <tr> - <td class=metatag>author:</td> + <td class="metatag">author:</td> <td>#author#</td></tr> <tr> - <td class=metatag>date:</td> + <td class="metatag">date:</td> <td>#date#</td></tr> </table>
--- a/templates/header.tmpl Tue May 24 07:42:05 2005 -0700 +++ b/templates/header.tmpl Tue May 24 16:08:09 2005 -0700 @@ -1,8 +1,8 @@ Content-type: text/html +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> -</head> <style type="text/css"> a { text-decoration:none; } .parity0 { background-color: #eeeeee; } @@ -26,6 +26,3 @@ } </style> -</head> -<body> -
--- a/templates/manifest.tmpl Tue May 24 07:42:05 2005 -0700 +++ b/templates/manifest.tmpl Tue May 24 16:08:09 2005 -0700 @@ -3,14 +3,14 @@ </head> <body> -<div class=buttons> +<div class="buttons"> <a href="?cmd=changelog;rev=#rev#">changelog</a> <a href="?cmd=changeset;node=#node#">changeset</a> </div> <h2>manifest: #path#</h2> -<div class=parity1><a href="?cmd=manifest;manifest=#manifest#;path=#up#">[up]</a><br /></div> +<div class="parity1"><a href="?cmd=manifest;manifest=#manifest#;path=#up#">[up]</a><br /></div> #entries# #footer#
--- a/templates/map Tue May 24 07:42:05 2005 -0700 +++ b/templates/map Tue May 24 16:08:09 2005 -0700 @@ -8,20 +8,20 @@ changelogentry = changelogentry.tmpl changeset = changeset.tmpl manifest = manifest.tmpl -manifestdirentry = "<div class=parity#parity#><a href="?cmd=manifest;manifest=#manifest#;path=#path#">#basename#/</a><br /></div>" -manifestfileentry = "<div class=parity#parity#><a href="?cmd=file;filenode=#filenode#;file=#file#">#basename#</a><br /></div>" +manifestdirentry = "<div class="parity#parity#"><a href="?cmd=manifest;manifest=#manifest#;path=#path#">#basename#/</a><br /></div>" +manifestfileentry = "<div class="parity#parity#"><a href="?cmd=file;filenode=#filenode#;file=#file#">#basename#</a><br /></div>" filerevision = filerevision.tmpl fileannotate = fileannotate.tmpl filediff = filediff.tmpl filelog = filelog.tmpl -fileline = "<div class=parity#parity#><span class=lineno>#linenumber# </span>#line#</div>" +fileline = "<div class="parity#parity#"><span class="lineno">#linenumber# </span>#line#</div>" filelogentry = filelogentry.tmpl -annotateline = "<tr class=parity#parity#><td class=annotate><a href="?cmd=changeset;node=#node#">#author#@#rev#</a></td><td><pre>#line#</pre></td></tr>" -difflineplus = "<span class=plusline>#line#</span>" -difflineminus = "<span class=minusline>#line#</span>" -difflineat = "<span class=atline>#line#</span>" +annotateline = "<tr class="parity#parity#"><td class="annotate"><a href="?cmd=changeset;node=#node#">#author#@#rev#</a></td><td><pre>#line#</pre></td></tr>" +difflineplus = "<span class="plusline">#line#</span>" +difflineminus = "<span class="minusline">#line#</span>" +difflineat = "<span class="atline">#line#</span>" diffline = "#line#" -changelogparent = "<tr><td align=right>parent: </td><td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr>" -changesetparent = "<tr><td class=metatag>parent:</td><td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr>" -filerevparent = "<tr><td class=metatag>parent:</td><td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr>" -fileannotateparent = "<tr><td class=metatag>parent:</td><td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr>" +changelogparent = "<tr><td align="right">parent: </td><td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr>" +changesetparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr>" +filerevparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr>" +fileannotateparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr>"