changeset 6905:248e54a9456e

coal/paper: make output well-formed and fix css syntax error breaking rendering
author Rocco Rutte <pdmef@gmx.net>
date Mon, 18 Aug 2008 15:58:17 +0200
parents 438e02b4be73
children 808f03f61ebe
files templates/changeset.tmpl templates/coal/changeset.tmpl templates/coal/fileannotate.tmpl templates/coal/filediff.tmpl templates/coal/filelog.tmpl templates/coal/graph.tmpl templates/coal/index.tmpl templates/coal/search.tmpl templates/coal/shortlog.tmpl templates/fileannotate.tmpl templates/filelog.tmpl templates/graph.tmpl templates/index.tmpl templates/paper/map templates/static/style-paper.css
diffstat 15 files changed, 30 insertions(+), 31 deletions(-) [+]
line wrap: on
line diff
--- a/templates/changeset.tmpl	Wed Aug 13 20:36:37 2008 -0500
+++ b/templates/changeset.tmpl	Mon Aug 18 15:58:17 2008 +0200
@@ -29,10 +29,12 @@
 </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="files">files:</th>
- <td class="files">#files#</td></tr>
+ <td class="files">#files#</td>
+</tr>
 <tr>
  <th class="description">description:</th>
  <td class="description">#desc|strip|escape|addbreaks#</td>
--- a/templates/coal/changeset.tmpl	Wed Aug 13 20:36:37 2008 -0500
+++ b/templates/coal/changeset.tmpl	Mon Aug 18 15:58:17 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>
 
@@ -52,10 +52,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">
@@ -66,7 +65,7 @@
 </table>
 {diff}
 </div>
+
+</div>
 </div>
 {footer}
-
-
--- a/templates/coal/fileannotate.tmpl	Wed Aug 13 20:36:37 2008 -0500
+++ b/templates/coal/fileannotate.tmpl	Mon Aug 18 15:58:17 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}
--- a/templates/coal/filediff.tmpl	Wed Aug 13 20:36:37 2008 -0500
+++ b/templates/coal/filediff.tmpl	Mon Aug 18 15:58:17 2008 +0200
@@ -64,12 +64,11 @@
  <th class="lineno">line</th>
  <th class="source">diff</th>
 </tr>
-<table>
+</table>
+
 {diff}
 </div>
-</div>	
+</div>
 </div>
 
 {footer}
-
-
--- a/templates/coal/filelog.tmpl	Wed Aug 13 20:36:37 2008 -0500
+++ b/templates/coal/filelog.tmpl	Mon Aug 18 15:58:17 2008 +0200
@@ -5,7 +5,6 @@
 <link rel="alternate" type="application/rss+xml"
    href="{url}rss-log/tip/{file|urlescape}" title="RSS feed for {repo|escape}:{file}">
 </head>
-</head>
 <body>
 
 <div class="container">
@@ -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>
--- a/templates/coal/graph.tmpl	Wed Aug 13 20:36:37 2008 -0500
+++ b/templates/coal/graph.tmpl	Mon Aug 18 15:58:17 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';
--- a/templates/coal/index.tmpl	Wed Aug 13 20:36:37 2008 -0500
+++ b/templates/coal/index.tmpl	Mon Aug 18 15:58:17 2008 +0200
@@ -18,7 +18,7 @@
         <th><a href="?sort={sort_contact}">Contact</a></th>
         <th><a href="?sort={sort_lastchange}">Last change</a></th>
         <th>&nbsp;</th>
-    <tr>
+    </tr>
     {entries%indexentry}
 </table>
 </div>
--- a/templates/coal/search.tmpl	Wed Aug 13 20:36:37 2008 -0500
+++ b/templates/coal/search.tmpl	Mon Aug 18 15:58:17 2008 +0200
@@ -28,9 +28,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}
 </table>
--- a/templates/coal/shortlog.tmpl	Wed Aug 13 20:36:37 2008 -0500
+++ b/templates/coal/shortlog.tmpl	Mon Aug 18 15:58:17 2008 +0200
@@ -41,9 +41,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%shortlogentry}
 </table>
--- a/templates/fileannotate.tmpl	Wed Aug 13 20:36:37 2008 -0500
+++ b/templates/fileannotate.tmpl	Mon Aug 18 15:58:17 2008 +0200
@@ -28,10 +28,12 @@
  <td>#author|obfuscate#</td></tr>
 <tr>
  <td class="metatag">date:</td>
- <td>#date|date# (#date|age# ago)</td></tr>
+ <td>#date|date# (#date|age# ago)</td>
+</tr>
 <tr>
  <td class="metatag">permissions:</td>
- <td>#permissions|permissions#</td></tr>
+ <td>#permissions|permissions#</td>
+</tr>
 <tr>
   <td class="metatag">description:</td>
   <td>{desc|strip|escape|addbreaks}</td>
--- a/templates/filelog.tmpl	Wed Aug 13 20:36:37 2008 -0500
+++ b/templates/filelog.tmpl	Mon Aug 18 15:58:17 2008 +0200
@@ -5,7 +5,6 @@
 <link rel="alternate" type="application/rss+xml"
    href="#url#rss-log/tip/#file|urlescape#" title="RSS feed for #repo|escape#:#file#">
 </head>
-</head>
 <body>
 
 <div class="buttons">
--- a/templates/graph.tmpl	Wed Aug 13 20:36:37 2008 -0500
+++ b/templates/graph.tmpl	Mon Aug 18 15:58:17 2008 +0200
@@ -35,7 +35,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';
--- a/templates/index.tmpl	Wed Aug 13 20:36:37 2008 -0500
+++ b/templates/index.tmpl	Mon Aug 18 15:58:17 2008 +0200
@@ -12,7 +12,7 @@
         <td><a href="?sort=#sort_contact#">Contact</a></td>
         <td><a href="?sort=#sort_lastchange#">Last change</a></td>
         <td>&nbsp;</td>
-    <tr>
+    </tr>
     #entries%indexentry#
 </table>
 
--- a/templates/paper/map	Wed Aug 13 20:36:37 2008 -0500
+++ b/templates/paper/map	Mon Aug 18 15:58:17 2008 +0200
@@ -23,7 +23,7 @@
 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>'
+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"> {basename|escape}</a></td><td class="size">{size}</td><td class="permissions">{permissions|permissions}</td></tr>'
 
 filerevision = ../coal/filerevision.tmpl
 fileannotate = ../coal/fileannotate.tmpl
--- a/templates/static/style-paper.css	Wed Aug 13 20:36:37 2008 -0500
+++ b/templates/static/style-paper.css	Mon Aug 18 15:58:17 2008 +0200
@@ -39,7 +39,6 @@
   position: absolute !important;
   top:expression(eval(document.body.scrollTop + 27));
 }
-}
 
 .menu ul {
   list-style: none;