Show More
@@ -1,75 +1,75 b'' | |||||
1 | {header} |
|
1 | {header} | |
2 | <title>{repo|escape}: {node|short}</title> |
|
2 | <title>{repo|escape}: {node|short}</title> | |
3 | </head> |
|
3 | </head> | |
4 | <body> |
|
4 | <body> | |
5 | <div class="container"> |
|
5 | <div class="container"> | |
6 | <div class="menu"> |
|
6 | <div class="menu"> | |
7 | <div class="logo"> |
|
7 | <div class="logo"> | |
8 | <a href="http://mercurial.selenic.com/"> |
|
8 | <a href="http://mercurial.selenic.com/"> | |
9 | <img src="{staticurl}hglogo.png" alt="mercurial" /></a> |
|
9 | <img src="{staticurl}hglogo.png" alt="mercurial" /></a> | |
10 | </div> |
|
10 | </div> | |
11 | <ul> |
|
11 | <ul> | |
12 | <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> |
|
12 | <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> | |
13 | <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> |
|
13 | <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> | |
14 | <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> |
|
14 | <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> | |
15 | <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> |
|
15 | <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> | |
16 | <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> |
|
16 | <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> | |
17 | </ul> |
|
17 | </ul> | |
18 | <ul> |
|
18 | <ul> | |
19 | <li class="active">changeset</li> |
|
19 | <li class="active">changeset</li> | |
20 | <li><a href="{url}raw-rev/{node|short}{sessionvars%urlparameter}">raw</a></li> |
|
20 | <li><a href="{url}raw-rev/{node|short}{sessionvars%urlparameter}">raw</a></li> | |
21 | <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">browse</a></li> |
|
21 | <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">browse</a></li> | |
22 | </ul> |
|
22 | </ul> | |
23 | <ul> |
|
23 | <ul> | |
24 | {archives%archiveentry} |
|
24 | {archives%archiveentry} | |
25 | </ul> |
|
25 | </ul> | |
26 | <ul> |
|
26 | <ul> | |
27 | <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> |
|
27 | <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> | |
28 | </ul> |
|
28 | </ul> | |
29 | </div> |
|
29 | </div> | |
30 |
|
30 | |||
31 | <div class="main"> |
|
31 | <div class="main"> | |
32 |
|
32 | |||
33 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> |
|
33 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> | |
34 | <h3>changeset {rev}:{node|short} {changesetbranch%changelogbranchname} {changesettag} {changesetbookmark}</h3> |
|
34 | <h3>changeset {rev}:{node|short} {changesetbranch%changelogbranchname} {changesettag} {changesetbookmark}</h3> | |
35 |
|
35 | |||
36 | <form class="search" action="{url}log"> |
|
36 | <form class="search" action="{url}log"> | |
37 | {sessionvars%hiddenformentry} |
|
37 | {sessionvars%hiddenformentry} | |
38 | <p><input name="rev" id="search1" type="text" size="30" /></p> |
|
38 | <p><input name="rev" id="search1" type="text" size="30" /></p> | |
39 | <div id="hint">find changesets by author, revision, |
|
39 | <div id="hint">find changesets by author, revision, | |
40 | files, or words in the commit message</div> |
|
40 | files, or words in the commit message</div> | |
41 | </form> |
|
41 | </form> | |
42 |
|
42 | |||
43 |
<div class="description">{desc|strip|escape| |
|
43 | <div class="description">{desc|strip|escape|nonempty}</div> | |
44 |
|
44 | |||
45 | <table id="changesetEntry"> |
|
45 | <table id="changesetEntry"> | |
46 | <tr> |
|
46 | <tr> | |
47 | <th class="author">author</th> |
|
47 | <th class="author">author</th> | |
48 | <td class="author">{author|obfuscate}</td> |
|
48 | <td class="author">{author|obfuscate}</td> | |
49 | </tr> |
|
49 | </tr> | |
50 | <tr> |
|
50 | <tr> | |
51 | <th class="date">date</th> |
|
51 | <th class="date">date</th> | |
52 | <td class="date">{date|date} ({date|age})</td></tr> |
|
52 | <td class="date">{date|date} ({date|age})</td></tr> | |
53 | <tr> |
|
53 | <tr> | |
54 | <th class="author">parents</th> |
|
54 | <th class="author">parents</th> | |
55 | <td class="author">{parent%changesetparent}</td> |
|
55 | <td class="author">{parent%changesetparent}</td> | |
56 | </tr> |
|
56 | </tr> | |
57 | <tr> |
|
57 | <tr> | |
58 | <th class="author">children</th> |
|
58 | <th class="author">children</th> | |
59 | <td class="author">{child%changesetchild}</td> |
|
59 | <td class="author">{child%changesetchild}</td> | |
60 | </tr> |
|
60 | </tr> | |
61 | <tr> |
|
61 | <tr> | |
62 | <th class="files">files</th> |
|
62 | <th class="files">files</th> | |
63 | <td class="files">{files}</td> |
|
63 | <td class="files">{files}</td> | |
64 | </tr> |
|
64 | </tr> | |
65 | </table> |
|
65 | </table> | |
66 |
|
66 | |||
67 | <div class="overflow"> |
|
67 | <div class="overflow"> | |
68 | <div class="sourcefirst"> line diff</div> |
|
68 | <div class="sourcefirst"> line diff</div> | |
69 |
|
69 | |||
70 | {diff} |
|
70 | {diff} | |
71 | </div> |
|
71 | </div> | |
72 |
|
72 | |||
73 | </div> |
|
73 | </div> | |
74 | </div> |
|
74 | </div> | |
75 | {footer} |
|
75 | {footer} |
@@ -1,255 +1,256 b'' | |||||
1 | body { |
|
1 | body { | |
2 | margin: 0; |
|
2 | margin: 0; | |
3 | padding: 0; |
|
3 | padding: 0; | |
4 | background: white; |
|
4 | background: white; | |
5 | font-family: sans-serif; |
|
5 | font-family: sans-serif; | |
6 | } |
|
6 | } | |
7 |
|
7 | |||
8 | .container { |
|
8 | .container { | |
9 | padding-left: 115px; |
|
9 | padding-left: 115px; | |
10 | } |
|
10 | } | |
11 |
|
11 | |||
12 | .main { |
|
12 | .main { | |
13 | position: relative; |
|
13 | position: relative; | |
14 | background: white; |
|
14 | background: white; | |
15 | padding: 2em 2em 2em 0; |
|
15 | padding: 2em 2em 2em 0; | |
16 | } |
|
16 | } | |
17 |
|
17 | |||
18 | #.main { |
|
18 | #.main { | |
19 | width: 98%; |
|
19 | width: 98%; | |
20 | } |
|
20 | } | |
21 |
|
21 | |||
22 | .overflow { |
|
22 | .overflow { | |
23 | width: 100%; |
|
23 | width: 100%; | |
24 | overflow: auto; |
|
24 | overflow: auto; | |
25 | } |
|
25 | } | |
26 |
|
26 | |||
27 | .menu { |
|
27 | .menu { | |
28 | width: 90px; |
|
28 | width: 90px; | |
29 | margin: 0; |
|
29 | margin: 0; | |
30 | font-size: 80%; |
|
30 | font-size: 80%; | |
31 | text-align: left; |
|
31 | text-align: left; | |
32 | position: absolute; |
|
32 | position: absolute; | |
33 | top: 20px; |
|
33 | top: 20px; | |
34 | left: 20px; |
|
34 | left: 20px; | |
35 | right: auto; |
|
35 | right: auto; | |
36 | } |
|
36 | } | |
37 |
|
37 | |||
38 | .menu ul { |
|
38 | .menu ul { | |
39 | list-style: none; |
|
39 | list-style: none; | |
40 | padding: 0; |
|
40 | padding: 0; | |
41 | margin: 10px 0 0 0; |
|
41 | margin: 10px 0 0 0; | |
42 | border-left: 2px solid #999; |
|
42 | border-left: 2px solid #999; | |
43 | } |
|
43 | } | |
44 |
|
44 | |||
45 | .menu li { |
|
45 | .menu li { | |
46 | margin-bottom: 3px; |
|
46 | margin-bottom: 3px; | |
47 | padding: 2px 4px; |
|
47 | padding: 2px 4px; | |
48 | background: white; |
|
48 | background: white; | |
49 | color: black; |
|
49 | color: black; | |
50 | font-weight: normal; |
|
50 | font-weight: normal; | |
51 | } |
|
51 | } | |
52 |
|
52 | |||
53 | .menu li.active { |
|
53 | .menu li.active { | |
54 | font-weight: bold; |
|
54 | font-weight: bold; | |
55 | } |
|
55 | } | |
56 |
|
56 | |||
57 | .menu img { |
|
57 | .menu img { | |
58 | width: 75px; |
|
58 | width: 75px; | |
59 | height: 90px; |
|
59 | height: 90px; | |
60 | border: 0; |
|
60 | border: 0; | |
61 | } |
|
61 | } | |
62 |
|
62 | |||
63 | .menu a { color: black; display: block; } |
|
63 | .menu a { color: black; display: block; } | |
64 |
|
64 | |||
65 | .search { |
|
65 | .search { | |
66 | position: absolute; |
|
66 | position: absolute; | |
67 | top: .7em; |
|
67 | top: .7em; | |
68 | right: 2em; |
|
68 | right: 2em; | |
69 | } |
|
69 | } | |
70 |
|
70 | |||
71 | form.search div#hint { |
|
71 | form.search div#hint { | |
72 | display: none; |
|
72 | display: none; | |
73 | position: absolute; |
|
73 | position: absolute; | |
74 | top: 40px; |
|
74 | top: 40px; | |
75 | right: 0px; |
|
75 | right: 0px; | |
76 | width: 190px; |
|
76 | width: 190px; | |
77 | padding: 5px; |
|
77 | padding: 5px; | |
78 | background: #ffc; |
|
78 | background: #ffc; | |
79 | font-size: 70%; |
|
79 | font-size: 70%; | |
80 | border: 1px solid yellow; |
|
80 | border: 1px solid yellow; | |
81 | -moz-border-radius: 5px; /* this works only in camino/firefox */ |
|
81 | -moz-border-radius: 5px; /* this works only in camino/firefox */ | |
82 | -webkit-border-radius: 5px; /* this is just for Safari */ |
|
82 | -webkit-border-radius: 5px; /* this is just for Safari */ | |
83 | } |
|
83 | } | |
84 |
|
84 | |||
85 | form.search:hover div#hint { display: block; } |
|
85 | form.search:hover div#hint { display: block; } | |
86 |
|
86 | |||
87 | a { text-decoration:none; } |
|
87 | a { text-decoration:none; } | |
88 | .age { white-space:nowrap; } |
|
88 | .age { white-space:nowrap; } | |
89 | .date { white-space:nowrap; } |
|
89 | .date { white-space:nowrap; } | |
90 | .indexlinks { white-space:nowrap; } |
|
90 | .indexlinks { white-space:nowrap; } | |
91 | .parity0 { background-color: #f0f0f0; } |
|
91 | .parity0 { background-color: #f0f0f0; } | |
92 | .parity1 { background-color: white; } |
|
92 | .parity1 { background-color: white; } | |
93 | .plusline { color: green; } |
|
93 | .plusline { color: green; } | |
94 | .minusline { color: #dc143c; } /* crimson */ |
|
94 | .minusline { color: #dc143c; } /* crimson */ | |
95 | .atline { color: purple; } |
|
95 | .atline { color: purple; } | |
96 |
|
96 | |||
97 | .navigate { |
|
97 | .navigate { | |
98 | text-align: right; |
|
98 | text-align: right; | |
99 | font-size: 60%; |
|
99 | font-size: 60%; | |
100 | margin: 1em 0; |
|
100 | margin: 1em 0; | |
101 | } |
|
101 | } | |
102 |
|
102 | |||
103 | .tag { |
|
103 | .tag { | |
104 | color: #999; |
|
104 | color: #999; | |
105 | font-size: 70%; |
|
105 | font-size: 70%; | |
106 | font-weight: normal; |
|
106 | font-weight: normal; | |
107 | margin-left: .5em; |
|
107 | margin-left: .5em; | |
108 | vertical-align: baseline; |
|
108 | vertical-align: baseline; | |
109 | } |
|
109 | } | |
110 |
|
110 | |||
111 | .branchhead { |
|
111 | .branchhead { | |
112 | color: #000; |
|
112 | color: #000; | |
113 | font-size: 80%; |
|
113 | font-size: 80%; | |
114 | font-weight: normal; |
|
114 | font-weight: normal; | |
115 | margin-left: .5em; |
|
115 | margin-left: .5em; | |
116 | vertical-align: baseline; |
|
116 | vertical-align: baseline; | |
117 | } |
|
117 | } | |
118 |
|
118 | |||
119 | ul#graphnodes .branchhead { |
|
119 | ul#graphnodes .branchhead { | |
120 | font-size: 75%; |
|
120 | font-size: 75%; | |
121 | } |
|
121 | } | |
122 |
|
122 | |||
123 | .branchname { |
|
123 | .branchname { | |
124 | color: #000; |
|
124 | color: #000; | |
125 | font-size: 60%; |
|
125 | font-size: 60%; | |
126 | font-weight: normal; |
|
126 | font-weight: normal; | |
127 | margin-left: .5em; |
|
127 | margin-left: .5em; | |
128 | vertical-align: baseline; |
|
128 | vertical-align: baseline; | |
129 | } |
|
129 | } | |
130 |
|
130 | |||
131 | h3 .branchname { |
|
131 | h3 .branchname { | |
132 | font-size: 80%; |
|
132 | font-size: 80%; | |
133 | } |
|
133 | } | |
134 |
|
134 | |||
135 | /* Common */ |
|
135 | /* Common */ | |
136 | pre { margin: 0; } |
|
136 | pre { margin: 0; } | |
137 |
|
137 | |||
138 | h2 { font-size: 120%; border-bottom: 1px solid #999; } |
|
138 | h2 { font-size: 120%; border-bottom: 1px solid #999; } | |
139 | h2 a { color: #000; } |
|
139 | h2 a { color: #000; } | |
140 | h3 { |
|
140 | h3 { | |
141 | margin-top: -.7em; |
|
141 | margin-top: -.7em; | |
142 | font-size: 100%; |
|
142 | font-size: 100%; | |
143 | } |
|
143 | } | |
144 |
|
144 | |||
145 | /* log and tags tables */ |
|
145 | /* log and tags tables */ | |
146 | .bigtable { |
|
146 | .bigtable { | |
147 | border-bottom: 1px solid #999; |
|
147 | border-bottom: 1px solid #999; | |
148 | border-collapse: collapse; |
|
148 | border-collapse: collapse; | |
149 | font-size: 90%; |
|
149 | font-size: 90%; | |
150 | width: 100%; |
|
150 | width: 100%; | |
151 | font-weight: normal; |
|
151 | font-weight: normal; | |
152 | text-align: left; |
|
152 | text-align: left; | |
153 | } |
|
153 | } | |
154 |
|
154 | |||
155 | .bigtable td { |
|
155 | .bigtable td { | |
156 | vertical-align: top; |
|
156 | vertical-align: top; | |
157 | } |
|
157 | } | |
158 |
|
158 | |||
159 | .bigtable th { |
|
159 | .bigtable th { | |
160 | padding: 1px 4px; |
|
160 | padding: 1px 4px; | |
161 | border-bottom: 1px solid #999; |
|
161 | border-bottom: 1px solid #999; | |
162 | } |
|
162 | } | |
163 | .bigtable tr { border: none; } |
|
163 | .bigtable tr { border: none; } | |
164 | .bigtable .age { width: 7em; } |
|
164 | .bigtable .age { width: 7em; } | |
165 | .bigtable .author { width: 12em; } |
|
165 | .bigtable .author { width: 12em; } | |
166 | .bigtable .description { } |
|
166 | .bigtable .description { } | |
167 | .bigtable .description .base { font-size: 70%; float: right; line-height: 1.66; } |
|
167 | .bigtable .description .base { font-size: 70%; float: right; line-height: 1.66; } | |
168 | .bigtable .node { width: 5em; font-family: monospace;} |
|
168 | .bigtable .node { width: 5em; font-family: monospace;} | |
169 | .bigtable .permissions { width: 8em; text-align: left;} |
|
169 | .bigtable .permissions { width: 8em; text-align: left;} | |
170 | .bigtable .size { width: 5em; text-align: right; } |
|
170 | .bigtable .size { width: 5em; text-align: right; } | |
171 | .bigtable .annotate { text-align: right; } |
|
171 | .bigtable .annotate { text-align: right; } | |
172 | .bigtable td.annotate { font-size: smaller; } |
|
172 | .bigtable td.annotate { font-size: smaller; } | |
173 | .bigtable td.source { font-size: inherit; } |
|
173 | .bigtable td.source { font-size: inherit; } | |
174 |
|
174 | |||
175 | .source, .sourcefirst, .sourcelast { |
|
175 | .source, .sourcefirst, .sourcelast { | |
176 | font-family: monospace; |
|
176 | font-family: monospace; | |
177 | white-space: pre; |
|
177 | white-space: pre; | |
178 | padding: 1px 4px; |
|
178 | padding: 1px 4px; | |
179 | font-size: 90%; |
|
179 | font-size: 90%; | |
180 | } |
|
180 | } | |
181 | .sourcefirst { border-bottom: 1px solid #999; font-weight: bold; } |
|
181 | .sourcefirst { border-bottom: 1px solid #999; font-weight: bold; } | |
182 | .sourcelast { border-top: 1px solid #999; } |
|
182 | .sourcelast { border-top: 1px solid #999; } | |
183 | .source a { color: #999; font-size: smaller; font-family: monospace;} |
|
183 | .source a { color: #999; font-size: smaller; font-family: monospace;} | |
184 | .bottomline { border-bottom: 1px solid #999; } |
|
184 | .bottomline { border-bottom: 1px solid #999; } | |
185 |
|
185 | |||
186 | .fileline { font-family: monospace; } |
|
186 | .fileline { font-family: monospace; } | |
187 | .fileline img { border: 0; } |
|
187 | .fileline img { border: 0; } | |
188 |
|
188 | |||
189 | .tagEntry .closed { color: #99f; } |
|
189 | .tagEntry .closed { color: #99f; } | |
190 |
|
190 | |||
191 | /* Changeset entry */ |
|
191 | /* Changeset entry */ | |
192 | #changesetEntry { |
|
192 | #changesetEntry { | |
193 | border-collapse: collapse; |
|
193 | border-collapse: collapse; | |
194 | font-size: 90%; |
|
194 | font-size: 90%; | |
195 | width: 100%; |
|
195 | width: 100%; | |
196 | margin-bottom: 1em; |
|
196 | margin-bottom: 1em; | |
197 | } |
|
197 | } | |
198 |
|
198 | |||
199 | #changesetEntry th { |
|
199 | #changesetEntry th { | |
200 | padding: 1px 4px; |
|
200 | padding: 1px 4px; | |
201 | width: 4em; |
|
201 | width: 4em; | |
202 | text-align: right; |
|
202 | text-align: right; | |
203 | font-weight: normal; |
|
203 | font-weight: normal; | |
204 | color: #999; |
|
204 | color: #999; | |
205 | margin-right: .5em; |
|
205 | margin-right: .5em; | |
206 | vertical-align: top; |
|
206 | vertical-align: top; | |
207 | } |
|
207 | } | |
208 |
|
208 | |||
209 | div.description { |
|
209 | div.description { | |
210 | border-left: 2px solid #999; |
|
210 | border-left: 2px solid #999; | |
211 | margin: 1em 0 1em 0; |
|
211 | margin: 1em 0 1em 0; | |
212 | padding: .3em; |
|
212 | padding: .3em; | |
|
213 | white-space: pre; | |||
213 | } |
|
214 | } | |
214 |
|
215 | |||
215 | /* Graph */ |
|
216 | /* Graph */ | |
216 | div#wrapper { |
|
217 | div#wrapper { | |
217 | position: relative; |
|
218 | position: relative; | |
218 | border-top: 1px solid black; |
|
219 | border-top: 1px solid black; | |
219 | border-bottom: 1px solid black; |
|
220 | border-bottom: 1px solid black; | |
220 | margin: 0; |
|
221 | margin: 0; | |
221 | padding: 0; |
|
222 | padding: 0; | |
222 | } |
|
223 | } | |
223 |
|
224 | |||
224 | canvas { |
|
225 | canvas { | |
225 | position: absolute; |
|
226 | position: absolute; | |
226 | z-index: 5; |
|
227 | z-index: 5; | |
227 | top: -0.7em; |
|
228 | top: -0.7em; | |
228 | margin: 0; |
|
229 | margin: 0; | |
229 | } |
|
230 | } | |
230 |
|
231 | |||
231 | ul#graphnodes { |
|
232 | ul#graphnodes { | |
232 | position: absolute; |
|
233 | position: absolute; | |
233 | z-index: 10; |
|
234 | z-index: 10; | |
234 | top: -1.0em; |
|
235 | top: -1.0em; | |
235 | list-style: none inside none; |
|
236 | list-style: none inside none; | |
236 | padding: 0; |
|
237 | padding: 0; | |
237 | } |
|
238 | } | |
238 |
|
239 | |||
239 | ul#nodebgs { |
|
240 | ul#nodebgs { | |
240 | list-style: none inside none; |
|
241 | list-style: none inside none; | |
241 | padding: 0; |
|
242 | padding: 0; | |
242 | margin: 0; |
|
243 | margin: 0; | |
243 | top: -0.7em; |
|
244 | top: -0.7em; | |
244 | } |
|
245 | } | |
245 |
|
246 | |||
246 | ul#graphnodes li, ul#nodebgs li { |
|
247 | ul#graphnodes li, ul#nodebgs li { | |
247 | height: 39px; |
|
248 | height: 39px; | |
248 | } |
|
249 | } | |
249 |
|
250 | |||
250 | ul#graphnodes li .info { |
|
251 | ul#graphnodes li .info { | |
251 | display: block; |
|
252 | display: block; | |
252 | font-size: 70%; |
|
253 | font-size: 70%; | |
253 | position: relative; |
|
254 | position: relative; | |
254 | top: -3px; |
|
255 | top: -3px; | |
255 | } |
|
256 | } |
General Comments 0
You need to be logged in to leave comments.
Login now