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