##// END OF EJS Templates
Update css +file browsing and diffs
marcink -
r144:ea89ac73 default
parent child Browse files
Show More
@@ -0,0 +1,95 b''
1 div.diffblock {
2 overflow: auto;
3 padding: 0px;
4 border: 1px solid #ccc;
5 background: #f8f8f8;
6 font-size: 100%;
7 line-height: 100%;
8 /* new */
9 line-height: 125%;
10 }
11 div.diffblock .code-header{
12 border-bottom: 1px solid #CCCCCC;
13 background: #EEEEEE;
14 color:blue;
15 padding:10px 0 10px 0;
16 }
17 div.diffblock .code-header span{
18 margin-left:25px;
19 font-weight: bold;
20 }
21 div.diffblock .code-body{
22 background: #EEEEEE;
23 }
24
25 .code-difftable{
26 border-collapse: collapse;
27 }
28 .code-difftable .add{
29 background:none repeat scroll 0 0 #DDFFDD;
30 }
31 .code-difftable .add ins{
32 background:none repeat scroll 0 0 #AAFFAA;
33 text-decoration:none;
34 }
35
36 .code-difftable .del{
37 background:none repeat scroll 0 0 #FFDDDD;
38 }
39 .code-difftable .del del{
40 background:none repeat scroll 0 0 #FFAAAA;
41 text-decoration:none;
42 }
43
44 .code-difftable .lineno{
45 background:none repeat scroll 0 0 #EEEEEE !important;
46 border-right:1px solid #DDDDDD;
47 padding-left:2px;
48 padding-right:2px;
49 text-align:right;
50 width:20px;
51 -moz-user-select:none;
52 -webkit-user-select: none;
53 }
54 .code-difftable .lineno pre{
55 color:#747474 !important;
56 font:11px "Bitstream Vera Sans Mono",Monaco,"Courier New",Courier,monospace !important;
57 letter-spacing:-1px;
58 text-align:right;
59 width:20px;
60 }
61 .code-difftable .lineno a{
62 color:#0000CC !important;
63 }
64 .code-difftable .code td{
65 margin:0;
66 padding: 0;
67 }
68 .code-difftable .code pre{
69 margin:0;
70 padding:0;
71 }
72
73
74 .code {
75 display: block;
76 width: 100%;
77 }
78 .code-diff {
79 padding: 0px;
80 margin-top: 5px;
81 margin-bottom: 5px;
82 border-left: 2px solid #ccc;
83 }
84 .code-diff pre, .line pre {
85 padding: 3px;
86 margin: 0;
87 }
88 .lineno a {
89 text-decoration: none;
90 }
91
92 .line{
93 padding:0;
94 margin:0;
95 } No newline at end of file
This diff has been collapsed as it changes many lines, (779 lines changed) Show them Hide them
@@ -1,442 +1,420 b''
1 /*** Initial Settings ***/
1 /*** Initial Settings ***/
2 * {
2 #mainhtml{
3 margin: 0;
3 margin: 15px 50px;
4 padding: 0;
4 background: #DBD4C6;
5 font-weight: normal;
5 font-family: sans-serif;
6 font-style: normal;
7 }
8
9 html {
10 font-size: 100%;
11 font-family: sans-serif;
12 }
13
14 body {
15 font-size: 77%;
16 margin: 15px 50px;
17 background: #DBD4C6;
18 }
6 }
19
7
20 a {
8 a {
21 color:#0000cc;
9 color: #0000cc;
22 text-decoration: none;
10 text-decoration: none;
23 }
11 }
24 /*** end of Initial Settings ***/
12 a:HOVER{
25
13 text-decoration: underline;
14 }
15 /*** end of Initial Settings ***/ /** common settings **/
16 div#main {
17 padding: 5px;
18 }
26
19
27 /** common settings **/
28 div#main{
29 padding:5px;
30 }
31 div#container {
20 div#container {
32 background: #FFFFFF;
21 background: #FFFFFF;
33 position: relative;
22 position: relative;
34 color: #666;
23 color: #666;
35 }
24 }
36
25
37 div.page-header {
26 div.page-header {
38 padding: 50px 20px 0;
27 padding: 50px 20px 0;
39 background: #556cb5 top left repeat-x;
28 background: #556cb5 top left repeat-x;
40 position: relative;
29 position: relative;
30 }
31
32 div.page-header h1 {
33 margin: 10px 0 30px;
34 font-size: 1.8em;
35 font-weight: bold;
36 font-family: sans-serif;
37 letter-spacing: 1px;
38 color: #DDD;
39 }
40
41 div.page-header h1 a {
42 font-weight: bold;
43 color: #FFF;
41 }
44 }
42 div.page-header h1 {
45
43 margin: 10px 0 30px;
46 div.page-header a {
44 font-size: 1.8em;
47 text-decoration: none;
45 font-weight: bold;
48 }
46 font-family: sans-serif;
49
47 letter-spacing: 1px;
50 div.page-header form {
48 color: #DDD;
51 position: absolute;
49 }
52 margin-bottom: 2px;
50 div.page-header h1 a {
53 bottom: 0;
51 font-weight: bold;
54 right: 20px;
52 color: #FFF;
55 }
53 }
56
54 div.page-header a {
57 div.page-header form label {
55 text-decoration: none;
58 color: #DDD;
56 }
59 }
60
61 div.page-header form input {
62 padding: 2px;
63 border: solid 1px #DDD;
64 }
65
66 div.page-header form dl {
67 overflow: hidden;
68 }
57
69
58 div.page-header form {
70 div.page-header form dl dt {
59 position: absolute;
71 font-size: 1.2em;
60 margin-bottom: 2px;
72 }
61 bottom: 0;
73
62 right: 20px;
74 div.page-header form dl dt,div.page-header form dl dd {
63 }
75 margin: 0 0 0 5px;
64 div.page-header form label {
76 float: left;
65 color: #DDD;
77 height: 24px;
66 }
78 line-height: 20px;
67 div.page-header form input {
79 }
68 padding: 2px;
80
69 border: solid 1px #DDD;
81 ul.page-nav {
70 }
82 margin: 10px 0 0 0;
71 div.page-header form dl {
83 list-style-type: none;
72 overflow: hidden;
84 overflow: hidden;
73 }
85 width: 800px;
74 div.page-header form dl dt {
86 padding: 0;
75 font-size: 1.2em;
87 }
76 }
77 div.page-header form dl dt,
78 div.page-header form dl dd {
79 margin: 0 0 0 5px;
80 float: left;
81 height: 24px;
82 line-height: 20px;
83 }
84
88
85 ul.page-nav {
89 ul.page-nav li {
86 margin: 10px 0 0 0;
90 margin: 0 2px 0 0;
87 list-style-type: none;
91 float: left;
88 overflow: hidden;
92 height: 24px;
89 width: 800px;
93 font-size: 1.1em;
90 }
94 line-height: 24px;
91 ul.page-nav li {
95 text-align: center;
92 margin: 0 2px 0 0;
96 background: #DDD;
93 float: left;
97 }
94 height: 24px;
98
95 font-size: 1.1em;
99 ul.page-nav li.current {
96 line-height: 24px;
100 background: #FFF;
97 text-align: center;
101 padding-right: 5px;
98 }
102 padding-left: 5px;
99 ul.page-nav li.current {
103 }
100 background: #FFF;
104
101 padding-right:5px;
105 ul.page-nav li a {
102 padding-left:5px;
106 height: 24px;
103 }
107 color: #666;
104 ul.page-nav li a {
108 padding-right: 5px;
105 height: 24px;
109 padding-left: 5px;
106 color: #666;
110 display: block;
107 padding-right:5px;
111 text-decoration: none;
108 padding-left:5px;
112 }
109 background: #DDD;
113
110 display: block;
114 ul.page-nav li a:hover {
111 text-decoration: none;
115 color: #333;
112 }
116 background: #FFF;
113 ul.page-nav li a:hover {
117 }
114 color:#333;
115 background: #FFF;
116 }
117
118
118 ul.submenu {
119 ul.submenu {
119 margin: 10px 0 -10px 20px;
120 margin: 10px 0 -10px 20px;
120 list-style-type: none;
121 list-style-type: none;
121 }
122 }
123
122 ul.submenu li {
124 ul.submenu li {
123 margin: 0 10px 0 0;
125 margin: 0 10px 0 0;
124 font-size: 1.2em;
126 font-size: 1.2em;
125 display: inline;
127 display: inline;
126 }
128 }
127
129
128 h2 {
130 h2 {
129 margin: 20px 0 10px;
131 margin: 20px 0 10px;
130 height: 30px;
132 height: 30px;
131 line-height: 30px;
133 line-height: 30px;
132 text-indent: 20px;
134 text-indent: 20px;
133 background: #FFF;
135 background: #FFF;
134 font-size: 1.2em;
136 font-size: 1.2em;
135 border-top: dotted 1px #D5E1E6;
137 border-top: dotted 1px #D5E1E6;
136 font-weight: bold;
138 font-weight: bold;
137 }
139 }
140
138 h2.no-link {
141 h2.no-link {
139 color:#006699;
142 color: #006699;
140 }
143 }
144
141 h2.no-border {
145 h2.no-border {
142 color: #FFF;
146 color: #FFF;
143 background: #556CB5;
147 background: #556CB5;
144 border: 0;
148 border: 0;
145 }
149 }
150
146 h2 a {
151 h2 a {
147 font-weight:bold;
152 font-weight: bold;
148 color:#006699;
153 color: #006699;
149 }
154 }
150
155
151 div.page-path {
156 div.page-path {
152 text-align: right;
157 text-align: right;
153 padding: 20px 30px 10px 0;
158 padding: 20px 30px 10px 0;
154 border:solid #d9d8d1;
159 border: solid #d9d8d1;
155 border-width:0px 0px 1px;
160 border-width: 0px 0px 1px;
156 font-size: 1.2em;
161 font-size: 1.2em;
157 }
162 }
158
163
159 div.page-footer {
164 div.page-footer {
160 margin: 50px 0 0;
165 margin: 50px 0 0;
161 position: relative;
166 position: relative;
162 }
167 }
163 div.page-footer p {
168
164 position: relative;
169 div.page-footer p {
165 left: 20px;
170 position: relative;
166 bottom: 5px;
171 left: 20px;
167 font-size: 1.2em;
172 bottom: 5px;
168 }
173 font-size: 1.2em;
174 }
175
176 ul.rss-logo {
177 position: absolute;
178 top: -10px;
179 right: 20px;
180 height: 20px;
181 list-style-type: none;
182 }
169
183
170 ul.rss-logo {
184 ul.rss-logo li {
171 position: absolute;
185 display: inline;
172 top: -10px;
186 }
173 right: 20px;
187
174 height: 20px;
188 ul.rss-logo li a {
175 list-style-type: none;
189 padding: 3px 6px;
176 }
190 line-height: 10px;
177 ul.rss-logo li {
191 border: 1px solid;
178 display: inline;
192 border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
179 }
193 color: #ffffff;
180 ul.rss-logo li a {
194 background-color: #ff6600;
181 padding: 3px 6px;
195 font-weight: bold;
182 line-height: 10px;
196 font-family: sans-serif;
183 border:1px solid;
197 font-size: 10px;
184 border-color:#fcc7a5 #7d3302 #3e1a01 #ff954e;
198 text-align: center;
185 color:#ffffff;
199 text-decoration: none;
186 background-color:#ff6600;
200 }
187 font-weight:bold;
201
188 font-family:sans-serif;
202 div.rss-logo li a:hover {
189 font-size:10px;
203 background-color: #ee5500;
190 text-align:center;
204 }
191 text-decoration:none;
192 }
193 div.rss-logo li a:hover {
194 background-color:#ee5500;
195 }
196
205
197 p.normal {
206 p.normal {
198 margin: 20px 0 20px 30px;
207 margin: 20px 0 20px 30px;
199 font-size: 1.2em;
208 font-size: 1.2em;
200 }
209 }
201
210
202 table {
203 margin: 0 0 0 0;
204 border-collapse: collapse;
205 }
206 /*
207 table tr td {
208 font-size: 1.1em;
209 }
210 table tr td.nowrap {
211 white-space: nowrap;
212 }
213 */
214 table tr.parity0:hover,table tr.parity1:hover {
211 table tr.parity0:hover,table tr.parity1:hover {
215 background: #D5E1E6;
212 background: #D5E1E6;
216 }
213 }
217
214
218 table tr.parity0 {
215 table tr.parity0 {
219 background: #EAEAE9;
216 background: #EAEAE9;
220 }
221 table tr.parity1 {
222 background: #FFFFFF;
223 }
217 }
224 table tr td {
218
225 padding: 3px 3px;
219 table tr.parity1 {
226 }
220 background: #FFFFFF;
227 table.annotated tr td {
228 padding: 0px 3px;
229 }
221 }
230
222
231 span.logtags span {
223 span.logtags span {
232 background-repeat:no-repeat;
224 background-repeat: no-repeat;
233 height:16px;
225 height: 16px;
234 padding-left:20px;
226 padding-left: 20px;
235 padding-top:0px;
227 padding-top: 0px;
236 text-align:left;
228 text-align: left;
237 font-weight: bold;
229 font-weight: bold;
238 }
230 }
231
239 span.logtags span.tagtag {
232 span.logtags span.tagtag {
240 background-image:url("/images/label_16.png");
233 background-image: url("/images/label_16.png");
241 }
234 }
235
242 span.logtags span.branchtag {
236 span.logtags span.branchtag {
243 background-image:url("/images/left_16.png");
237 background-image: url("/images/left_16.png");
244 color: #628F53;
238 color: #628F53;
245 }
239 }
240
246 span.logtags span.inbranchtag {
241 span.logtags span.inbranchtag {
247 background-image:url("/images/left_16.png");
242 background-image: url("/images/left_16.png");
248 }
243 }
249
244
250 div.diff pre {
245 div.diff pre {
251 margin: 10px 0 0 0;
246 margin: 10px 0 0 0;
252 }
247 }
248
253 div.diff pre span {
249 div.diff pre span {
254 font-family: monospace;
250 font-family: monospace;
255 white-space: pre;
251 white-space: pre;
256 font-size: 1.2em;
252 font-size: 1.2em;
257 padding: 3px 0;
253 padding: 3px 0;
258 }
254 }
255
259 td.source {
256 td.source {
260 white-space: pre;
257 white-space: pre;
261 font-family: monospace;
258 font-family: monospace;
262 margin: 10px 30px 0;
259 margin: 10px 30px 0;
263 font-size: 1.2em;
260 font-size: 1.2em;
264 font-family: monospace;
261 font-family: monospace;
262 }
263
264 div.source div.parity0,div.source div.parity1 {
265 padding: 1px;
266 font-size: 1.2em;
265 }
267 }
266 div.source div.parity0,
268
267 div.source div.parity1 {
269 div.source div.parity0 {
268 padding: 1px;
270 background: #F1F6F7;
269 font-size: 1.2em;
271 }
270 }
272
271 div.source div.parity0 {
273 div.source div.parity1 {
272 background: #F1F6F7;
274 background: #FFFFFF;
273 }
275 }
274 div.source div.parity1 {
276
275 background: #FFFFFF;
277 div.parity0:hover,div.parity1:hover {
276 }
278 background: #D5E1E6;
277 div.parity0:hover,
278 div.parity1:hover {
279 background: #D5E1E6;
280 }
279 }
280
281 .linenr {
281 .linenr {
282 color: #999;
282 color: #999;
283 text-align: right;
283 text-align: right;
284 }
284 }
285
285 .lineno {
286 .lineno {
286 text-align: right;
287 text-align: right;
287 }
288 }
289
288 .lineno a {
290 .lineno a {
289 color: #999;
291 color: #999;
290 }
292 }
293
291 td.linenr {
294 td.linenr {
292 width: 60px;
295 width: 60px;
293 }
296 }
294
297
295 div#powered-by {
298 div#powered-by {
296 position: absolute;
299 position: absolute;
297 width: 75px;
300 width: 75px;
298 top: 15px;
301 top: 15px;
299 right: 20px;
302 right: 20px;
300 font-size: 1.2em;
303 font-size: 1.2em;
301 }
302 div#powered-by a {
303 color: #EEE;
304 text-decoration: none;
305 }
306 div#powered-by a:hover {
307 text-decoration: underline;
308 }
304 }
309 /*
305
310 div#monoblue-corner-top-left {
306 div#powered-by a {
311 position: absolute;
307 color: #EEE;
312 top: 0;
308 text-decoration: none;
313 left: 0;
314 width: 10px;
315 height: 10px;
316 background: url(./monoblue-corner.png) top left no-repeat !important;
317 background: none;
318 }
309 }
319 div#monoblue-corner-top-right {
310
320 position: absolute;
311 div#powered-by a:hover {
321 top: 0;
312 text-decoration: underline;
322 right: 0;
323 width: 10px;
324 height: 10px;
325 background: url(./monoblue-corner.png) top right no-repeat !important;
326 background: none;
327 }
313 }
328 div#monoblue-corner-bottom-left {
314
329 position: absolute;
315 dl.overview {
330 bottom: 0;
316 margin: 0 0 0 30px;
331 left: 0;
317 font-size: 1.1em;
332 width: 10px;
318 overflow: hidden;
333 height: 10px;
334 background: url(./monoblue-corner.png) bottom left no-repeat !important;
335 background: none;
336 }
337 div#monoblue-corner-bottom-right {
338 position: absolute;
339 bottom: 0;
340 right: 0;
341 width: 10px;
342 height: 10px;
343 background: url(./monoblue-corner.png) bottom right no-repeat !important;
344 background: none;
345 }
319 }
346 */
347 /** end of common settings **/
348
320
349 /** summary **/
321 dl.overview dt,dl.overview dd {
350 dl.overview {
322 margin: 5px 0;
351 margin: 0 0 0 30px;
323 float: left;
352 font-size: 1.1em;
353 overflow: hidden;
354 }
324 }
355 dl.overview dt,
325
356 dl.overview dd {
326 dl.overview dt {
357 margin: 5px 0;
327 clear: left;
358 float: left;
328 font-weight: bold;
359 }
329 width: 150px;
360 dl.overview dt {
330 }
361 clear: left;
331
362 font-weight: bold;
332 /** end of summary **/
363 width: 150px;
364 }
365 /** end of summary **/
366
333
367 /** chagelog **/
334 /** chagelog **/
368 h3.changelog {
335 h3.changelog {
369 margin: 20px 0 5px 30px;
336 margin: 20px 0 5px 30px;
370 padding: 0 0 2px;
337 padding: 0 0 2px;
371 font-size: 1.4em;
338 font-size: 1.4em;
372 border-bottom: dotted 1px #D5E1E6;
339 border-bottom: dotted 1px #D5E1E6;
373 }
340 }
341
374 ul.changelog-entry {
342 ul.changelog-entry {
375 margin: 0 0 10px 30px;
343 margin: 0 0 10px 30px;
376 list-style-type: none;
344 list-style-type: none;
377 position: relative;
345 position: relative;
378 }
346 }
347
379 ul.changelog-entry li span.revdate {
348 ul.changelog-entry li span.revdate {
380 font-size: 1.1em;
349 font-size: 1.1em;
381 }
350 }
351
382 ul.changelog-entry li.age {
352 ul.changelog-entry li.age {
383 position: absolute;
353 position: absolute;
384 top: -25px;
354 top: -25px;
385 right: 10px;
355 right: 10px;
386 font-size: 1.4em;
356 font-size: 1.4em;
387 color: #CCC;
357 color: #CCC;
388 font-weight: bold;
358 font-weight: bold;
389 font-style: italic;
359 font-style: italic;
390 }
360 }
361
391 ul.changelog-entry li span.name {
362 ul.changelog-entry li span.name {
392 font-size: 1.2em;
363 font-size: 1.2em;
393 font-weight: bold;
364 font-weight: bold;
394 }
365 }
366
395 ul.changelog-entry li.description {
367 ul.changelog-entry li.description {
396 margin: 10px 0 0;
368 margin: 10px 0 0;
397 font-size: 1.1em;
369 font-size: 1.1em;
398 }
370 }
399 /** end of changelog **/
371
372 /** end of changelog **/
400
373
401 /** file **/
374 /** file **/
402 p.files {
375 p.files {
403 margin: 0 0 0 20px;
376 margin: 0 0 0 20px;
404 font-size: 2.0em;
377 font-size: 2.0em;
405 font-weight: bold;
378 font-weight: bold;
406 }
379 }
407 /** end of file **/
380
381 /** end of file **/
408
382
409 /** changeset **/
383 /** changeset **/
410 h3.changeset {
384 h3.changeset {
411 margin: 20px 0 5px 20px;
385 margin: 20px 0 5px 20px;
412 padding: 0 0 2px;
386 padding: 0 0 2px;
413 font-size: 1.6em;
387 font-size: 1.6em;
414 border-bottom: dotted 1px #D5E1E6;
388 border-bottom: dotted 1px #D5E1E6;
415 }
389 }
390
416 p.changeset-age {
391 p.changeset-age {
417 position: relative;
392 position: relative;
418 }
393 }
394
419 p.changeset-age span {
395 p.changeset-age span {
420 position: absolute;
396 position: absolute;
421 top: -25px;
397 top: -25px;
422 right: 10px;
398 right: 10px;
423 font-size: 1.4em;
399 font-size: 1.4em;
424 color: #CCC;
400 color: #CCC;
425 font-weight: bold;
401 font-weight: bold;
426 font-style: italic;
402 font-style: italic;
427 }
403 }
404
428 p.description {
405 p.description {
429 margin: 10px 30px 0 30px;
406 margin: 10px 30px 0 30px;
430 padding: 10px;
407 padding: 10px;
431 border: solid 1px #CCC;
408 border: solid 1px #CCC;
432 font-size: 1.2em;
409 font-size: 1.2em;
433 }
410 }
434 /** end of changeset **/
411
412 /** end of changeset **/
435
413
436 /** canvas **/
414 /** canvas **/
437 div#wrapper {
415 div#wrapper {
438 position: relative;
416 position: relative;
439 font-size: 1.2em;
417 font-size: 1.2em;
440 }
418 }
441
419
442 canvas {
420 canvas {
@@ -446,11 +424,11 b' canvas {'
446 }
424 }
447
425
448 ul#nodebgs li.parity0 {
426 ul#nodebgs li.parity0 {
449 background: #F1F6F7;
427 background: #F1F6F7;
450 }
428 }
451
429
452 ul#nodebgs li.parity1 {
430 ul#nodebgs li.parity1 {
453 background: #FFFFFF;
431 background: #FFFFFF;
454 }
432 }
455
433
456 ul#graphnodes {
434 ul#graphnodes {
@@ -464,7 +442,7 b' ul#nodebgs {'
464 list-style: none inside none;
442 list-style: none inside none;
465 }
443 }
466
444
467 ul#graphnodes li, ul#nodebgs li {
445 ul#graphnodes li,ul#nodebgs li {
468 height: 39px;
446 height: 39px;
469 }
447 }
470
448
@@ -472,72 +450,109 b' ul#graphnodes li .info {'
472 display: block;
450 display: block;
473 position: relative;
451 position: relative;
474 }
452 }
453
475 /** end of canvas **/
454 /** end of canvas **/
476
455
477 table.code-browser{
456 /* FILE BROWSER */
478
457 div.browserblock {
458 overflow: hidden;
459 padding: 0px;
460 border: 1px solid #ccc;
461 background: #f8f8f8;
462 font-size: 100%;
463 line-height: 100%;
464 /* new */
465 line-height: 125%;
479 }
466 }
480 table.code-browser thead th {
467 div.browserblock .browser-header{
481 background-color:#EEEEEE;
468 border-bottom: 1px solid #CCCCCC;
482 border:1px solid #999999;
469 background: #EEEEEE;
483 height:20px;
470 color:blue;
484 font-size: 1.1em;
471 padding:10px 0 10px 0;
472 }
473 div.browserblock .browser-header span{
474 margin-left:25px;
485 font-weight: bold;
475 font-weight: bold;
486 }
476 }
487 table.code-browser tbody td {
477 div.browserblock .browser-body{
488 border:1px solid #999999;
478 background: #EEEEEE;
489 height:20px;
490 }
479 }
491 .info-table {
480
492 background:none repeat scroll 0 0 #FAFAFA;
481 table.code-browser {
493 border-bottom:1px solid #DDDDDD;
482 border-collapse:collapse;
494 width:100%;
483 }
484 table.code-browser tr{
485 margin:3px;
495 }
486 }
496 .rss_logo{
487
497 background-image:url("/images/feed.png");
488 table.code-browser thead th {
498 background-repeat:no-repeat;
489 background-color: #EEEEEE;
499 display:block;
490 height: 20px;
500 height:16px;
491 font-size: 1.1em;
501 padding-left:20px;
492 font-weight: bold;
502 padding-top:0px;
493 text-align: center;
503 text-align:left;
494 }
495 table.code-browser tbody tr {
504
496
505 }
497 }
506 .atom_logo{
498
507 background-image:url("/images/atom.png");
499 table.code-browser tbody td {
508 background-repeat:no-repeat;
509 display:block;
510 height:16px;
511 padding-left:20px;
512 padding-top:0px;
513 text-align:left;
514
500
501 padding-left:10px;
502 height: 20px;
515 }
503 }
516 .browser-file {
504
517 background-image:url("/images/document_16.png");
505 .info-table {
518 background-repeat:no-repeat;
506 background: none repeat scroll 0 0 #FAFAFA;
519 display:block;
507 border-bottom: 1px solid #DDDDDD;
520 height:16px;
508 width: 100%;
521 padding-left:20px;
522 padding-top:0px;
523 text-align:left;
524 }
509 }
525 .browser-dir {
510
526 background-image:url("/images/folder_16.png");
511 .rss_logo {
527 background-repeat:no-repeat;
512 background-image: url("/images/feed.png");
528 display:block;
513 background-repeat: no-repeat;
529 height:16px;
514 display: block;
530 padding-left:20px;
515 height: 16px;
531 padding-top:0px;
516 padding-left: 20px;
532 text-align:left;
517 padding-top: 0px;
518 text-align: left;
533 }
519 }
534
520
535 .current_submenu{
521 .atom_logo {
536 border-bottom: 2px solid;
522 background-image: url("/images/atom.png");
523 background-repeat: no-repeat;
524 display: block;
525 height: 16px;
526 padding-left: 20px;
527 padding-top: 0px;
528 text-align: left;
529 }
537
530
531 .browser-file {
532 background-image: url("/images/document_16.png");
533 background-repeat: no-repeat;
534 display: block;
535 height: 16px;
536 padding-left: 20px;
537 padding-top: 0px;
538 text-align: left;
538 }
539 }
539 #repos_list{
540 border:1px solid #556CB5;
541 background: #FFFFFF;
542
540
541 .browser-dir {
542 background-image: url("/images/folder_16.png");
543 background-repeat: no-repeat;
544 display: block;
545 height: 16px;
546 padding-left: 20px;
547 padding-top: 0px;
548 text-align: left;
549 }
550
551 .current_submenu {
552 border-bottom: 2px solid;
553 }
554
555 #repos_list {
556 border: 1px solid #556CB5;
557 background: #FFFFFF;
543 } No newline at end of file
558 }
@@ -8,6 +8,16 b' div.codeblock {'
8 /* new */
8 /* new */
9 line-height: 125%;
9 line-height: 125%;
10 }
10 }
11 div.codeblock .code-header{
12 border-bottom: 1px solid #CCCCCC;
13 background: #EEEEEE;
14 color:blue;
15 padding:10px 0 10px 0;
16 }
17 div.codeblock .code-header span{
18 margin-left:25px;
19 font-weight: bold;
20 }
11
21
12 .code-highlight {
22 .code-highlight {
13 padding: 0px;
23 padding: 0px;
@@ -22,50 +22,38 b''
22 </%def>
22 </%def>
23 <%def name="css()">
23 <%def name="css()">
24 <link rel="stylesheet" href="/css/monoblue_custom.css" type="text/css" />
24 <link rel="stylesheet" href="/css/monoblue_custom.css" type="text/css" />
25 <link rel="stylesheet" href="/css/pygments_diff.css" type="text/css" />
25 <link rel="stylesheet" href="/css/diff.css" type="text/css" />
26 </%def>
26 </%def>
27 <div></div>
28 <%def name="main()">
27 <%def name="main()">
29 <h2 class="no-link no-border">${'%s: %s@%s %s %s' % (_('File diff'),c.f_path,c.diff2,'&rarr;',c.diff1)|n}</h2>
28 <h2 class="no-link no-border">${'%s: %s %s %s' % (_('File diff'),c.diff2,'&rarr;',c.diff1)|n}</h2>
30 <div id="files_data">
29 <div id="body" class="diffblock">
31 <div id="body" class="codeblock">
30 <div class="code-header">
32 ${h.pygmentize(c.diff,linenos=True,anchorlinenos=True,cssclass="code-diff")}
31 <span>${h.link_to(c.f_path,h.url('files_home',repo_name=c.repo_name,revision=c.diff2.split(':')[1],f_path=c.f_path))}</span>
33 </div>
34 </div>
32 </div>
35 <div style="clear:both"></div>
33 <div class="code-body">
36 <div id="files_data">
34 %if c.no_changes:
37 <div id="body" class="codeblock">
35 ${_('No changes')}
38 <table class='highlighttable'>
36 %else:
39 %for x in c.diff_2[0]['chunks']:
37 <table class='code-difftable'>
40 %for y in x:
38 %for diff in c.diff_files:
41 <tr class="line ${y['action']}">
39 %for x in diff['chunks']:
42 <td class="lineno_new">
40 %for y in x:
43 <div class="linenodiv">
41 <tr class="line ${y['action']}">
44 <pre>
42 <td id="#${diff['filename']}_N${y['new_lineno']}"class="lineno new">
45 ${y['new_lineno']}
43 <pre><a href="#${diff['filename']}_N${y['new_lineno']}">${y['new_lineno']}</a></pre>
46 </pre>
44 </td>
47 </div>
45 <td id="#${diff['filename']}_O${y['old_lineno']}" class="lineno old">
48 </td>
46 <pre><a href="#${diff['filename']}_O${y['old_lineno']}">${y['old_lineno']}</a></pre>
49 <td class="lineno_old">
47 </td>
50 <div class="linenodiv">
48 <td class="code">
51 <pre>
49 <pre>${y['line']|n}</pre>
52 ${y['old_lineno']}
50 </td>
53 </pre>
51 </tr>
54 </div>
52 %endfor$
55 </td>
53 %endfor
56 <td class="code">
54 %endfor
57 <div class="code-diff">
55 </table>
58 <pre>
56 %endif
59 <span>
57 </div>
60 ${y}
58 </div>
61 </span>
62 </pre>
63 </div>
64 </td>
65 </tr>
66 %endfor$
67 %endfor
68 </table>
69 </div>
70 </div>
71 </%def> No newline at end of file
59 </%def>
@@ -5,53 +5,62 b''
5 <%return "browser-dir"%>
5 <%return "browser-dir"%>
6 %endif
6 %endif
7 </%def>
7 </%def>
8
8 <div id="body" class="browserblock">
9 <table class="code-browser">
9 <div class="browser-header">
10 <thead>
10 ${h.form(h.url.current())}
11 <tr>
11 <span>${_('view')}@rev:${h.text('at_rev',value=c.rev_nr,size='5')}</span>
12 <th class="width-50 lefted">${_('Name')}</th>
12 ${h.submit('view','view')}
13 <th class="width-10 righted">${_('Size')}</th>
13 ${h.end_form()}
14 <th class="width-10 righted">${_('Revision')}</th>
14 </div>
15 <th class="width-15 righted">${_('Last modified')}</th>
15 <div class="browser-body">
16 <th class="width-15 righted">${_('Last commiter')}</th>
16 <table class="code-browser">
17 </tr>
17 <thead>
18 </thead>
18 <tr>
19 <tr>
19 <th>${_('Name')}</th>
20 % if c.files_list.parent:
20 <th>${_('Size')}</th>
21 <td>
21 <th>${_('Revision')}</th>
22 ${h.link_to('..',h.url('files_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.files_list.parent),class_="browser-dir")}
22 <th>${_('Last modified')}</th>
23 </td>
23 <th>${_('Last commiter')}</th>
24 <td></td>
24 </tr>
25 <td></td>
25 </thead>
26 <td></td>
26 <tr class="parity0">
27 <td></td>
27 <td>
28 %endif
28 % if c.files_list.parent:
29 </tr>
29 ${h.link_to('..',h.url('files_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.files_list.parent.path),class_="browser-dir")}
30 %for cnt,node in enumerate(c.files_list):
30 %endif
31 <tr class="parity${cnt%2}">
31 </td>
32 <td>
32 <td></td>
33 ${h.link_to(node.name,h.url('files_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=node.path),class_=file_class(node))}
33 <td></td>
34 </td>
34 <td></td>
35 <td>
35 <td></td>
36 %if node.is_file():
36 </tr>
37 ${h.filesizeformat(node.size)}
37 %for cnt,node in enumerate(c.files_list,1):
38 %endif
38 <tr class="parity${cnt%2}">
39 </td>
39 <td>
40 <td>
40 ${h.link_to(node.name,h.url('files_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=node.path),class_=file_class(node))}
41 %if node.is_file():
41 </td>
42 ${node.last_changeset.revision}
42 <td>
43 %endif
43 %if node.is_file():
44 </td>
44 ${h.filesizeformat(node.size)}
45 <td>
45 %endif
46 %if node.is_file():
46 </td>
47 ${node.last_changeset.date}
47 <td>
48 %endif
48 %if node.is_file():
49 </td>
49 ${node.last_changeset.revision}
50 <td>
50 %endif
51 %if node.is_file():
51 </td>
52 ${node.last_changeset.author}
52 <td>
53 %endif
53 %if node.is_file():
54 </td>
54 ${node.last_changeset.date}
55 </tr>
55 %endif
56 %endfor
56 </td>
57 </table> No newline at end of file
57 <td>
58 %if node.is_file():
59 ${node.last_changeset.author}
60 %endif
61 </td>
62 </tr>
63 %endfor
64 </table>
65 </div>
66 </div> No newline at end of file
@@ -1,14 +1,14 b''
1 <dl class="overview">
1 <dl class="overview">
2 <dt>${_('Revision')}</dt>
2 <dt>${_('Revision')}</dt>
3 <dd>r${c.files_list.changeset.revision}:${c.files_list.changeset._short}</dd>
3 <dd>r${c.files_list.last_changeset.revision}:${c.files_list.last_changeset._short}</dd>
4 <dt>${_('Size')}</dt>
4 <dt>${_('Size')}</dt>
5 <dd>${h.filesizeformat(c.files_list.size)}</dd>
5 <dd>${h.filesizeformat(c.files_list.size)}</dd>
6 <dt>${_('Options')}</dt>
6 <dt>${_('Options')}</dt>
7 <dd>history / annotate / raw </dd>
7 <dd>${h.link_to(_('annotate'),h.url('#'))} / ${h.link_to(_('raw'),h.url('#'))}</dd>
8 <dt>${_('History')}</dt>
8 <dt>${_('History')}</dt>
9 <dd>
9 <dd>
10 ${h.form(h.url('files_diff_home',repo_name=c.repo_name,f_path=c.f_path),method='GET')}
10 ${h.form(h.url('files_diff_home',repo_name=c.repo_name,f_path=c.f_path),method='GET')}
11 ${h.hidden('diff2',c.files_list.changeset._short)}
11 ${h.hidden('diff2',c.files_list.last_changeset._short)}
12 ${h.select('diff1','',c.file_history)}
12 ${h.select('diff1','',c.file_history)}
13 ${h.submit('diff','diff')}
13 ${h.submit('diff','diff')}
14 ${h.end_form()}
14 ${h.end_form()}
@@ -16,5 +16,10 b''
16
16
17 </dl>
17 </dl>
18 <div id="body" class="codeblock">
18 <div id="body" class="codeblock">
19 ${h.pygmentize(c.files_list.content,linenos=True,anchorlinenos=True,cssclass="code-highlight")}
19 <div class="code-header">
20 <span>${c.files_list.name}@r${c.files_list.last_changeset.revision}:${c.files_list.last_changeset._short}</span>
21 </div>
22 <div class="code-body">
23 ${h.pygmentize(c.files_list.content,linenos=True,anchorlinenos=True,cssclass="code-highlight")}
24 </div>
20 </div> No newline at end of file
25 </div>
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now