##// END OF EJS Templates
html updates
marcink -
r109:7b778f90 default
parent child Browse files
Show More
@@ -1,540 +1,545 b''
1 /*** Initial Settings ***/
1 /*** Initial Settings ***/
2 * {
2 * {
3 margin: 0;
3 margin: 0;
4 padding: 0;
4 padding: 0;
5 font-weight: normal;
5 font-weight: normal;
6 font-style: normal;
6 font-style: normal;
7 }
7 }
8
8
9 html {
9 html {
10 font-size: 100%;
10 font-size: 100%;
11 font-family: sans-serif;
11 font-family: sans-serif;
12 }
12 }
13
13
14 body {
14 body {
15 font-size: 77%;
15 font-size: 77%;
16 margin: 15px 50px;
16 margin: 15px 50px;
17 background: #DBD4C6;
17 background: #DBD4C6;
18 }
18 }
19
19
20 a {
20 a {
21 color:#0000cc;
21 color:#0000cc;
22 text-decoration: none;
22 text-decoration: none;
23 }
23 }
24 /*** end of Initial Settings ***/
24 /*** end of Initial Settings ***/
25
25
26
26
27 /** common settings **/
27 /** common settings **/
28 div#main{
28 div#main{
29 padding:5px;
29 padding:5px;
30 }
30 }
31 div#container {
31 div#container {
32 background: #FFFFFF;
32 background: #FFFFFF;
33 position: relative;
33 position: relative;
34 color: #666;
34 color: #666;
35 }
35 }
36
36
37 div.page-header {
37 div.page-header {
38 padding: 50px 20px 0;
38 padding: 50px 20px 0;
39 background: #556cb5 top left repeat-x;
39 background: #556cb5 top left repeat-x;
40 position: relative;
40 position: relative;
41 }
41 }
42 div.page-header h1 {
42 div.page-header h1 {
43 margin: 10px 0 30px;
43 margin: 10px 0 30px;
44 font-size: 1.8em;
44 font-size: 1.8em;
45 font-weight: bold;
45 font-weight: bold;
46 font-family: sans-serif;
46 font-family: sans-serif;
47 letter-spacing: 1px;
47 letter-spacing: 1px;
48 color: #DDD;
48 color: #DDD;
49 }
49 }
50 div.page-header h1 a {
50 div.page-header h1 a {
51 font-weight: bold;
51 font-weight: bold;
52 color: #FFF;
52 color: #FFF;
53 }
53 }
54 div.page-header a {
54 div.page-header a {
55 text-decoration: none;
55 text-decoration: none;
56 }
56 }
57
57
58 div.page-header form {
58 div.page-header form {
59 position: absolute;
59 position: absolute;
60 margin-bottom: 2px;
60 margin-bottom: 2px;
61 bottom: 0;
61 bottom: 0;
62 right: 20px;
62 right: 20px;
63 }
63 }
64 div.page-header form label {
64 div.page-header form label {
65 color: #DDD;
65 color: #DDD;
66 }
66 }
67 div.page-header form input {
67 div.page-header form input {
68 padding: 2px;
68 padding: 2px;
69 border: solid 1px #DDD;
69 border: solid 1px #DDD;
70 }
70 }
71 div.page-header form dl {
71 div.page-header form dl {
72 overflow: hidden;
72 overflow: hidden;
73 }
73 }
74 div.page-header form dl dt {
74 div.page-header form dl dt {
75 font-size: 1.2em;
75 font-size: 1.2em;
76 }
76 }
77 div.page-header form dl dt,
77 div.page-header form dl dt,
78 div.page-header form dl dd {
78 div.page-header form dl dd {
79 margin: 0 0 0 5px;
79 margin: 0 0 0 5px;
80 float: left;
80 float: left;
81 height: 24px;
81 height: 24px;
82 line-height: 20px;
82 line-height: 20px;
83 }
83 }
84
84
85 ul.page-nav {
85 ul.page-nav {
86 margin: 10px 0 0 0;
86 margin: 10px 0 0 0;
87 list-style-type: none;
87 list-style-type: none;
88 overflow: hidden;
88 overflow: hidden;
89 width: 800px;
89 width: 800px;
90 }
90 }
91 ul.page-nav li {
91 ul.page-nav li {
92 margin: 0 2px 0 0;
92 margin: 0 2px 0 0;
93 float: left;
93 float: left;
94 height: 24px;
94 height: 24px;
95 font-size: 1.1em;
95 font-size: 1.1em;
96 line-height: 24px;
96 line-height: 24px;
97 text-align: center;
97 text-align: center;
98 }
98 }
99 ul.page-nav li.current {
99 ul.page-nav li.current {
100 background: #FFF;
100 background: #FFF;
101 padding-right:5px;
101 padding-right:5px;
102 padding-left:5px;
102 padding-left:5px;
103 }
103 }
104 ul.page-nav li a {
104 ul.page-nav li a {
105 height: 24px;
105 height: 24px;
106 color: #666;
106 color: #666;
107 padding-right:5px;
107 padding-right:5px;
108 padding-left:5px;
108 padding-left:5px;
109 background: #DDD;
109 background: #DDD;
110 display: block;
110 display: block;
111 text-decoration: none;
111 text-decoration: none;
112 }
112 }
113 ul.page-nav li a:hover {
113 ul.page-nav li a:hover {
114 color:#333;
114 color:#333;
115 background: #FFF;
115 background: #FFF;
116 }
116 }
117
117
118 ul.submenu {
118 ul.submenu {
119 margin: 10px 0 -10px 20px;
119 margin: 10px 0 -10px 20px;
120 list-style-type: none;
120 list-style-type: none;
121 }
121 }
122 ul.submenu li {
122 ul.submenu li {
123 margin: 0 10px 0 0;
123 margin: 0 10px 0 0;
124 font-size: 1.2em;
124 font-size: 1.2em;
125 display: inline;
125 display: inline;
126 }
126 }
127
127
128 h2 {
128 h2 {
129 margin: 20px 0 10px;
129 margin: 20px 0 10px;
130 height: 30px;
130 height: 30px;
131 line-height: 30px;
131 line-height: 30px;
132 text-indent: 20px;
132 text-indent: 20px;
133 background: #FFF;
133 background: #FFF;
134 font-size: 1.2em;
134 font-size: 1.2em;
135 border-top: dotted 1px #D5E1E6;
135 border-top: dotted 1px #D5E1E6;
136 font-weight: bold;
136 font-weight: bold;
137 }
137 }
138 h2.no-link {
138 h2.no-link {
139 color:#006699;
139 color:#006699;
140 }
140 }
141 h2.no-border {
141 h2.no-border {
142 color: #FFF;
142 color: #FFF;
143 background: #006699;
143 background: #006699;
144 border: 0;
144 border: 0;
145 }
145 }
146 h2 a {
146 h2 a {
147 font-weight:bold;
147 font-weight:bold;
148 color:#006699;
148 color:#006699;
149 }
149 }
150
150
151 div.page-path {
151 div.page-path {
152 text-align: right;
152 text-align: right;
153 padding: 20px 30px 10px 0;
153 padding: 20px 30px 10px 0;
154 border:solid #d9d8d1;
154 border:solid #d9d8d1;
155 border-width:0px 0px 1px;
155 border-width:0px 0px 1px;
156 font-size: 1.2em;
156 font-size: 1.2em;
157 }
157 }
158
158
159 div.page-footer {
159 div.page-footer {
160 margin: 50px 0 0;
160 margin: 50px 0 0;
161 position: relative;
161 position: relative;
162 }
162 }
163 div.page-footer p {
163 div.page-footer p {
164 position: relative;
164 position: relative;
165 left: 20px;
165 left: 20px;
166 bottom: 5px;
166 bottom: 5px;
167 font-size: 1.2em;
167 font-size: 1.2em;
168 }
168 }
169
169
170 ul.rss-logo {
170 ul.rss-logo {
171 position: absolute;
171 position: absolute;
172 top: -10px;
172 top: -10px;
173 right: 20px;
173 right: 20px;
174 height: 20px;
174 height: 20px;
175 list-style-type: none;
175 list-style-type: none;
176 }
176 }
177 ul.rss-logo li {
177 ul.rss-logo li {
178 display: inline;
178 display: inline;
179 }
179 }
180 ul.rss-logo li a {
180 ul.rss-logo li a {
181 padding: 3px 6px;
181 padding: 3px 6px;
182 line-height: 10px;
182 line-height: 10px;
183 border:1px solid;
183 border:1px solid;
184 border-color:#fcc7a5 #7d3302 #3e1a01 #ff954e;
184 border-color:#fcc7a5 #7d3302 #3e1a01 #ff954e;
185 color:#ffffff;
185 color:#ffffff;
186 background-color:#ff6600;
186 background-color:#ff6600;
187 font-weight:bold;
187 font-weight:bold;
188 font-family:sans-serif;
188 font-family:sans-serif;
189 font-size:10px;
189 font-size:10px;
190 text-align:center;
190 text-align:center;
191 text-decoration:none;
191 text-decoration:none;
192 }
192 }
193 div.rss-logo li a:hover {
193 div.rss-logo li a:hover {
194 background-color:#ee5500;
194 background-color:#ee5500;
195 }
195 }
196
196
197 p.normal {
197 p.normal {
198 margin: 20px 0 20px 30px;
198 margin: 20px 0 20px 30px;
199 font-size: 1.2em;
199 font-size: 1.2em;
200 }
200 }
201
201
202 table {
202 table {
203 margin: 0 0 0 0;
203 margin: 0 0 0 0;
204 border-collapse: collapse;
204 border-collapse: collapse;
205 }
205 }
206 /*
206 /*
207 table tr td {
207 table tr td {
208 font-size: 1.1em;
208 font-size: 1.1em;
209 }
209 }
210 table tr td.nowrap {
210 table tr td.nowrap {
211 white-space: nowrap;
211 white-space: nowrap;
212 }
212 }
213 */
213 */
214 table tr.parity0:hover,table tr.parity1:hover {
214 table tr.parity0:hover,table tr.parity1:hover {
215 background: #D5E1E6;
215 background: #D5E1E6;
216 }
216 }
217
217
218 table tr.parity0 {
218 table tr.parity0 {
219 background: #EAEAE9;
219 background: #EAEAE9;
220 }
220 }
221 table tr.parity1 {
221 table tr.parity1 {
222 background: #FFFFFF;
222 background: #FFFFFF;
223 }
223 }
224 table tr td {
224 table tr td {
225 padding: 3px 3px;
225 padding: 3px 3px;
226 }
226 }
227 table.annotated tr td {
227 table.annotated tr td {
228 padding: 0px 3px;
228 padding: 0px 3px;
229 }
229 }
230
230
231 span.logtags span {
231 span.logtags span {
232 padding: 2px 6px;
232 padding: 2px 6px;
233 font-weight: normal;
233 font-weight: normal;
234 font-size: 11px;
234 font-size: 11px;
235 border: 1px solid;
235 border: 1px solid;
236 background-color: #ffaaff;
236 background-color: #ffaaff;
237 border-color: #ffccff #ff00ee #ff00ee #ffccff;
237 border-color: #ffccff #ff00ee #ff00ee #ffccff;
238 }
238 }
239 span.logtags span.tagtag {
239 span.logtags span.tagtag {
240 background-color: #ffffaa;
240 background-color: #ffffaa;
241 border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
241 border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
242 }
242 }
243 span.logtags span.branchtag {
243 span.logtags span.branchtag {
244 background-color: #aaffaa;
244 background-color: #aaffaa;
245 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
245 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
246 }
246 }
247 span.logtags span.inbranchtag {
247 span.logtags span.inbranchtag {
248 background-color: #d5dde6;
248 background-color: #d5dde6;
249 border-color: #e3ecf4 #9398f4 #9398f4 #e3ecf4;
249 border-color: #e3ecf4 #9398f4 #9398f4 #e3ecf4;
250 }
250 }
251
251
252 div.diff pre {
252 div.diff pre {
253 margin: 10px 0 0 0;
253 margin: 10px 0 0 0;
254 }
254 }
255 div.diff pre span {
255 div.diff pre span {
256 font-family: monospace;
256 font-family: monospace;
257 white-space: pre;
257 white-space: pre;
258 font-size: 1.2em;
258 font-size: 1.2em;
259 padding: 3px 0;
259 padding: 3px 0;
260 }
260 }
261 td.source {
261 td.source {
262 white-space: pre;
262 white-space: pre;
263 font-family: monospace;
263 font-family: monospace;
264 margin: 10px 30px 0;
264 margin: 10px 30px 0;
265 font-size: 1.2em;
265 font-size: 1.2em;
266 font-family: monospace;
266 font-family: monospace;
267 }
267 }
268 div.source div.parity0,
268 div.source div.parity0,
269 div.source div.parity1 {
269 div.source div.parity1 {
270 padding: 1px;
270 padding: 1px;
271 font-size: 1.2em;
271 font-size: 1.2em;
272 }
272 }
273 div.source div.parity0 {
273 div.source div.parity0 {
274 background: #F1F6F7;
274 background: #F1F6F7;
275 }
275 }
276 div.source div.parity1 {
276 div.source div.parity1 {
277 background: #FFFFFF;
277 background: #FFFFFF;
278 }
278 }
279 div.parity0:hover,
279 div.parity0:hover,
280 div.parity1:hover {
280 div.parity1:hover {
281 background: #D5E1E6;
281 background: #D5E1E6;
282 }
282 }
283 .linenr {
283 .linenr {
284 color: #999;
284 color: #999;
285 text-align: right;
285 text-align: right;
286 }
286 }
287 .lineno {
287 .lineno {
288 text-align: right;
288 text-align: right;
289 }
289 }
290 .lineno a {
290 .lineno a {
291 color: #999;
291 color: #999;
292 }
292 }
293 td.linenr {
293 td.linenr {
294 width: 60px;
294 width: 60px;
295 }
295 }
296
296
297 div#powered-by {
297 div#powered-by {
298 position: absolute;
298 position: absolute;
299 width: 75px;
299 width: 75px;
300 top: 15px;
300 top: 15px;
301 right: 20px;
301 right: 20px;
302 font-size: 1.2em;
302 font-size: 1.2em;
303 }
303 }
304 div#powered-by a {
304 div#powered-by a {
305 color: #EEE;
305 color: #EEE;
306 text-decoration: none;
306 text-decoration: none;
307 }
307 }
308 div#powered-by a:hover {
308 div#powered-by a:hover {
309 text-decoration: underline;
309 text-decoration: underline;
310 }
310 }
311 /*
311 /*
312 div#monoblue-corner-top-left {
312 div#monoblue-corner-top-left {
313 position: absolute;
313 position: absolute;
314 top: 0;
314 top: 0;
315 left: 0;
315 left: 0;
316 width: 10px;
316 width: 10px;
317 height: 10px;
317 height: 10px;
318 background: url(./monoblue-corner.png) top left no-repeat !important;
318 background: url(./monoblue-corner.png) top left no-repeat !important;
319 background: none;
319 background: none;
320 }
320 }
321 div#monoblue-corner-top-right {
321 div#monoblue-corner-top-right {
322 position: absolute;
322 position: absolute;
323 top: 0;
323 top: 0;
324 right: 0;
324 right: 0;
325 width: 10px;
325 width: 10px;
326 height: 10px;
326 height: 10px;
327 background: url(./monoblue-corner.png) top right no-repeat !important;
327 background: url(./monoblue-corner.png) top right no-repeat !important;
328 background: none;
328 background: none;
329 }
329 }
330 div#monoblue-corner-bottom-left {
330 div#monoblue-corner-bottom-left {
331 position: absolute;
331 position: absolute;
332 bottom: 0;
332 bottom: 0;
333 left: 0;
333 left: 0;
334 width: 10px;
334 width: 10px;
335 height: 10px;
335 height: 10px;
336 background: url(./monoblue-corner.png) bottom left no-repeat !important;
336 background: url(./monoblue-corner.png) bottom left no-repeat !important;
337 background: none;
337 background: none;
338 }
338 }
339 div#monoblue-corner-bottom-right {
339 div#monoblue-corner-bottom-right {
340 position: absolute;
340 position: absolute;
341 bottom: 0;
341 bottom: 0;
342 right: 0;
342 right: 0;
343 width: 10px;
343 width: 10px;
344 height: 10px;
344 height: 10px;
345 background: url(./monoblue-corner.png) bottom right no-repeat !important;
345 background: url(./monoblue-corner.png) bottom right no-repeat !important;
346 background: none;
346 background: none;
347 }
347 }
348 */
348 */
349 /** end of common settings **/
349 /** end of common settings **/
350
350
351 /** summary **/
351 /** summary **/
352 dl.overview {
352 dl.overview {
353 margin: 0 0 0 30px;
353 margin: 0 0 0 30px;
354 font-size: 1.1em;
354 font-size: 1.1em;
355 overflow: hidden;
355 overflow: hidden;
356 }
356 }
357 dl.overview dt,
357 dl.overview dt,
358 dl.overview dd {
358 dl.overview dd {
359 margin: 5px 0;
359 margin: 5px 0;
360 float: left;
360 float: left;
361 }
361 }
362 dl.overview dt {
362 dl.overview dt {
363 clear: left;
363 clear: left;
364 font-weight: bold;
364 font-weight: bold;
365 width: 150px;
365 width: 150px;
366 }
366 }
367 /** end of summary **/
367 /** end of summary **/
368
368
369 /** chagelog **/
369 /** chagelog **/
370 h3.changelog {
370 h3.changelog {
371 margin: 20px 0 5px 30px;
371 margin: 20px 0 5px 30px;
372 padding: 0 0 2px;
372 padding: 0 0 2px;
373 font-size: 1.4em;
373 font-size: 1.4em;
374 border-bottom: dotted 1px #D5E1E6;
374 border-bottom: dotted 1px #D5E1E6;
375 }
375 }
376 ul.changelog-entry {
376 ul.changelog-entry {
377 margin: 0 0 10px 30px;
377 margin: 0 0 10px 30px;
378 list-style-type: none;
378 list-style-type: none;
379 position: relative;
379 position: relative;
380 }
380 }
381 ul.changelog-entry li span.revdate {
381 ul.changelog-entry li span.revdate {
382 font-size: 1.1em;
382 font-size: 1.1em;
383 }
383 }
384 ul.changelog-entry li.age {
384 ul.changelog-entry li.age {
385 position: absolute;
385 position: absolute;
386 top: -25px;
386 top: -25px;
387 right: 10px;
387 right: 10px;
388 font-size: 1.4em;
388 font-size: 1.4em;
389 color: #CCC;
389 color: #CCC;
390 font-weight: bold;
390 font-weight: bold;
391 font-style: italic;
391 font-style: italic;
392 }
392 }
393 ul.changelog-entry li span.name {
393 ul.changelog-entry li span.name {
394 font-size: 1.2em;
394 font-size: 1.2em;
395 font-weight: bold;
395 font-weight: bold;
396 }
396 }
397 ul.changelog-entry li.description {
397 ul.changelog-entry li.description {
398 margin: 10px 0 0;
398 margin: 10px 0 0;
399 font-size: 1.1em;
399 font-size: 1.1em;
400 }
400 }
401 /** end of changelog **/
401 /** end of changelog **/
402
402
403 /** file **/
403 /** file **/
404 p.files {
404 p.files {
405 margin: 0 0 0 20px;
405 margin: 0 0 0 20px;
406 font-size: 2.0em;
406 font-size: 2.0em;
407 font-weight: bold;
407 font-weight: bold;
408 }
408 }
409 /** end of file **/
409 /** end of file **/
410
410
411 /** changeset **/
411 /** changeset **/
412 h3.changeset {
412 h3.changeset {
413 margin: 20px 0 5px 20px;
413 margin: 20px 0 5px 20px;
414 padding: 0 0 2px;
414 padding: 0 0 2px;
415 font-size: 1.6em;
415 font-size: 1.6em;
416 border-bottom: dotted 1px #D5E1E6;
416 border-bottom: dotted 1px #D5E1E6;
417 }
417 }
418 p.changeset-age {
418 p.changeset-age {
419 position: relative;
419 position: relative;
420 }
420 }
421 p.changeset-age span {
421 p.changeset-age span {
422 position: absolute;
422 position: absolute;
423 top: -25px;
423 top: -25px;
424 right: 10px;
424 right: 10px;
425 font-size: 1.4em;
425 font-size: 1.4em;
426 color: #CCC;
426 color: #CCC;
427 font-weight: bold;
427 font-weight: bold;
428 font-style: italic;
428 font-style: italic;
429 }
429 }
430 p.description {
430 p.description {
431 margin: 10px 30px 0 30px;
431 margin: 10px 30px 0 30px;
432 padding: 10px;
432 padding: 10px;
433 border: solid 1px #CCC;
433 border: solid 1px #CCC;
434 font-size: 1.2em;
434 font-size: 1.2em;
435 }
435 }
436 /** end of changeset **/
436 /** end of changeset **/
437
437
438 /** canvas **/
438 /** canvas **/
439 div#wrapper {
439 div#wrapper {
440 position: relative;
440 position: relative;
441 font-size: 1.2em;
441 font-size: 1.2em;
442 }
442 }
443
443
444 canvas {
444 canvas {
445 position: absolute;
445 position: absolute;
446 z-index: 5;
446 z-index: 5;
447 top: -0.7em;
447 top: -0.7em;
448 }
448 }
449
449
450 ul#nodebgs li.parity0 {
450 ul#nodebgs li.parity0 {
451 background: #F1F6F7;
451 background: #F1F6F7;
452 }
452 }
453
453
454 ul#nodebgs li.parity1 {
454 ul#nodebgs li.parity1 {
455 background: #FFFFFF;
455 background: #FFFFFF;
456 }
456 }
457
457
458 ul#graphnodes {
458 ul#graphnodes {
459 position: absolute;
459 position: absolute;
460 z-index: 10;
460 z-index: 10;
461 top: 7px;
461 top: 7px;
462 list-style: none inside none;
462 list-style: none inside none;
463 }
463 }
464
464
465 ul#nodebgs {
465 ul#nodebgs {
466 list-style: none inside none;
466 list-style: none inside none;
467 }
467 }
468
468
469 ul#graphnodes li, ul#nodebgs li {
469 ul#graphnodes li, ul#nodebgs li {
470 height: 39px;
470 height: 39px;
471 }
471 }
472
472
473 ul#graphnodes li .info {
473 ul#graphnodes li .info {
474 display: block;
474 display: block;
475 position: relative;
475 position: relative;
476 }
476 }
477 /** end of canvas **/
477 /** end of canvas **/
478
478
479 table.code-browser{
479 table.code-browser{
480
480
481 }
481 }
482 table.code-browser thead th {
482 table.code-browser thead th {
483 background-color:#EEEEEE;
483 background-color:#EEEEEE;
484 border:1px solid #999999;
484 border:1px solid #999999;
485 height:20px;
485 height:20px;
486 font-size: 1.1em;
486 font-size: 1.1em;
487 font-weight: bold;
487 font-weight: bold;
488 }
488 }
489 table.code-browser tbody td {
489 table.code-browser tbody td {
490 border:1px solid #999999;
490 border:1px solid #999999;
491 height:20px;
491 height:20px;
492 }
492 }
493 .info-table {
493 .info-table {
494 background:none repeat scroll 0 0 #FAFAFA;
494 background:none repeat scroll 0 0 #FAFAFA;
495 border-bottom:1px solid #DDDDDD;
495 border-bottom:1px solid #DDDDDD;
496 width:100%;
496 width:100%;
497 }
497 }
498 .rss_logo{
498 .rss_logo{
499 background-image:url("/images/feed.png");
499 background-image:url("/images/feed.png");
500 background-repeat:no-repeat;
500 background-repeat:no-repeat;
501 display:block;
501 display:block;
502 height:16px;
502 height:16px;
503 padding-left:20px;
503 padding-left:20px;
504 padding-top:0px;
504 padding-top:0px;
505 text-align:left;
505 text-align:left;
506
506
507 }
507 }
508 .atom_logo{
508 .atom_logo{
509 background-image:url("/images/atom.png");
509 background-image:url("/images/atom.png");
510 background-repeat:no-repeat;
510 background-repeat:no-repeat;
511 display:block;
511 display:block;
512 height:16px;
512 height:16px;
513 padding-left:20px;
513 padding-left:20px;
514 padding-top:0px;
514 padding-top:0px;
515 text-align:left;
515 text-align:left;
516
516
517 }
517 }
518 .browser-file {
518 .browser-file {
519 background-image:url("/images/file.png");
519 background-image:url("/images/file.png");
520 background-repeat:no-repeat;
520 background-repeat:no-repeat;
521 display:block;
521 display:block;
522 height:16px;
522 height:16px;
523 padding-left:20px;
523 padding-left:20px;
524 padding-top:5px;
524 padding-top:5px;
525 text-align:left;
525 text-align:left;
526 }
526 }
527 .browser-dir {
527 .browser-dir {
528 background-image:url("/images/folder.png");
528 background-image:url("/images/folder.png");
529 background-repeat:no-repeat;
529 background-repeat:no-repeat;
530 display:block;
530 display:block;
531 height:16px;
531 height:16px;
532 padding-left:20px;
532 padding-left:20px;
533 padding-top:5px;
533 padding-top:5px;
534 text-align:left;
534 text-align:left;
535 }
535 }
536
536
537 .current_submenu{
537 .current_submenu{
538 border-bottom: 2px solid;
538 border-bottom: 2px solid;
539
539
540 }
541 #repos_list{
542 border:1px solid #556CB5;
543 background: #FFFFFF;
544
540 } No newline at end of file
545 }
@@ -1,123 +1,125 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
4 <head>
5 <link rel="icon" href="/images/hgicon.png" type="image/png" />
5 <link rel="icon" href="/images/hgicon.png" type="image/png" />
6 <meta name="robots" content="index, nofollow"/>
6 <meta name="robots" content="index, nofollow"/>
7 <title>${next.title()}</title>
7 <title>${next.title()}</title>
8 ${self.css()}
8 ${self.css()}
9 ${self.js()}
9 ${self.js()}
10 </head>
10 </head>
11
11
12 <body>
12 <body>
13 <div id="container">
13 <div id="container">
14 <div class="page-header">
14 <div class="page-header">
15 <h1>
15 <h1>
16 ${next.breadcrumbs()}
16 ${next.breadcrumbs()}
17 </h1>
17 </h1>
18 <ul class="page-nav">
18 <ul class="page-nav">
19 ${self.page_nav()}
19 ${self.page_nav()}
20 </ul>
20 </ul>
21 </div>
21 </div>
22 <div id="main">
22 <div id="main">
23 ${next.main()}
23 ${next.main()}
24 </div>
24 </div>
25 <div class="page-footer">
25 <div class="page-footer">
26 Mercurial App &copy; 2010
26 Mercurial App &copy; 2010
27 </div>
27 </div>
28
28
29 <div id="powered-by">
29 <div id="powered-by">
30 <p>
30 <p>
31 <a href="http://mercurial.selenic.com/" title="Mercurial">
31 <a href="http://mercurial.selenic.com/" title="Mercurial">
32 <img src="/images/hglogo.png" width="75" height="90" alt="mercurial"/></a>
32 <img src="/images/hglogo.png" width="75" height="90" alt="mercurial"/></a>
33 </p>
33 </p>
34 </div>
34 </div>
35
35
36 <div id="corner-top-left"></div>
36 <div id="corner-top-left"></div>
37 <div id="corner-top-right"></div>
37 <div id="corner-top-right"></div>
38 <div id="corner-bottom-left"></div>
38 <div id="corner-bottom-left"></div>
39 <div id="corner-bottom-right"></div>
39 <div id="corner-bottom-right"></div>
40
40
41 </div>
41 </div>
42 </body>
42 </body>
43 </html>
43 </html>
44
44
45 <%def name="page_nav()">
45 <%def name="page_nav()">
46
46
47 ${self.menu()}
47 ${self.menu()}
48
48
49 </%def>
49 </%def>
50
50
51
51
52 <%def name="menu(current)">
52 <%def name="menu(current)">
53 <ul class="page-nav">
53 <ul class="page-nav">
54 <script>
54 <script>
55 YAHOO.util.Event.onDOMReady(function(){
55 YAHOO.util.Event.onDOMReady(function(){
56 YAHOO.util.Event.addListener('repo_switcher','click',function(){
56 YAHOO.util.Event.addListener('repo_switcher','click',function(){
57 if(YAHOO.util.Dom.hasClass('repo_switcher','selected')){
57 if(YAHOO.util.Dom.hasClass('repo_switcher','selected')){
58 YAHOO.util.Dom.setStyle('switch_repos','display','none');
58 YAHOO.util.Dom.setStyle('switch_repos','display','none');
59 YAHOO.util.Dom.setStyle('repo_switcher','background','');
59 YAHOO.util.Dom.removeClass('repo_switcher','selected');
60 YAHOO.util.Dom.removeClass('repo_switcher','selected');
60 }
61 }
61 else{
62 else{
62 YAHOO.util.Dom.setStyle('switch_repos','display','');
63 YAHOO.util.Dom.setStyle('switch_repos','display','');
64 YAHOO.util.Dom.setStyle('repo_switcher','background','#FFFFFF');
63 YAHOO.util.Dom.addClass('repo_switcher','selected');
65 YAHOO.util.Dom.addClass('repo_switcher','selected');
64 }
66 }
65 });
67 });
66 YAHOO.util.Event.addListener('repos_list','change',function(e){
68 YAHOO.util.Event.addListener('repos_list','change',function(e){
67 var wa = YAHOO.util.Dom.get('repos_list').value;
69 var wa = YAHOO.util.Dom.get('repos_list').value;
68
70
69 var url = "${h.url('summary_home',repo_name='__REPLACE__')}".replace('__REPLACE__',wa);
71 var url = "${h.url('summary_home',repo_name='__REPLACE__')}".replace('__REPLACE__',wa);
70 window.location = url;
72 window.location = url;
71 })
73 })
72 });
74 });
73 </script>
75 </script>
74 <li>
76 <li>
75 <a id="repo_switcher" title="${_('Switch repository')}" href="#">&darr;</a>
77 <a id="repo_switcher" title="${_('Switch repository')}" href="#">&darr;</a>
76 <div id="switch_repos" style="display:none;position: absolute;width: 150px;height: 25px;background-color: #DDDDDD">
78 <div id="switch_repos" style="display:none;position: absolute;width: 150px;height: 25px">
77 <select id="repos_list">
79 <select id="repos_list">
78 %for repo in c.repo_list:
80 %for repo in c.repo_list:
79 <option value="${repo}">${repo}</option>
81 <option value="${repo}">${repo}</option>
80 %endfor
82 %endfor
81 </select>
83 </select>
82 </div>
84 </div>
83 </li>
85 </li>
84 <li
86 <li
85 %if current=='summary':
87 %if current=='summary':
86 class='current'
88 class='current'
87 %endif
89 %endif
88 >${h.link_to_unless(current=='summary',_('summary'),h.url('summary_home',repo_name=c.repo_name))}</li>
90 >${h.link_to_unless(current=='summary',_('summary'),h.url('summary_home',repo_name=c.repo_name))}</li>
89 <li
91 <li
90 %if current=='changelog':
92 %if current=='changelog':
91 class='current'
93 class='current'
92 %endif
94 %endif
93 >${h.link_to_unless(current=='changelog',_('changelog'),h.url('changelog_home',repo_name=c.repo_name))}</li>
95 >${h.link_to_unless(current=='changelog',_('changelog'),h.url('changelog_home',repo_name=c.repo_name))}</li>
94 <li
96 <li
95 %if current=='branches':
97 %if current=='branches':
96 class='current'
98 class='current'
97 %endif
99 %endif
98 >${h.link_to_unless(current=='branches',_('branches'),h.url('branches_home',repo_name=c.repo_name))}</li>
100 >${h.link_to_unless(current=='branches',_('branches'),h.url('branches_home',repo_name=c.repo_name))}</li>
99 <li
101 <li
100 %if current=='tags':
102 %if current=='tags':
101 class='current'
103 class='current'
102 %endif
104 %endif
103 >${h.link_to_unless(current=='tags',_('tags'),h.url('tags_home',repo_name=c.repo_name))}</li>
105 >${h.link_to_unless(current=='tags',_('tags'),h.url('tags_home',repo_name=c.repo_name))}</li>
104 <li
106 <li
105 %if current=='graph':
107 %if current=='graph':
106 class='current'
108 class='current'
107 %endif
109 %endif
108 >${h.link_to_unless(current=='graph',_('graph'),h.url('graph_home',repo_name=c.repo_name))}</li>
110 >${h.link_to_unless(current=='graph',_('graph'),h.url('graph_home',repo_name=c.repo_name))}</li>
109 <li
111 <li
110 %if current=='files':
112 %if current=='files':
111 class='current'
113 class='current'
112 %endif
114 %endif
113 >${h.link_to_unless(current=='files',_('files'),h.url('files_home',repo_name=c.repo_name))}</li>
115 >${h.link_to_unless(current=='files',_('files'),h.url('files_home',repo_name=c.repo_name))}</li>
114 </ul>
116 </ul>
115 </%def>
117 </%def>
116
118
117 <%def name="css()">
119 <%def name="css()">
118 <link rel="stylesheet" href="/css/monoblue_custom.css" type="text/css" />
120 <link rel="stylesheet" href="/css/monoblue_custom.css" type="text/css" />
119 </%def>
121 </%def>
120
122
121 <%def name="js()">
123 <%def name="js()">
122 <script type="text/javascript" src="/js/yui/utilities/utilities.js"></script>
124 <script type="text/javascript" src="/js/yui/utilities/utilities.js"></script>
123 </%def> No newline at end of file
125 </%def>
General Comments 0
You need to be logged in to leave comments. Login now