##// END OF EJS Templates
Added flash messages support
marcink -
r237:f188b156 default
parent child Browse files
Show More
1 NO CONTENT: new file 100644, binary diff hidden
NO CONTENT: new file 100644, binary diff hidden
1 NO CONTENT: new file 100644, binary diff hidden
NO CONTENT: new file 100644, binary diff hidden
1 NO CONTENT: new file 100644, binary diff hidden
NO CONTENT: new file 100644, binary diff hidden
1 NO CONTENT: new file 100644, binary diff hidden
NO CONTENT: new file 100644, binary diff hidden
@@ -1,754 +1,809 b''
1 /*** Initial Settings ***/
1 /*** Initial Settings ***/
2 #mainhtml{
2 #mainhtml{
3 margin: 15px 50px;
3 margin: 15px 50px;
4 background: #DBD4C6;
4 background: #DBD4C6;
5 font-family: sans-serif;
5 font-family: sans-serif;
6 }
6 }
7
7
8 a {
8 a {
9 color: #556CB5;
9 color: #556CB5;
10 text-decoration: none;
10 text-decoration: none;
11 }
11 }
12 a:HOVER{
12 a:HOVER{
13 text-decoration: underline;
13 text-decoration: underline;
14 }
14 }
15
15
16 /*** end of Initial Settings ***/
16 /*** end of Initial Settings ***/
17
17
18 /*** ***/
18 /*** ***/
19 .table_disp {
19 .table_disp {
20 border-left: 0px solid #666666;
20 border-left: 0px solid #666666;
21 border-bottom: 1px solid #666666;
21 border-bottom: 1px solid #666666;
22 border-right: 1px solid #666666;
22 border-right: 1px solid #666666;
23 padding: 0px;
23 padding: 0px;
24 margin: 0px;
24 margin: 0px;
25 border-spacing: 0px;
25 border-spacing: 0px;
26 }
26 }
27
27
28 .table_disp .header {
28 .table_disp .header {
29 border-top: 1px solid #666666;
29 border-top: 1px solid #666666;
30 background-color: #556CB5;
30 background-color: #556CB5;
31 font-weight: bold;
31 font-weight: bold;
32 color: white;
32 color: white;
33 vertical-align: middle;
33 vertical-align: middle;
34 padding: 3px 5px;
34 padding: 3px 5px;
35 text-align: left;
35 text-align: left;
36 font-size: 0.9em;
36 font-size: 0.9em;
37 }
37 }
38
38
39 .table_disp .header td {
39 .table_disp .header td {
40 padding: 4px;
40 padding: 4px;
41 vertical-align: middle;
41 vertical-align: middle;
42 border-top: 1px solid #AAAAAA;
42 border-top: 1px solid #AAAAAA;
43 border-bottom: 2px solid #666666;
43 border-bottom: 2px solid #666666;
44 }
44 }
45 .table_disp td {
45 .table_disp td {
46 border-left: 1px solid #AAAAAA;
46 border-left: 1px solid #AAAAAA;
47 padding-left: 2px;
47 padding-left: 4px;
48 padding-right: 0px;
48 padding-right: 4px;
49 }
49 }
50
50
51 table tr.parity0:hover,table tr.parity1:hover {
51 table tr.parity0:hover,table tr.parity1:hover {
52 background: #D5E1E6;
52 background: #D5E1E6;
53 }
53 }
54
54
55 table tr.parity0 {
55 table tr.parity0 {
56 background: #EAEAE9;
56 background: #EAEAE9;
57 }
57 }
58
58
59 table tr.parity1 {
59 table tr.parity1 {
60 background: #FFFFFF;
60 background: #FFFFFF;
61 }
61 }
62
62
63
63
64 /*** ***/
64 /*** ***/
65
65
66 /** common settings **/
66 /** common settings **/
67 .add_icon{
67 .add_icon{
68 background: url("/images/icons/add.png") no-repeat scroll 3px;
68 background: url("/images/icons/add.png") no-repeat scroll 3px;
69 height: 16px;
69 height: 16px;
70 padding-left: 20px;
70 padding-left: 20px;
71 padding-top: 0px;
71 padding-top: 0px;
72 text-align: left;
72 text-align: left;
73
73
74 }
74 }
75 .edit_icon{
75 .edit_icon{
76 background: url("/images/icons/folder_edit.png") no-repeat scroll 3px;
76 background: url("/images/icons/folder_edit.png") no-repeat scroll 3px;
77 height: 16px;
77 height: 16px;
78 padding-left: 20px;
78 padding-left: 20px;
79 padding-top: 0px;
79 padding-top: 0px;
80 text-align: left;
80 text-align: left;
81 }
81 }
82
82
83 .delete_icon{
83 .delete_icon{
84 background: url("/images/icons/delete.png") no-repeat scroll 3px;
84 background: url("/images/icons/delete.png") no-repeat scroll 3px;
85 height: 16px;
85 height: 16px;
86 padding-left: 20px;
86 padding-left: 20px;
87 padding-top: 0px;
87 padding-top: 0px;
88 text-align: left;
88 text-align: left;
89
89
90 }
90 }
91
91
92 .action_button{
92 .action_button{
93 border:0px;
93 border:0px;
94 display: block;
94 display: block;
95 }
95 }
96 .action_button:hover{
96 .action_button:hover{
97 border:0px;
97 border:0px;
98 font-style:italic;
98 font-style:italic;
99 cursor: pointer;
99 cursor: pointer;
100 }
100 }
101
101
102 .flash_msg ul{
103 margin:0;
104 padding:25px 0px 0px 0px;
105
106 }
107 .error_msg {
108 background-color:#FFCFCF;
109 background-image: url("/images/icons/error_msg.png");
110 border:1px solid #FF9595;
111 color:#CC3300;
112 }
113 .warning_msg {
114 background-color:#FFFBCC;
115 background-image: url("/images/icons/warning_msg.png");
116 border:1px solid #FFF35E;
117 color:#C69E00;
118 }
119 .success_msg {
120 background-color:#D5FFCF;
121 background-image: url("/images/icons/success_msg.png");
122 border:1px solid #97FF88;
123 color:#009900;
124 }
125 .notice_msg {
126 background-color:#DCE3FF;
127 background-image: url("/images/icons/notice_msg.png");
128 border:1px solid #93A8FF;
129 color:#556CB5;
130 }
131
132 .success_msg, .error_msg, .notice_msg, .warning_msg{
133 background-position:10px center;
134 background-repeat:no-repeat;
135 font-size:12px;
136 font-weight:bold;
137 min-height:14px;
138 line-height:14px;
139 margin-bottom:0px;
140 margin-top:0px;
141 padding:3px 10px 3px 40px;
142 display:block;
143 overflow: auto;
144 }
145
146 #msg_close {
147 background:transparent url("icons/cross_grey_small.png") no-repeat scroll 0 0;
148 cursor:pointer;
149 height:16px;
150 position:absolute;
151 right:5px;
152 top:5px;
153 width:16px;
154 }
155
156
102 div#main {
157 div#main {
103 padding: 5px;
158 padding: 5px;
104 }
159 }
105
160
106 div#container {
161 div#container {
107 background: #FFFFFF;
162 background: #FFFFFF;
108 position: relative;
163 position: relative;
109 color: #666;
164 color: #666;
110 }
165 }
111
166
112 div.page-header {
167 div.page-header {
113 padding: 50px 20px 0;
168 padding: 50px 20px 0;
114 background: #556cb5 top left repeat-x;
169 background: #556cb5 top left repeat-x;
115 position: relative;
170 position: relative;
116 }
171 }
117
172
118 div.page-header h1 {
173 div.page-header h1 {
119 margin: 10px 0 30px;
174 margin: 10px 0 30px;
120 font-size: 1.8em;
175 font-size: 1.8em;
121 font-weight: bold;
176 font-weight: bold;
122 font-family: sans-serif;
177 font-family: sans-serif;
123 letter-spacing: 1px;
178 letter-spacing: 1px;
124 color: #FFFFFF;
179 color: #FFFFFF;
125 }
180 }
126
181
127 div.page-header h1 a {
182 div.page-header h1 a {
128 font-weight: bold;
183 font-weight: bold;
129 color: #FFFFFF;
184 color: #FFFFFF;
130 }
185 }
131
186
132 div.page-header a {
187 div.page-header a {
133 text-decoration: none;
188 text-decoration: none;
134 }
189 }
135
190
136 div.page-header form {
191 div.page-header form {
137 position: absolute;
192 position: absolute;
138 margin-bottom: 2px;
193 margin-bottom: 2px;
139 bottom: 0;
194 bottom: 0;
140 right: 20px;
195 right: 20px;
141 }
196 }
142
197
143 div.page-header form label {
198 div.page-header form label {
144 color: #DDD;
199 color: #DDD;
145 }
200 }
146
201
147 div.page-header form input {
202 div.page-header form input {
148 padding: 2px;
203 padding: 2px;
149 border: solid 1px #DDD;
204 border: solid 1px #DDD;
150 }
205 }
151
206
152 div.page-header form dl {
207 div.page-header form dl {
153 overflow: hidden;
208 overflow: hidden;
154 }
209 }
155
210
156 div.page-header form dl dt {
211 div.page-header form dl dt {
157 font-size: 1.2em;
212 font-size: 1.2em;
158 }
213 }
159
214
160 div.page-header form dl dt,div.page-header form dl dd {
215 div.page-header form dl dt,div.page-header form dl dd {
161 margin: 0 0 0 5px;
216 margin: 0 0 0 5px;
162 float: left;
217 float: left;
163 height: 24px;
218 height: 24px;
164 line-height: 20px;
219 line-height: 20px;
165 }
220 }
166
221
167 ul.page-nav {
222 ul.page-nav {
168 margin: 10px 0 0 0;
223 margin: 10px 0 0 0;
169 list-style-type: none;
224 list-style-type: none;
170 overflow: hidden;
225 overflow: hidden;
171 width: 800px;
226 width: 800px;
172 padding: 0;
227 padding: 0;
173 }
228 }
174
229
175 ul.page-nav li {
230 ul.page-nav li {
176 margin: 0 4px 0 0;
231 margin: 0 4px 0 0;
177 float: left;
232 float: left;
178 height: 24px;
233 height: 24px;
179 font-size: 1.1em;
234 font-size: 1.1em;
180 line-height: 24px;
235 line-height: 24px;
181 text-align: center;
236 text-align: center;
182 background: #556CB5;
237 background: #556CB5;
183 }
238 }
184
239
185 ul.page-nav li.current {
240 ul.page-nav li.current {
186 background: #FFF;
241 background: #FFF;
187 padding-right: 5px;
242 padding-right: 5px;
188 padding-left: 5px;
243 padding-left: 5px;
189 }
244 }
190 ul.page-nav li.current a {
245 ul.page-nav li.current a {
191 color: #556CB5;
246 color: #556CB5;
192 }
247 }
193 ul.page-nav li a {
248 ul.page-nav li a {
194 height: 24px;
249 height: 24px;
195 color: #FFF;
250 color: #FFF;
196 padding-right: 5px;
251 padding-right: 5px;
197 padding-left: 5px;
252 padding-left: 5px;
198 display: block;
253 display: block;
199 text-decoration: none;
254 text-decoration: none;
200 font-weight: bold;
255 font-weight: bold;
201 }
256 }
202 ul.page-nav li.logout a {
257 ul.page-nav li.logout a {
203 color: #FDAC9D;
258 color: #FDAC9D;
204 }
259 }
205 ul.page-nav li a:hover {
260 ul.page-nav li a:hover {
206 background: #FFF;
261 background: #FFF;
207 color: #556CB5;
262 color: #556CB5;
208 }
263 }
209
264
210 ul.submenu {
265 ul.submenu {
211 margin: 5px 0px -20px 0px;
266 margin: 5px 0px -20px 0px;
212 list-style-type: none;
267 list-style-type: none;
213 }
268 }
214
269
215 ul.submenu li {
270 ul.submenu li {
216 margin: 0 10px 0 0;
271 margin: 0 10px 0 0;
217 font-size: 0.9em;
272 font-size: 0.9em;
218 font-weight:bold;
273 font-weight:bold;
219 display: inline;
274 display: inline;
220 }
275 }
221 ul.submenu .repos {
276 ul.submenu .repos {
222 background: url("/images/icons/folder_edit.png") no-repeat scroll 3px;
277 background: url("/images/icons/folder_edit.png") no-repeat scroll 3px;
223 height: 16px;
278 height: 16px;
224 padding-left: 20px;
279 padding-left: 20px;
225 padding-top: 0px;
280 padding-top: 0px;
226 text-align: left;
281 text-align: left;
227
282
228 }
283 }
229 ul.submenu .users {
284 ul.submenu .users {
230 background: url("/images/icons/user_edit.png") no-repeat scroll 3px;
285 background: url("/images/icons/user_edit.png") no-repeat scroll 3px;
231 height: 16px;
286 height: 16px;
232 padding-left: 20px;
287 padding-left: 20px;
233 padding-top: 0px;
288 padding-top: 0px;
234 text-align: left;
289 text-align: left;
235 }
290 }
236 ul.submenu .permissions {
291 ul.submenu .permissions {
237 background: url("/images/icons/folder_key.png") no-repeat scroll 3px;
292 background: url("/images/icons/folder_key.png") no-repeat scroll 3px;
238 height: 16px;
293 height: 16px;
239 padding-left: 20px;
294 padding-left: 20px;
240 padding-top: 0px;
295 padding-top: 0px;
241 text-align: left;
296 text-align: left;
242 }
297 }
243
298
244 ul.submenu .current_submenu {
299 ul.submenu .current_submenu {
245 border-bottom: 2px solid #556CB5;
300 border-bottom: 2px solid #556CB5;
246 }
301 }
247
302
248 h2 {
303 h2 {
249 margin: 20px 0 10px;
304 margin: 20px 0 10px;
250 height: 30px;
305 height: 30px;
251 line-height: 30px;
306 line-height: 30px;
252 text-indent: 20px;
307 text-indent: 20px;
253 background: #FFF;
308 background: #FFF;
254 font-size: 1.2em;
309 font-size: 1.2em;
255 border-top: dotted 1px #D5E1E6;
310 border-top: dotted 1px #D5E1E6;
256 font-weight: bold;
311 font-weight: bold;
257 color:#556CB5;
312 color:#556CB5;
258 }
313 }
259
314
260 h2.no-link {
315 h2.no-link {
261 color: #006699;
316 color: #006699;
262 }
317 }
263
318
264 h2.no-border {
319 h2.no-border {
265 color: #FFF;
320 color: #FFF;
266 background: #556CB5;
321 background: #556CB5;
267 border: 0;
322 border: 0;
268 }
323 }
269
324
270 h2 a {
325 h2 a {
271 font-weight: bold;
326 font-weight: bold;
272 color: #006699;
327 color: #006699;
273 }
328 }
274
329
275 div.page-path {
330 div.page-path {
276 text-align: right;
331 text-align: right;
277 padding: 20px 30px 10px 0;
332 padding: 20px 30px 10px 0;
278 border: solid #d9d8d1;
333 border: solid #d9d8d1;
279 border-width: 0px 0px 1px;
334 border-width: 0px 0px 1px;
280 font-size: 1.2em;
335 font-size: 1.2em;
281 }
336 }
282
337
283 div.page-footer {
338 div.page-footer {
284 margin: 50px 0 0;
339 margin: 50px 0 0;
285 position: relative;
340 position: relative;
286 text-align: center;
341 text-align: center;
287 font-weight: bold;
342 font-weight: bold;
288 font-size: 90%;
343 font-size: 90%;
289 }
344 }
290
345
291 div.page-footer p {
346 div.page-footer p {
292 position: relative;
347 position: relative;
293 left: 20px;
348 left: 20px;
294 bottom: 5px;
349 bottom: 5px;
295 font-size: 1.2em;
350 font-size: 1.2em;
296 }
351 }
297
352
298 ul.rss-logo {
353 ul.rss-logo {
299 position: absolute;
354 position: absolute;
300 top: -10px;
355 top: -10px;
301 right: 20px;
356 right: 20px;
302 height: 20px;
357 height: 20px;
303 list-style-type: none;
358 list-style-type: none;
304 }
359 }
305
360
306 ul.rss-logo li {
361 ul.rss-logo li {
307 display: inline;
362 display: inline;
308 }
363 }
309
364
310 ul.rss-logo li a {
365 ul.rss-logo li a {
311 padding: 3px 6px;
366 padding: 3px 6px;
312 line-height: 10px;
367 line-height: 10px;
313 border: 1px solid;
368 border: 1px solid;
314 border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
369 border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
315 color: #ffffff;
370 color: #ffffff;
316 background-color: #ff6600;
371 background-color: #ff6600;
317 font-weight: bold;
372 font-weight: bold;
318 font-family: sans-serif;
373 font-family: sans-serif;
319 font-size: 10px;
374 font-size: 10px;
320 text-align: center;
375 text-align: center;
321 text-decoration: none;
376 text-decoration: none;
322 }
377 }
323
378
324 div.rss-logo li a:hover {
379 div.rss-logo li a:hover {
325 background-color: #ee5500;
380 background-color: #ee5500;
326 }
381 }
327
382
328 p.normal {
383 p.normal {
329 margin: 20px 0 20px 30px;
384 margin: 20px 0 20px 30px;
330 font-size: 1.2em;
385 font-size: 1.2em;
331 }
386 }
332
387
333 span.logtags span {
388 span.logtags span {
334 background-repeat: no-repeat;
389 background-repeat: no-repeat;
335 height: 16px;
390 height: 16px;
336 padding-left: 20px;
391 padding-left: 20px;
337 padding-top: 0px;
392 padding-top: 0px;
338 text-align: left;
393 text-align: left;
339 font-weight: bold;
394 font-weight: bold;
340 }
395 }
341
396
342 span.logtags span.tagtag {
397 span.logtags span.tagtag {
343 background-image: url("/images/icons/tag_green.png");
398 background-image: url("/images/icons/tag_green.png");
344 }
399 }
345
400
346 span.logtags span.branchtag {
401 span.logtags span.branchtag {
347 background-image: url("/images/icons/arrow_branch.png");
402 background-image: url("/images/icons/arrow_branch.png");
348 color: #628F53;
403 color: #628F53;
349 }
404 }
350
405
351 span.logtags span.inbranchtag {
406 span.logtags span.inbranchtag {
352 background-image: url("/images/icons/arrow_branch.png");
407 background-image: url("/images/icons/arrow_branch.png");
353 }
408 }
354
409
355 div.diff pre {
410 div.diff pre {
356 margin: 10px 0 0 0;
411 margin: 10px 0 0 0;
357 }
412 }
358
413
359 div.diff pre span {
414 div.diff pre span {
360 font-family: monospace;
415 font-family: monospace;
361 white-space: pre;
416 white-space: pre;
362 font-size: 1.2em;
417 font-size: 1.2em;
363 padding: 3px 0;
418 padding: 3px 0;
364 }
419 }
365
420
366 td.source {
421 td.source {
367 white-space: pre;
422 white-space: pre;
368 font-family: monospace;
423 font-family: monospace;
369 margin: 10px 30px 0;
424 margin: 10px 30px 0;
370 font-size: 1.2em;
425 font-size: 1.2em;
371 font-family: monospace;
426 font-family: monospace;
372 }
427 }
373
428
374 div.source div.parity0,div.source div.parity1 {
429 div.source div.parity0,div.source div.parity1 {
375 padding: 1px;
430 padding: 1px;
376 font-size: 1.2em;
431 font-size: 1.2em;
377 }
432 }
378
433
379 div.source div.parity0 {
434 div.source div.parity0 {
380 background: #F1F6F7;
435 background: #F1F6F7;
381 }
436 }
382
437
383 div.source div.parity1 {
438 div.source div.parity1 {
384 background: #FFFFFF;
439 background: #FFFFFF;
385 }
440 }
386
441
387 div.parity0:hover,div.parity1:hover {
442 div.parity0:hover,div.parity1:hover {
388 background: #D5E1E6;
443 background: #D5E1E6;
389 }
444 }
390
445
391 .linenr {
446 .linenr {
392 color: #999;
447 color: #999;
393 text-align: right;
448 text-align: right;
394 }
449 }
395
450
396 .lineno {
451 .lineno {
397 text-align: right;
452 text-align: right;
398 }
453 }
399
454
400 .lineno a {
455 .lineno a {
401 color: #999;
456 color: #999;
402 }
457 }
403
458
404 td.linenr {
459 td.linenr {
405 width: 60px;
460 width: 60px;
406 }
461 }
407
462
408 div#powered-by {
463 div#powered-by {
409 position: absolute;
464 position: absolute;
410 width: 75px;
465 width: 75px;
411 top: 15px;
466 top: 15px;
412 right: 20px;
467 right: 20px;
413 font-size: 1.2em;
468 font-size: 1.2em;
414 }
469 }
415
470
416 div#powered-by a {
471 div#powered-by a {
417 color: #EEE;
472 color: #EEE;
418 text-decoration: none;
473 text-decoration: none;
419 }
474 }
420
475
421 div#powered-by a:hover {
476 div#powered-by a:hover {
422 text-decoration: underline;
477 text-decoration: underline;
423 }
478 }
424
479
425 dl.overview {
480 dl.overview {
426 margin: 0 0 0 30px;
481 margin: 0 0 0 30px;
427 font-size: 1.1em;
482 font-size: 1.1em;
428 overflow: hidden;
483 overflow: hidden;
429 }
484 }
430
485
431 dl.overview dt,dl.overview dd {
486 dl.overview dt,dl.overview dd {
432 margin: 5px 0;
487 margin: 5px 0;
433 float: left;
488 float: left;
434 }
489 }
435
490
436 dl.overview dt {
491 dl.overview dt {
437 clear: left;
492 clear: left;
438 font-weight: bold;
493 font-weight: bold;
439 width: 150px;
494 width: 150px;
440 }
495 }
441
496
442 #clone_url{
497 #clone_url{
443 border: 0px;
498 border: 0px;
444 }
499 }
445 /** end of summary **/
500 /** end of summary **/
446
501
447 /** chagelog **/
502 /** chagelog **/
448 h3.changelog {
503 h3.changelog {
449 margin: 20px 0 5px 30px;
504 margin: 20px 0 5px 30px;
450 padding: 0 0 2px;
505 padding: 0 0 2px;
451 font-size: 1.4em;
506 font-size: 1.4em;
452 border-bottom: dotted 1px #D5E1E6;
507 border-bottom: dotted 1px #D5E1E6;
453 }
508 }
454
509
455 ul.changelog-entry {
510 ul.changelog-entry {
456 margin: 0 0 10px 30px;
511 margin: 0 0 10px 30px;
457 list-style-type: none;
512 list-style-type: none;
458 position: relative;
513 position: relative;
459 }
514 }
460
515
461 ul.changelog-entry li span.revdate {
516 ul.changelog-entry li span.revdate {
462 font-size: 1.1em;
517 font-size: 1.1em;
463 }
518 }
464
519
465 ul.changelog-entry li.age {
520 ul.changelog-entry li.age {
466 position: absolute;
521 position: absolute;
467 top: -25px;
522 top: -25px;
468 right: 10px;
523 right: 10px;
469 font-size: 1.4em;
524 font-size: 1.4em;
470 color: #CCC;
525 color: #CCC;
471 font-weight: bold;
526 font-weight: bold;
472 font-style: italic;
527 font-style: italic;
473 }
528 }
474
529
475 ul.changelog-entry li span.name {
530 ul.changelog-entry li span.name {
476 font-size: 1.2em;
531 font-size: 1.2em;
477 font-weight: bold;
532 font-weight: bold;
478 }
533 }
479
534
480 ul.changelog-entry li.description {
535 ul.changelog-entry li.description {
481 margin: 10px 0 0;
536 margin: 10px 0 0;
482 font-size: 1.1em;
537 font-size: 1.1em;
483 }
538 }
484
539
485 /** end of changelog **/
540 /** end of changelog **/
486
541
487 /** file **/
542 /** file **/
488 p.files {
543 p.files {
489 margin: 0 0 0 20px;
544 margin: 0 0 0 20px;
490 font-size: 2.0em;
545 font-size: 2.0em;
491 font-weight: bold;
546 font-weight: bold;
492 }
547 }
493
548
494 /** end of file **/
549 /** end of file **/
495
550
496 /** changeset **/
551 /** changeset **/
497 #changeset_content{
552 #changeset_content{
498 width:60%;
553 width:60%;
499 float:left;
554 float:left;
500 }
555 }
501
556
502 #changeset_content .container .wrapper{
557 #changeset_content .container .wrapper{
503 width: 600px;
558 width: 600px;
504 }
559 }
505 #changeset_content .container{
560 #changeset_content .container{
506 border:1px solid #CCCCCC;
561 border:1px solid #CCCCCC;
507 height:120px;
562 height:120px;
508 }
563 }
509
564
510 #changeset_content .container .left{
565 #changeset_content .container .left{
511 float:left;
566 float:left;
512 width: 70%;
567 width: 70%;
513 padding-left: 5px;
568 padding-left: 5px;
514 }
569 }
515
570
516 #changeset_content .container .right{
571 #changeset_content .container .right{
517 float:right;
572 float:right;
518 width: 25%;
573 width: 25%;
519 text-align: right;
574 text-align: right;
520 }
575 }
521
576
522 #changeset_content .container .left .date{
577 #changeset_content .container .left .date{
523 font-weight:bold;
578 font-weight:bold;
524 }
579 }
525 #changeset_content .container .left .author{
580 #changeset_content .container .left .author{
526
581
527 }
582 }
528 #changeset_content .container .left .message{
583 #changeset_content .container .left .message{
529 font-style: italic;
584 font-style: italic;
530 color: #556CB5;
585 color: #556CB5;
531 }
586 }
532
587
533 .cs_files{
588 .cs_files{
534 width: 60%;
589 width: 60%;
535 }
590 }
536
591
537 .cs_files .cs_added{
592 .cs_files .cs_added{
538 background: url("/images/icons/page_white_add.png") no-repeat scroll 3px;
593 background: url("/images/icons/page_white_add.png") no-repeat scroll 3px;
539 /*background-color:#BBFFBB;*/
594 /*background-color:#BBFFBB;*/
540 height: 16px;
595 height: 16px;
541 padding-left: 20px;
596 padding-left: 20px;
542 margin-top: 7px;
597 margin-top: 7px;
543 text-align: left;
598 text-align: left;
544 }
599 }
545 .cs_files .cs_changed{
600 .cs_files .cs_changed{
546 background: url("/images/icons/page_white_edit.png") no-repeat scroll 3px;
601 background: url("/images/icons/page_white_edit.png") no-repeat scroll 3px;
547 /*background-color: #FFDD88;*/
602 /*background-color: #FFDD88;*/
548 height: 16px;
603 height: 16px;
549 padding-left: 20px;
604 padding-left: 20px;
550 margin-top: 7px;
605 margin-top: 7px;
551 text-align: left;
606 text-align: left;
552 }
607 }
553 .cs_files .cs_removed{
608 .cs_files .cs_removed{
554 background: url("/images/icons/page_white_delete.png") no-repeat scroll 3px;
609 background: url("/images/icons/page_white_delete.png") no-repeat scroll 3px;
555 /*background-color: #FF8888;*/
610 /*background-color: #FF8888;*/
556 height: 16px;
611 height: 16px;
557 padding-left: 20px;
612 padding-left: 20px;
558 margin-top: 7px;
613 margin-top: 7px;
559 text-align: left;
614 text-align: left;
560 }
615 }
561
616
562 /** end of changeset **/
617 /** end of changeset **/
563
618
564 /** canvas **/
619 /** canvas **/
565 canvas {
620 canvas {
566 position: absolute;
621 position: absolute;
567 z-index: 5;
622 z-index: 5;
568 top: -0.7em;
623 top: -0.7em;
569 }
624 }
570 #graph{
625 #graph{
571 overflow: hidden;
626 overflow: hidden;
572
627
573 }
628 }
574 #graph_nodes{
629 #graph_nodes{
575 width:160px;
630 width:160px;
576 float:left;
631 float:left;
577 }
632 }
578
633
579 #graph_content{
634 #graph_content{
580 width:800px;
635 width:800px;
581 float:left;
636 float:left;
582 }
637 }
583 #graph_content .container_header{
638 #graph_content .container_header{
584 border:1px solid #CCCCCC;
639 border:1px solid #CCCCCC;
585 height:30px;
640 height:30px;
586 background: #EEEEEE;
641 background: #EEEEEE;
587 }
642 }
588
643
589
644
590 #graph_content .container .wrapper{
645 #graph_content .container .wrapper{
591 width: 600px;
646 width: 600px;
592 }
647 }
593 #graph_content .container{
648 #graph_content .container{
594 border-bottom: 1px solid #CCCCCC;
649 border-bottom: 1px solid #CCCCCC;
595 border-left: 1px solid #CCCCCC;
650 border-left: 1px solid #CCCCCC;
596 border-right: 1px solid #CCCCCC;
651 border-right: 1px solid #CCCCCC;
597 height:120px;
652 height:120px;
598 }
653 }
599
654
600 #graph_content .container .left{
655 #graph_content .container .left{
601 float:left;
656 float:left;
602 width: 70%;
657 width: 70%;
603 padding-left: 5px;
658 padding-left: 5px;
604 }
659 }
605
660
606 #graph_content .container .right{
661 #graph_content .container .right{
607 float:right;
662 float:right;
608 width: 25%;
663 width: 25%;
609 text-align: right;
664 text-align: right;
610 }
665 }
611 #graph_content .container .left .date{
666 #graph_content .container .left .date{
612 font-weight:bold;
667 font-weight:bold;
613 }
668 }
614 #graph_content .container .left .author{
669 #graph_content .container .left .author{
615
670
616 }
671 }
617 #graph_content .container .left .message{
672 #graph_content .container .left .message{
618 font-size: 80%;
673 font-size: 80%;
619 }
674 }
620
675
621 .right div{
676 .right div{
622 clear: both;
677 clear: both;
623 }
678 }
624 .right .changes .added,.changed,.removed{
679 .right .changes .added,.changed,.removed{
625 border:1px solid #DDDDDD;
680 border:1px solid #DDDDDD;
626 display:block;
681 display:block;
627 float:right;
682 float:right;
628 font-size:0.75em;
683 font-size:0.75em;
629 text-align:center;
684 text-align:center;
630 min-width:15px;
685 min-width:15px;
631 }
686 }
632 .right .changes .added{
687 .right .changes .added{
633 background:#BBFFBB;
688 background:#BBFFBB;
634 }
689 }
635 .right .changes .changed{
690 .right .changes .changed{
636 background: #FFDD88;
691 background: #FFDD88;
637 }
692 }
638 .right .changes .removed{
693 .right .changes .removed{
639 background: #FF8888;
694 background: #FF8888;
640 }
695 }
641
696
642 .right .merge{
697 .right .merge{
643 vertical-align: top;
698 vertical-align: top;
644 font-size: 60%;
699 font-size: 60%;
645 font-weight: bold;
700 font-weight: bold;
646 }
701 }
647 .right .merge img{
702 .right .merge img{
648 vertical-align: bottom;
703 vertical-align: bottom;
649 }
704 }
650
705
651 .right .parent{
706 .right .parent{
652 font-size: 90%;
707 font-size: 90%;
653 font-family: monospace;
708 font-family: monospace;
654 }
709 }
655 /** end of canvas **/
710 /** end of canvas **/
656
711
657 /* FILE BROWSER */
712 /* FILE BROWSER */
658 div.browserblock {
713 div.browserblock {
659 overflow: hidden;
714 overflow: hidden;
660 padding: 0px;
715 padding: 0px;
661 border: 1px solid #ccc;
716 border: 1px solid #ccc;
662 background: #f8f8f8;
717 background: #f8f8f8;
663 font-size: 100%;
718 font-size: 100%;
664 line-height: 100%;
719 line-height: 100%;
665 /* new */
720 /* new */
666 line-height: 125%;
721 line-height: 125%;
667 }
722 }
668 div.browserblock .browser-header{
723 div.browserblock .browser-header{
669 border-bottom: 1px solid #CCCCCC;
724 border-bottom: 1px solid #CCCCCC;
670 background: #EEEEEE;
725 background: #EEEEEE;
671 color:blue;
726 color:blue;
672 padding:10px 0 10px 0;
727 padding:10px 0 10px 0;
673 }
728 }
674 div.browserblock .browser-header span{
729 div.browserblock .browser-header span{
675 margin-left:25px;
730 margin-left:25px;
676 font-weight: bold;
731 font-weight: bold;
677 }
732 }
678 div.browserblock .browser-body{
733 div.browserblock .browser-body{
679 background: #EEEEEE;
734 background: #EEEEEE;
680 }
735 }
681
736
682 table.code-browser {
737 table.code-browser {
683 border-collapse:collapse;
738 border-collapse:collapse;
684 width: 100%;
739 width: 100%;
685 }
740 }
686 table.code-browser tr{
741 table.code-browser tr{
687 margin:3px;
742 margin:3px;
688 }
743 }
689
744
690 table.code-browser thead th {
745 table.code-browser thead th {
691 background-color: #EEEEEE;
746 background-color: #EEEEEE;
692 height: 20px;
747 height: 20px;
693 font-size: 1.1em;
748 font-size: 1.1em;
694 font-weight: bold;
749 font-weight: bold;
695 text-align: center;
750 text-align: center;
696 text-align: left;
751 text-align: left;
697 padding-left: 10px;
752 padding-left: 10px;
698 }
753 }
699 table.code-browser tbody tr {
754 table.code-browser tbody tr {
700
755
701 }
756 }
702
757
703 table.code-browser tbody td {
758 table.code-browser tbody td {
704
759
705 padding-left:10px;
760 padding-left:10px;
706 height: 20px;
761 height: 20px;
707 }
762 }
708
763
709 .info-table {
764 .info-table {
710 background: none repeat scroll 0 0 #FAFAFA;
765 background: none repeat scroll 0 0 #FAFAFA;
711 border-bottom: 1px solid #DDDDDD;
766 border-bottom: 1px solid #DDDDDD;
712 width: 100%;
767 width: 100%;
713 }
768 }
714
769
715 .rss_logo {
770 .rss_logo {
716 background: url("/images/icons/rss_16.png") no-repeat scroll 3px;
771 background: url("/images/icons/rss_16.png") no-repeat scroll 3px;
717 height: 16px;
772 height: 16px;
718 padding-left: 20px;
773 padding-left: 20px;
719 padding-top: 0px;
774 padding-top: 0px;
720 text-align: left;
775 text-align: left;
721 }
776 }
722
777
723 .atom_logo {
778 .atom_logo {
724 background: url("/images/icons/atom.png") no-repeat scroll 3px;
779 background: url("/images/icons/atom.png") no-repeat scroll 3px;
725 height: 16px;
780 height: 16px;
726 padding-left: 20px;
781 padding-left: 20px;
727 padding-top: 0px;
782 padding-top: 0px;
728 text-align: left;
783 text-align: left;
729 }
784 }
730 .archive_logo{
785 .archive_logo{
731 background: url("/images/icons/compress.png") no-repeat scroll 3px;
786 background: url("/images/icons/compress.png") no-repeat scroll 3px;
732 height: 16px;
787 height: 16px;
733 padding-left: 20px;
788 padding-left: 20px;
734 text-align: left;
789 text-align: left;
735 }
790 }
736
791
737 .browser-file {
792 .browser-file {
738 background: url("/images/icons/document_16.png") no-repeat scroll 3px;
793 background: url("/images/icons/document_16.png") no-repeat scroll 3px;
739 height: 16px;
794 height: 16px;
740 padding-left: 20px;
795 padding-left: 20px;
741 text-align: left;
796 text-align: left;
742 }
797 }
743
798
744 .browser-dir {
799 .browser-dir {
745 background: url("/images/icons/folder_16.png") no-repeat scroll 3px;
800 background: url("/images/icons/folder_16.png") no-repeat scroll 3px;
746 height: 16px;
801 height: 16px;
747 padding-left: 20px;
802 padding-left: 20px;
748 text-align: left;
803 text-align: left;
749 }
804 }
750
805
751 #repos_list {
806 #repos_list {
752 border: 1px solid #556CB5;
807 border: 1px solid #556CB5;
753 background: #FFFFFF;
808 background: #FFFFFF;
754 } No newline at end of file
809 }
@@ -1,143 +1,153 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" id="mainhtml">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="mainhtml">
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 ##For future use yui reset for cross browser compatability.
8 ##For future use yui reset for cross browser compatability.
9 ##<link rel="stylesheet" href="/js/yui/reset-fonts-grids/reset-fonts-grids.css" type="text/css" />
9 ##<link rel="stylesheet" href="/js/yui/reset-fonts-grids/reset-fonts-grids.css" type="text/css" />
10 ${self.css()}
10 ${self.css()}
11 ${self.js()}
11 ${self.js()}
12 </head>
12 </head>
13
13
14 <body class="mainbody">
14 <body class="mainbody">
15 <div id="container">
15 <div id="container">
16 <div class="page-header">
16 <div class="page-header">
17 <h1>${next.breadcrumbs()}</h1>
17 <h1>${next.breadcrumbs()}</h1>
18 ${self.page_nav()}
18 ${self.page_nav()}
19 <div id="main">
19 <div class="flash_msg">
20 <% messages = h.flash.pop_messages() %>
21 % if messages:
22 <ul id="flash-messages">
23 % for message in messages:
24 <li class="${message.category}_msg">${message}</li>
25 % endfor
26 </ul>
27 % endif
28 </div>
29 <div id="main">
20 ${next.main()}
30 ${next.main()}
21 </div>
31 </div>
22 <div class="page-footer">
32 <div class="page-footer">
23 Hg App ${c.hg_app_version} &copy; 2010 by Marcin Kuzminski
33 Hg App ${c.hg_app_version} &copy; 2010 by Marcin Kuzminski
24 </div>
34 </div>
25
35
26 <div id="powered-by">
36 <div id="powered-by">
27 <p>
37 <p>
28 <a href="http://mercurial.selenic.com/" title="Mercurial">
38 <a href="http://mercurial.selenic.com/" title="Mercurial">
29 <img src="/images/hglogo.png" width="75" height="90" alt="mercurial"/></a>
39 <img src="/images/hglogo.png" width="75" height="90" alt="mercurial"/></a>
30 </p>
40 </p>
31 </div>
41 </div>
32
42
33 <div id="corner-top-left"></div>
43 <div id="corner-top-left"></div>
34 <div id="corner-top-right"></div>
44 <div id="corner-top-right"></div>
35 <div id="corner-bottom-left"></div>
45 <div id="corner-bottom-left"></div>
36 <div id="corner-bottom-right"></div>
46 <div id="corner-bottom-right"></div>
37
47
38 </div>
48 </div>
39 </body>
49 </body>
40 </html>
50 </html>
41
51
42 ### MAKO DEFS ###
52 ### MAKO DEFS ###
43
53
44 <%def name="page_nav()">
54 <%def name="page_nav()">
45 ${self.menu()}
55 ${self.menu()}
46 ${self.submenu()}
56 ${self.submenu()}
47 </%def>
57 </%def>
48
58
49 <%def name="menu(current)">
59 <%def name="menu(current)">
50 <%
60 <%
51 def is_current(selected):
61 def is_current(selected):
52 if selected == current:
62 if selected == current:
53 return "class='current'"
63 return "class='current'"
54 %>
64 %>
55 %if current not in ['home','admin']:
65 %if current not in ['home','admin']:
56 ##regular menu
66 ##regular menu
57 <script type="text/javascript">
67 <script type="text/javascript">
58 YAHOO.util.Event.onDOMReady(function(){
68 YAHOO.util.Event.onDOMReady(function(){
59 YAHOO.util.Event.addListener('repo_switcher','click',function(){
69 YAHOO.util.Event.addListener('repo_switcher','click',function(){
60 if(YAHOO.util.Dom.hasClass('repo_switcher','selected')){
70 if(YAHOO.util.Dom.hasClass('repo_switcher','selected')){
61 YAHOO.util.Dom.setStyle('switch_repos','display','none');
71 YAHOO.util.Dom.setStyle('switch_repos','display','none');
62 YAHOO.util.Dom.setStyle('repo_switcher','background','');
72 YAHOO.util.Dom.setStyle('repo_switcher','background','');
63 YAHOO.util.Dom.removeClass('repo_switcher','selected');
73 YAHOO.util.Dom.removeClass('repo_switcher','selected');
64 }
74 }
65 else{
75 else{
66 YAHOO.util.Dom.setStyle('switch_repos','display','');
76 YAHOO.util.Dom.setStyle('switch_repos','display','');
67 YAHOO.util.Dom.setStyle('repo_switcher','background','#FFFFFF');
77 YAHOO.util.Dom.setStyle('repo_switcher','background','#FFFFFF');
68 YAHOO.util.Dom.setStyle('repo_switcher','color','#556CB5');
78 YAHOO.util.Dom.setStyle('repo_switcher','color','#556CB5');
69 YAHOO.util.Dom.addClass('repo_switcher','selected');
79 YAHOO.util.Dom.addClass('repo_switcher','selected');
70 }
80 }
71 });
81 });
72 YAHOO.util.Event.addListener('repos_list','change',function(e){
82 YAHOO.util.Event.addListener('repos_list','change',function(e){
73 var wa = YAHOO.util.Dom.get('repos_list').value;
83 var wa = YAHOO.util.Dom.get('repos_list').value;
74
84
75 var url = "${h.url('summary_home',repo_name='__REPLACE__')}".replace('__REPLACE__',wa);
85 var url = "${h.url('summary_home',repo_name='__REPLACE__')}".replace('__REPLACE__',wa);
76 window.location = url;
86 window.location = url;
77 })
87 })
78 });
88 });
79 </script>
89 </script>
80 <ul class="page-nav">
90 <ul class="page-nav">
81 <li>
91 <li>
82 <a id="repo_switcher" title="${_('Switch repository')}" href="#">&darr;</a>
92 <a id="repo_switcher" title="${_('Switch repository')}" href="#">&darr;</a>
83 <div id="switch_repos" style="display:none;position: absolute;width: 150px;height: 25px">
93 <div id="switch_repos" style="display:none;position: absolute;width: 150px;height: 25px">
84 <select id="repos_list" size="=10">
94 <select id="repos_list" size="=10">
85 %for repo in c.cached_repo_list:
95 %for repo in c.cached_repo_list:
86 <option value="${repo['name']}">${repo['name']}</option>
96 <option value="${repo['name']}">${repo['name']}</option>
87 %endfor
97 %endfor
88 </select>
98 </select>
89 </div>
99 </div>
90 </li>
100 </li>
91 <li ${is_current('summary')}>${h.link_to(_('summary'),h.url('summary_home',repo_name=c.repo_name))}</li>
101 <li ${is_current('summary')}>${h.link_to(_('summary'),h.url('summary_home',repo_name=c.repo_name))}</li>
92 <li ${is_current('shortlog')}>${h.link_to(_('shortlog'),h.url('shortlog_home',repo_name=c.repo_name))}</li>
102 <li ${is_current('shortlog')}>${h.link_to(_('shortlog'),h.url('shortlog_home',repo_name=c.repo_name))}</li>
93 <li ${is_current('changelog')}>${h.link_to(_('changelog'),h.url('changelog_home',repo_name=c.repo_name))}</li>
103 <li ${is_current('changelog')}>${h.link_to(_('changelog'),h.url('changelog_home',repo_name=c.repo_name))}</li>
94 <li ${is_current('branches')}>${h.link_to(_('branches'),h.url('branches_home',repo_name=c.repo_name))}</li>
104 <li ${is_current('branches')}>${h.link_to(_('branches'),h.url('branches_home',repo_name=c.repo_name))}</li>
95 <li ${is_current('tags')}>${h.link_to(_('tags'),h.url('tags_home',repo_name=c.repo_name))}</li>
105 <li ${is_current('tags')}>${h.link_to(_('tags'),h.url('tags_home',repo_name=c.repo_name))}</li>
96 <li ${is_current('files')}>${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name))}</li>
106 <li ${is_current('files')}>${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name))}</li>
97 </ul>
107 </ul>
98 %else:
108 %else:
99 ##Root menu
109 ##Root menu
100 <ul class="page-nav">
110 <ul class="page-nav">
101 <li ${is_current('home')}>${h.link_to(_('Home'),h.url('/'))}</li>
111 <li ${is_current('home')}>${h.link_to(_('Home'),h.url('/'))}</li>
102 <li ${is_current('admin')}>${h.link_to(_('Admin'),h.url('admin_home'))}</li>
112 <li ${is_current('admin')}>${h.link_to(_('Admin'),h.url('admin_home'))}</li>
103 <li class="logout">${h.link_to(u'Logout',h.url('logout_home'))}</li>
113 <li class="logout">${h.link_to(u'Logout',h.url('logout_home'))}</li>
104 </ul>
114 </ul>
105 %endif
115 %endif
106 </div>
116 </div>
107 </%def>
117 </%def>
108 <%def name="submenu(current=None)">
118 <%def name="submenu(current=None)">
109 <%
119 <%
110 def is_current(selected):
120 def is_current(selected):
111 if selected == current:
121 if selected == current:
112 return "class='current_submenu'"
122 return "class='current_submenu'"
113 %>
123 %>
114 %if current != None:
124 %if current != None:
115 <div>
125 <div>
116 <ul class="submenu">
126 <ul class="submenu">
117 <li ${is_current('repos')}>${h.link_to(u'repos',h.url('repos'),class_='repos')}</li>
127 <li ${is_current('repos')}>${h.link_to(u'repos',h.url('repos'),class_='repos')}</li>
118 <li ${is_current('users')}>${h.link_to(u'users',h.url('users'),class_='users')}</li>
128 <li ${is_current('users')}>${h.link_to(u'users',h.url('users'),class_='users')}</li>
119 <li ${is_current('permissions')}>${h.link_to(u'permissions',h.url('permissions'),class_='permissions')}</li>
129 <li ${is_current('permissions')}>${h.link_to(u'permissions',h.url('permissions'),class_='permissions')}</li>
120 </ul>
130 </ul>
121 </div>
131 </div>
122 %endif
132 %endif
123 </%def>
133 </%def>
124
134
125
135
126 <%def name="css()">
136 <%def name="css()">
127 <link rel="stylesheet" href="/css/monoblue_custom.css" type="text/css" />
137 <link rel="stylesheet" href="/css/monoblue_custom.css" type="text/css" />
128 </%def>
138 </%def>
129
139
130 <%def name="js()">
140 <%def name="js()">
131 <script type="text/javascript" src="/js/yui/utilities/utilities.js"></script>
141 <script type="text/javascript" src="/js/yui/utilities/utilities.js"></script>
132 </%def>
142 </%def>
133
143
134 <!-- DEFINITION OF FORM ERROR FETCHER -->
144 <!-- DEFINITION OF FORM ERROR FETCHER -->
135 <%def name="get_form_error(element)">
145 <%def name="get_form_error(element)">
136 %if hasattr(c,'form_errors') and type(c.form_errors) == dict:
146 %if hasattr(c,'form_errors') and type(c.form_errors) == dict:
137 %if c.form_errors.get(element,False):
147 %if c.form_errors.get(element,False):
138 <span class="error-message">
148 <span class="error-message">
139 ${c.form_errors.get(element,'')}
149 ${c.form_errors.get(element,'')}
140 </span>
150 </span>
141 %endif
151 %endif
142 %endif
152 %endif
143 </%def> No newline at end of file
153 </%def>
General Comments 0
You need to be logged in to leave comments. Login now