##// END OF EJS Templates
[PATCH] Tags template cleanup...
mpm@selenic.com -
r586:11578820 default
parent child Browse files
Show More
@@ -1,35 +1,40 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 /* Changelog entries */
29 /* Changelog entries */
30 .changelogEntry { width: 100%; }
30 .changelogEntry { width: 100%; }
31 .changelogEntry th { font-weight: normal; text-align: right; vertical-align: top; width: 15%;}
31 .changelogEntry th { font-weight: normal; text-align: right; vertical-align: top; width: 15%;}
32 .changelogEntry th.age, .changelogEntry th.firstline { font-weight: bold; }
32 .changelogEntry th.age, .changelogEntry th.firstline { font-weight: bold; }
33 .changelogEntry th.firstline { text-align: left; width: inherit; }
33 .changelogEntry th.firstline { text-align: left; width: inherit; }
34
35 /* Tag entries */
36 #tagEntries { list-style: none; margin: 0; padding: 0; }
37 #tagEntries .tagEntry { list-style: none; margin: 0; padding: 0; }
38 #tagEntries .tagEntry span.node { font-family: monospace; }
34 -->
39 -->
35 </style>
40 </style>
@@ -1,35 +1,35 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 = "<span class="plusline">#line|escape#</span>"
23 difflineminus = "<span class="minusline">#line|escape#</span>"
23 difflineminus = "<span class="minusline">#line|escape#</span>"
24 difflineat = "<span class="atline">#line|escape#</span>"
24 difflineat = "<span class="atline">#line|escape#</span>"
25 diffline = "#line|escape#"
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>"
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>"
27 changesetparent = "<tr><td class="metatag">parent #rev#:</td><td><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 = "<div class="parity#parity#"><tt>#node#</tt> <a href="?cmd=changeset;node=#node#">#tag#</a><br /></div>"
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 = "<div class="parity#parity#">#lines#</div>"
33 changelogtag = "<tr><td align="right">tag:&nbsp;</td><td>#tag#</td></tr>"
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>"
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>"
35 filediffparent = "<tr><td class="metatag">parent #rev#:</td><td><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>"
@@ -1,15 +1,17 b''
1 #header#
1 #header#
2 <title>#repo#: tags</title>
2 <title>#repo#: tags</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=manifest;manifest=#manifest#;path=/">manifest</a>
8 <a href="?cmd=manifest;manifest=#manifest#;path=/">manifest</a>
9 </div>
9 </div>
10
10
11 <h2>tags:</h2>
11 <h2>tags:</h2>
12
12
13 <ul id="tagEntries">
13 #entries#
14 #entries#
15 </ul>
14
16
15 #footer#
17 #footer#
General Comments 0
You need to be logged in to leave comments. Login now