##// 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 #header#
1 #header#
2 <title>#repo|escape#: changeset #node|short#</title>
2 <title>#repo|escape#: changeset #node|short#</title>
3 </head>
3 </head>
4 <body>
4 <body>
5
5
6 <div class="buttons">
6 <div class="buttons">
7 <a href="?cmd=changelog;rev=#rev#">changelog</a>
7 <a href="?cmd=changelog;rev=#rev#">changelog</a>
8 <a href="?cmd=tags">tags</a>
8 <a href="?cmd=tags">tags</a>
9 <a href="?cmd=manifest;manifest=#manifest#;path=/">manifest</a>
9 <a href="?cmd=manifest;manifest=#manifest#;path=/">manifest</a>
10 <a href="?cmd=changeset;node=#node#;style=raw">raw</a>
10 <a href="?cmd=changeset;node=#node#;style=raw">raw</a>
11 </div>
11 </div>
12
12
13 <h2>changeset: #desc|escape|firstline#</h2>
13 <h2>changeset: #desc|escape|firstline#</h2>
14
14
15 <table>
15 <table id="changesetEntry">
16 <tr>
16 <tr>
17 <td class="metatag">changeset #rev#:</td>
17 <th class="changeset">changeset #rev#:</th>
18 <td><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>
18 <td class="changeset"><a href="?cmd=changeset;node=#node#">#node|short#</a></td>
19 </tr>
19 #parent#
20 #parent#
20 #changesettag#
21 #changesettag#
21 <tr>
22 <tr>
22 <td class="metatag">manifest:</td>
23 <th class="manifest">manifest:</th>
23 <td><a href="?cmd=manifest;manifest=#manifest#;path=/">#manifest|short#</a></td></tr>
24 <td class="manifest"><a href="?cmd=manifest;manifest=#manifest#;path=/">#manifest|short#</a></td>
25 </tr>
24 <tr>
26 <tr>
25 <td class="metatag">author:</td>
27 <th class="author">author:</th>
26 <td>#author|obfuscate#</td></tr>
28 <td class="author">#author|obfuscate#</td>
29 </tr>
27 <tr>
30 <tr>
28 <td class="metatag">date:</td>
31 <th class="date">date:</th>
29 <td>#date|date# (#date|age# ago)</td></tr>
32 <td class="date">#date|date# (#date|age# ago)</td></tr>
30 <tr>
33 <tr>
31 <td class="metatag" valign="top">files:</td>
34 <th class="files">files:</th>
32 <td>#files#</td></tr>
35 <td class="files">#files#</td></tr>
33 <tr>
36 <tr>
34 <td class="metatag" valign="top">description:</td>
37 <th class="description">description:</th>
35 <td>#desc|escape|addbreaks#</td></tr>
38 <td class="description">#desc|escape|addbreaks#</td>
39 </tr>
36 </table>
40 </table>
37
41
38 <pre>
42 <div id="changesetDiff" class="pre">
39 #diff#
43 #diff#
40 </pre>
44 </div>
41
45
42 </body>
46 </body>
43 </html
47 </html>
44
48
45
49
@@ -1,31 +1,32 b''
1 #header#
1 #header#
2 <title>#repo|escape#: #file# diff</title>
2 <title>#repo|escape#: #file# diff</title>
3 </head>
3 </head>
4 <body>
4 <body>
5
5
6 <div class="buttons">
6 <div class="buttons">
7 <a href="?cmd=changelog;rev=#rev#">changelog</a>
7 <a href="?cmd=changelog;rev=#rev#">changelog</a>
8 <a href="?cmd=tags">tags</a>
8 <a href="?cmd=tags">tags</a>
9 <a href="?cmd=changeset;node=#node#">changeset</a>
9 <a href="?cmd=changeset;node=#node#">changeset</a>
10 <a href="?cmd=file;file=#file#;filenode=#filenode#">file</a>
10 <a href="?cmd=file;file=#file#;filenode=#filenode#">file</a>
11 <a href="?cmd=filelog;file=#file#;filenode=#filenode#">revisions</a>
11 <a href="?cmd=filelog;file=#file#;filenode=#filenode#">revisions</a>
12 <a href="?cmd=annotate;file=#file#;filenode=#filenode#">annotate</a>
12 <a href="?cmd=annotate;file=#file#;filenode=#filenode#">annotate</a>
13 <a href="?cmd=filediff;file=#file#;node=#node#;style=raw">raw</a>
13 <a href="?cmd=filediff;file=#file#;node=#node#;style=raw">raw</a>
14 </div>
14 </div>
15
15
16 <h2>#file#</h2>
16 <h2>#file#</h2>
17
17
18 <table>
18 <table id="filediffEntry">
19 <tr>
19 <tr>
20 <td class="metatag">revision #rev#:</td>
20 <th class="revision">revision #rev#:</th>
21 <td><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>
21 <td class="revision"><a href="?cmd=changeset;node=#node#">#node|short#</a></td>
22 </tr>
22 #parent#
23 #parent#
23 </table>
24 </table>
24
25
25 <pre>
26 <div id="fileDiff" class="pre">
26 #diff#
27 #diff#
27 </pre>
28 </div>
28
29
29 #footer#
30 #footer#
30
31
31
32
@@ -1,40 +1,54 b''
1 Content-type: text/html
1 Content-type: text/html
2
2
3 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <html>
4 <html>
5 <head>
5 <head>
6 <style type="text/css">
6 <style type="text/css">
7 <!--
7 <!--
8 a { text-decoration:none; }
8 a { text-decoration:none; }
9 .parity0 { background-color: #dddddd; }
9 .parity0 { background-color: #dddddd; }
10 .parity1 { background-color: #eeeeee; }
10 .parity1 { background-color: #eeeeee; }
11 .lineno { width: 60px; color: #aaaaaa; font-size: smaller; }
11 .lineno { width: 60px; color: #aaaaaa; font-size: smaller; }
12 .plusline { color: green; }
12 .plusline { color: green; }
13 .minusline { color: red; }
13 .minusline { color: red; }
14 .atline { color: purple; }
14 .atline { color: purple; }
15 .annotate { font-size: smaller; text-align: right; padding-right: 1em; }
15 .annotate { font-size: smaller; text-align: right; padding-right: 1em; }
16 .buttons a {
16 .buttons a {
17 background-color: #666666;
17 background-color: #666666;
18 padding: 2pt;
18 padding: 2pt;
19 color: white;
19 color: white;
20 font-family: sans;
20 font-family: sans;
21 font-weight: bold;
21 font-weight: bold;
22 }
22 }
23 .metatag {
23 .metatag {
24 background-color: #888888;
24 background-color: #888888;
25 color: white;
25 color: white;
26 text-align: right;
26 text-align: right;
27 }
27 }
28
28
29 /* Common */
30 .pre { font-family: monospace; white-space: pre; }
31
29 /* Changelog entries */
32 /* Changelog entries */
30 .changelogEntry { width: 100%; }
33 .changelogEntry { width: 100%; }
31 .changelogEntry th { font-weight: normal; text-align: right; vertical-align: top; width: 15%;}
34 .changelogEntry th { font-weight: normal; text-align: right; vertical-align: top; width: 15%;}
32 .changelogEntry th.age, .changelogEntry th.firstline { font-weight: bold; }
35 .changelogEntry th.age, .changelogEntry th.firstline { font-weight: bold; }
33 .changelogEntry th.firstline { text-align: left; width: inherit; }
36 .changelogEntry th.firstline { text-align: left; width: inherit; }
34
37
35 /* Tag entries */
38 /* Tag entries */
36 #tagEntries { list-style: none; margin: 0; padding: 0; }
39 #tagEntries { list-style: none; margin: 0; padding: 0; }
37 #tagEntries .tagEntry { list-style: none; margin: 0; padding: 0; }
40 #tagEntries .tagEntry { list-style: none; margin: 0; padding: 0; }
38 #tagEntries .tagEntry span.node { font-family: monospace; }
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 </style>
54 </style>
@@ -1,36 +1,36 b''
1 header = header.tmpl
1 header = header.tmpl
2 footer = footer.tmpl
2 footer = footer.tmpl
3 search = search.tmpl
3 search = search.tmpl
4 changelog = changelog.tmpl
4 changelog = changelog.tmpl
5 naventry = "<a href="?cmd=changelog;rev=#rev#">#label#</a> "
5 naventry = "<a href="?cmd=changelog;rev=#rev#">#label#</a> "
6 filedifflink = "<a href="?cmd=filediff;node=#node#;file=#file#">#file#</a> "
6 filedifflink = "<a href="?cmd=filediff;node=#node#;file=#file#">#file#</a> "
7 filenodelink = "<a href="?cmd=file;filenode=#filenode#;file=#file#">#file#</a> "
7 filenodelink = "<a href="?cmd=file;filenode=#filenode#;file=#file#">#file#</a> "
8 fileellipses = "..."
8 fileellipses = "..."
9 changelogentry = changelogentry.tmpl
9 changelogentry = changelogentry.tmpl
10 searchentry = searchentry.tmpl
10 searchentry = searchentry.tmpl
11 changeset = changeset.tmpl
11 changeset = changeset.tmpl
12 manifest = manifest.tmpl
12 manifest = manifest.tmpl
13 manifestdirentry = "<tr class="parity#parity#"><td><tt>drwxr-xr-x</tt>&nbsp;<td><a href="?cmd=manifest;manifest=#manifest#;path=#path#">#basename#/</a>"
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 manifestfileentry = "<tr class="parity#parity#"><td><tt>#permissions|permissions#</tt>&nbsp;<td><a href="?cmd=file;filenode=#filenode#;file=#file#">#basename#</a>"
14 manifestfileentry = "<tr class="parity#parity#"><td><tt>#permissions|permissions#</tt>&nbsp;<td><a href="?cmd=file;filenode=#filenode#;file=#file#">#basename#</a>"
15 filerevision = filerevision.tmpl
15 filerevision = filerevision.tmpl
16 fileannotate = fileannotate.tmpl
16 fileannotate = fileannotate.tmpl
17 filediff = filediff.tmpl
17 filediff = filediff.tmpl
18 filelog = filelog.tmpl
18 filelog = filelog.tmpl
19 fileline = "<div class="parity#parity#"><span class="lineno">#linenumber# </span>#line|escape#</div>"
19 fileline = "<div class="parity#parity#"><span class="lineno">#linenumber# </span>#line|escape#</div>"
20 filelogentry = filelogentry.tmpl
20 filelogentry = filelogentry.tmpl
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>"
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>"
22 difflineplus = "<li class="plusline">#line|escape#</li>"
23 difflineminus = "<span class="minusline">#line|escape#</span>"
23 difflineminus = "<li class="minusline">#line|escape#</li>"
24 difflineat = "<span class="atline">#line|escape#</span>"
24 difflineat = "<li class="atline">#line|escape#</li>"
25 diffline = "#line|escape#"
25 diffline = "<li>#line|escape#</li>"
26 changelogparent = "<tr><th class="parent">parent #rev#:</th><td><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>"
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><td class="metatag">parent #rev#:</td><td><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 filerevparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=file;file=#file#;filenode=#node#">#node|short#</a></td></tr>"
28 filerevparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=file;file=#file#;filenode=#node#">#node|short#</a></td></tr>"
29 fileannotateparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=annotate;file=#file#;filenode=#node#">#node|short#</a></td></tr>"
29 fileannotateparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=annotate;file=#file#;filenode=#node#">#node|short#</a></td></tr>"
30 tags = tags.tmpl
30 tags = tags.tmpl
31 tagentry = "<li class="tagEntry parity#parity#"><span class="node">#node#</span> <a href="?cmd=changeset;node=#node#">#tag#</a></li>"
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>"
32 diffblock = "<ul class="parity#parity#">#lines#</ul>"
33 changelogtag = "<tr><td align="right">tag:&nbsp;</td><td>#tag#</td></tr>"
33 changelogtag = "<tr><th class="tag">tag:</th><td class="tag">#tag#</td></tr>"
34 changesettag = "<tr><td class="metatag">tag:&nbsp;</td><td>#tag#</td></tr>"
34 changesettag = "<tr><th class="tag">tag:</th><td class="tag">#tag#</td></tr>"
35 filediffparent = "<tr><td class="metatag">parent #rev#:</td><td><a href="?cmd=changeset;node=#node#">#node|short#</a></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 filelogparent = "<tr><td align="right">parent #rev#:&nbsp;</td><td><a href="?cmd=file;file=#file#;filenode=#node#">#node|short#</a></td></tr>"
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