##// END OF EJS Templates
hgweb: improve look-n-feel of changelog nagivation
TK Soh -
r1425:8fe4116b default
parent child Browse files
Show More
@@ -1,36 +1,36 b''
1 #header#
1 #header#
2 <title>#repo|escape#: changelog</title>
2 <title>#repo|escape#: changelog</title>
3 <link rel="alternate" type="application/rss+xml"
3 <link rel="alternate" type="application/rss+xml"
4 href="?cmd=changelog;style=rss" title="RSS feed for #repo|escape#">
4 href="?cmd=changelog;style=rss" title="RSS feed for #repo|escape#">
5 </head>
5 </head>
6 <body>
6 <body>
7
7
8 <div class="buttons">
8 <div class="buttons">
9 <a href="?cmd=tags">tags</a>
9 <a href="?cmd=tags">tags</a>
10 <a href="?mf=#manifest|short#;path=/">manifest</a>
10 <a href="?mf=#manifest|short#;path=/">manifest</a>
11 <a type="application/rss+xml" href="?style=rss">rss</a>
11 <a type="application/rss+xml" href="?style=rss">rss</a>
12 </div>
12 </div>
13
13
14 <h2>changelog for #repo|escape#</h2>
14 <h2>changelog for #repo|escape#</h2>
15
15
16 <form action="#">
16 <form action="#">
17 <p>
17 <p>
18 <label for="search1">search:</label>
18 <label for="search1">search:</label>
19 <input type="hidden" name="cmd" value="changelog">
19 <input type="hidden" name="cmd" value="changelog">
20 <input name="rev" id="search1" type="text" size="30">
20 <input name="rev" id="search1" type="text" size="30">
21 navigate: <small>#changenav%naventry#</small>
21 navigate: <small class="navigate">#changenav%naventry#</small>
22 </p>
22 </p>
23 </form>
23 </form>
24
24
25 #entries%changelogentry#
25 #entries%changelogentry#
26
26
27 <form action="#">
27 <form action="#">
28 <p>
28 <p>
29 <label for="search2">search:</label>
29 <label for="search2">search:</label>
30 <input type="hidden" name="cmd" value="changelog">
30 <input type="hidden" name="cmd" value="changelog">
31 <input name="rev" id="search2" type="text" size="30">
31 <input name="rev" id="search2" type="text" size="30">
32 navigate: <small>#changenav%naventry#</small>
32 navigate: <small class="navigate">#changenav%naventry#</small>
33 </p>
33 </p>
34 </form>
34 </form>
35
35
36 #footer#
36 #footer#
@@ -1,73 +1,79 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 text-align: right; padding-right:1em; }
12 text-align: right; padding-right:1em; }
13 .plusline { color: green; }
13 .plusline { color: green; }
14 .minusline { color: red; }
14 .minusline { color: red; }
15 .atline { color: purple; }
15 .atline { color: purple; }
16 .annotate { font-size: smaller; text-align: right; padding-right: 1em; }
16 .annotate { font-size: smaller; text-align: right; padding-right: 1em; }
17 .buttons a {
17 .buttons a {
18 background-color: #666666;
18 background-color: #666666;
19 padding: 2pt;
19 padding: 2pt;
20 color: white;
20 color: white;
21 font-family: sans;
21 font-family: sans;
22 font-weight: bold;
22 font-weight: bold;
23 }
23 }
24 .navigate a {
25 background-color: #ccc;
26 padding: 2pt;
27 font-family: sans;
28 color: black;
29 }
24
30
25 .metatag {
31 .metatag {
26 background-color: #888888;
32 background-color: #888888;
27 color: white;
33 color: white;
28 text-align: right;
34 text-align: right;
29 }
35 }
30
36
31 /* Common */
37 /* Common */
32 pre { margin: 0; }
38 pre { margin: 0; }
33
39
34 .logo {
40 .logo {
35 background-color: #333;
41 background-color: #333;
36 padding: 4pt;
42 padding: 4pt;
37 margin: 8pt 0 8pt 8pt;
43 margin: 8pt 0 8pt 8pt;
38 font-family: sans;
44 font-family: sans;
39 font-size: 60%;
45 font-size: 60%;
40 color: white;
46 color: white;
41 float: right;
47 float: right;
42 clear: right;
48 clear: right;
43 text-align: left;
49 text-align: left;
44 }
50 }
45
51
46 .logo a {
52 .logo a {
47 font-weight: bold;
53 font-weight: bold;
48 font-size: 150%;
54 font-size: 150%;
49 color: #999;
55 color: #999;
50 }
56 }
51
57
52 /* Changelog entries */
58 /* Changelog entries */
53 .changelogEntry { width: 100%; }
59 .changelogEntry { width: 100%; }
54 .changelogEntry th { font-weight: normal; text-align: right; vertical-align: top; }
60 .changelogEntry th { font-weight: normal; text-align: right; vertical-align: top; }
55 .changelogEntry th.age, .changelogEntry th.firstline { font-weight: bold; }
61 .changelogEntry th.age, .changelogEntry th.firstline { font-weight: bold; }
56 .changelogEntry th.firstline { text-align: left; width: inherit; }
62 .changelogEntry th.firstline { text-align: left; width: inherit; }
57
63
58 /* Tag entries */
64 /* Tag entries */
59 #tagEntries { list-style: none; margin: 0; padding: 0; }
65 #tagEntries { list-style: none; margin: 0; padding: 0; }
60 #tagEntries .tagEntry { list-style: none; margin: 0; padding: 0; }
66 #tagEntries .tagEntry { list-style: none; margin: 0; padding: 0; }
61 #tagEntries .tagEntry span.node { font-family: monospace; }
67 #tagEntries .tagEntry span.node { font-family: monospace; }
62
68
63 /* Changeset entry */
69 /* Changeset entry */
64 #changesetEntry { }
70 #changesetEntry { }
65 #changesetEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; }
71 #changesetEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; }
66 #changesetEntry th.files, #changesetEntry th.description { vertical-align: top; }
72 #changesetEntry th.files, #changesetEntry th.description { vertical-align: top; }
67
73
68 /* File diff view */
74 /* File diff view */
69 #filediffEntry { }
75 #filediffEntry { }
70 #filediffEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; }
76 #filediffEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; }
71
77
72 -->
78 -->
73 </style>
79 </style>
General Comments 0
You need to be logged in to leave comments. Login now