##// END OF EJS Templates
Various HTML cleanups...
mpm@selenic.com -
r602:56d81b30 default
parent child Browse files
Show More
@@ -1,45 +1,49 b''
1 1 #header#
2 2 <title>#repo|escape#: changeset #node|short#</title>
3 3 </head>
4 4 <body>
5 5
6 6 <div class="buttons">
7 7 <a href="?cmd=changelog;rev=#rev#">changelog</a>
8 8 <a href="?cmd=tags">tags</a>
9 9 <a href="?cmd=manifest;manifest=#manifest#;path=/">manifest</a>
10 10 <a href="?cmd=changeset;node=#node#;style=raw">raw</a>
11 11 </div>
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
@@ -1,31 +1,32 b''
1 1 #header#
2 2 <title>#repo|escape#: #file# diff</title>
3 3 </head>
4 4 <body>
5 5
6 6 <div class="buttons">
7 7 <a href="?cmd=changelog;rev=#rev#">changelog</a>
8 8 <a href="?cmd=tags">tags</a>
9 9 <a href="?cmd=changeset;node=#node#">changeset</a>
10 10 <a href="?cmd=file;file=#file#;filenode=#filenode#">file</a>
11 11 <a href="?cmd=filelog;file=#file#;filenode=#filenode#">revisions</a>
12 12 <a href="?cmd=annotate;file=#file#;filenode=#filenode#">annotate</a>
13 13 <a href="?cmd=filediff;file=#file#;node=#node#;style=raw">raw</a>
14 14 </div>
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
31 32
@@ -1,40 +1,54 b''
1 1 Content-type: text/html
2 2
3 3 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 4 <html>
5 5 <head>
6 6 <style type="text/css">
7 7 <!--
8 8 a { text-decoration:none; }
9 9 .parity0 { background-color: #dddddd; }
10 10 .parity1 { background-color: #eeeeee; }
11 11 .lineno { width: 60px; color: #aaaaaa; font-size: smaller; }
12 12 .plusline { color: green; }
13 13 .minusline { color: red; }
14 14 .atline { color: purple; }
15 15 .annotate { font-size: smaller; text-align: right; padding-right: 1em; }
16 16 .buttons a {
17 17 background-color: #666666;
18 18 padding: 2pt;
19 19 color: white;
20 20 font-family: sans;
21 21 font-weight: bold;
22 22 }
23 23 .metatag {
24 24 background-color: #888888;
25 25 color: white;
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%;}
32 35 .changelogEntry th.age, .changelogEntry th.firstline { font-weight: bold; }
33 36 .changelogEntry th.firstline { text-align: left; width: inherit; }
34 37
35 38 /* Tag entries */
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>
@@ -1,36 +1,36 b''
1 1 header = header.tmpl
2 2 footer = footer.tmpl
3 3 search = search.tmpl
4 4 changelog = changelog.tmpl
5 5 naventry = "<a href="?cmd=changelog;rev=#rev#">#label#</a> "
6 6 filedifflink = "<a href="?cmd=filediff;node=#node#;file=#file#">#file#</a> "
7 7 filenodelink = "<a href="?cmd=file;filenode=#filenode#;file=#file#">#file#</a> "
8 8 fileellipses = "..."
9 9 changelogentry = changelogentry.tmpl
10 10 searchentry = searchentry.tmpl
11 11 changeset = changeset.tmpl
12 12 manifest = manifest.tmpl
13 13 manifestdirentry = "<tr class="parity#parity#"><td><tt>drwxr-xr-x</tt>&nbsp;<td><a href="?cmd=manifest;manifest=#manifest#;path=#path#">#basename#/</a>"
14 14 manifestfileentry = "<tr class="parity#parity#"><td><tt>#permissions|permissions#</tt>&nbsp;<td><a href="?cmd=file;filenode=#filenode#;file=#file#">#basename#</a>"
15 15 filerevision = filerevision.tmpl
16 16 fileannotate = fileannotate.tmpl
17 17 filediff = filediff.tmpl
18 18 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