##// END OF EJS Templates
Various HTML cleanups...
mpm@selenic.com -
r602:56d81b30 default
parent child Browse files
Show More
@@ -12,34 +12,38 b''
12 12
13 13 <h2>changeset: #desc|escape|firstline#</h2>
14 14
15 <table>
15 <table id="changesetEntry">
16 16 <tr>
17 <td class="metatag">changeset #rev#:</td>
18 <td><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>
17 <th class="changeset">changeset #rev#:</th>
18 <td class="changeset"><a href="?cmd=changeset;node=#node#">#node|short#</a></td>
19 </tr>
19 20 #parent#
20 21 #changesettag#
21 22 <tr>
22 <td class="metatag">manifest:</td>
23 <td><a href="?cmd=manifest;manifest=#manifest#;path=/">#manifest|short#</a></td></tr>
23 <th class="manifest">manifest:</th>
24 <td class="manifest"><a href="?cmd=manifest;manifest=#manifest#;path=/">#manifest|short#</a></td>
25 </tr>
24 26 <tr>
25 <td class="metatag">author:</td>
26 <td>#author|obfuscate#</td></tr>
27 <th class="author">author:</th>
28 <td class="author">#author|obfuscate#</td>
29 </tr>
27 30 <tr>
28 <td class="metatag">date:</td>
29 <td>#date|date# (#date|age# ago)</td></tr>
31 <th class="date">date:</th>
32 <td class="date">#date|date# (#date|age# ago)</td></tr>
30 33 <tr>
31 <td class="metatag" valign="top">files:</td>
32 <td>#files#</td></tr>
34 <th class="files">files:</th>
35 <td class="files">#files#</td></tr>
33 36 <tr>
34 <td class="metatag" valign="top">description:</td>
35 <td>#desc|escape|addbreaks#</td></tr>
37 <th class="description">description:</th>
38 <td class="description">#desc|escape|addbreaks#</td>
39 </tr>
36 40 </table>
37 41
38 <pre>
42 <div id="changesetDiff" class="pre">
39 43 #diff#
40 </pre>
44 </div>
41 45
42 46 </body>
43 </html
47 </html>
44 48
45 49
@@ -15,16 +15,17 b''
15 15
16 16 <h2>#file#</h2>
17 17
18 <table>
18 <table id="filediffEntry">
19 19 <tr>
20 <td class="metatag">revision #rev#:</td>
21 <td><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>
20 <th class="revision">revision #rev#:</th>
21 <td class="revision"><a href="?cmd=changeset;node=#node#">#node|short#</a></td>
22 </tr>
22 23 #parent#
23 24 </table>
24 25
25 <pre>
26 <div id="fileDiff" class="pre">
26 27 #diff#
27 </pre>
28 </div>
28 29
29 30 #footer#
30 31
@@ -26,6 +26,9 b' a { text-decoration:none; }'
26 26 text-align: right;
27 27 }
28 28
29 /* Common */
30 .pre { font-family: monospace; white-space: pre; }
31
29 32 /* Changelog entries */
30 33 .changelogEntry { width: 100%; }
31 34 .changelogEntry th { font-weight: normal; text-align: right; vertical-align: top; width: 15%;}
@@ -36,5 +39,16 b' a { text-decoration:none; }'
36 39 #tagEntries { list-style: none; margin: 0; padding: 0; }
37 40 #tagEntries .tagEntry { list-style: none; margin: 0; padding: 0; }
38 41 #tagEntries .tagEntry span.node { font-family: monospace; }
42
43 /* Changeset entry */
44 #changesetEntry { }
45 #changesetEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; }
46 #changesetEntry th.files, #changesetEntry th.description { vertical-align: top; }
47 #changesetDiff ul, #changesetDiff li { list-style: none; margin: 0; padding: 0; }
48
49 /* File diff view */
50 #filediffEntry { }
51 #filediffEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; }
52 #fileDiff ul, #fileDiff li { list-style: none; margin: 0; padding: 0; }
39 53 -->
40 54 </style>
@@ -19,18 +19,18 b' filelog = filelog.tmpl'
19 19 fileline = "<div class="parity#parity#"><span class="lineno">#linenumber# </span>#line|escape#</div>"
20 20 filelogentry = filelogentry.tmpl
21 21 annotateline = "<tr class="parity#parity#"><td class="annotate"><a href="?cmd=changeset;node=#node#">#author|obfuscate#@#rev#</a></td><td><pre>#line|escape#</pre></td></tr>"
22 difflineplus = "<span class="plusline">#line|escape#</span>"
23 difflineminus = "<span class="minusline">#line|escape#</span>"
24 difflineat = "<span class="atline">#line|escape#</span>"
25 diffline = "#line|escape#"
26 changelogparent = "<tr><th class="parent">parent #rev#:</th><td><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>"
27 changesetparent = "<tr><td class="metatag">parent #rev#:</td><td><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>"
22 difflineplus = "<li class="plusline">#line|escape#</li>"
23 difflineminus = "<li class="minusline">#line|escape#</li>"
24 difflineat = "<li class="atline">#line|escape#</li>"
25 diffline = "<li>#line|escape#</li>"
26 changelogparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>"
27 changesetparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>"
28 28 filerevparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=file;file=#file#;filenode=#node#">#node|short#</a></td></tr>"
29 29 fileannotateparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=annotate;file=#file#;filenode=#node#">#node|short#</a></td></tr>"
30 30 tags = tags.tmpl
31 31 tagentry = "<li class="tagEntry parity#parity#"><span class="node">#node#</span> <a href="?cmd=changeset;node=#node#">#tag#</a></li>"
32 diffblock = "<div class="parity#parity#">#lines#</div>"
33 changelogtag = "<tr><td align="right">tag:&nbsp;</td><td>#tag#</td></tr>"
34 changesettag = "<tr><td class="metatag">tag:&nbsp;</td><td>#tag#</td></tr>"
35 filediffparent = "<tr><td class="metatag">parent #rev#:</td><td><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>"
32 diffblock = "<ul class="parity#parity#">#lines#</ul>"
33 changelogtag = "<tr><th class="tag">tag:</th><td class="tag">#tag#</td></tr>"
34 changesettag = "<tr><th class="tag">tag:</th><td class="tag">#tag#</td></tr>"
35 filediffparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>"
36 36 filelogparent = "<tr><td align="right">parent #rev#:&nbsp;</td><td><a href="?cmd=file;file=#file#;filenode=#node#">#node|short#</a></td></tr>"
General Comments 0
You need to be logged in to leave comments. Login now