##// END OF EJS Templates
gitweb: plug followlines UI in filerevision view...
Denis Laxalde -
r31949:eaf38196 default
parent child Browse files
Show More
@@ -64,7 +64,9 b' file |'
64 </div>
64 </div>
65
65
66 <div class="page_body">
66 <div class="page_body">
67 <pre class="sourcelines stripes">{text%fileline}</pre>
67 <pre class="sourcelines stripes" data-logurl="{url|urlescape}log/{symrev}/{file|urlescape}">{text%fileline}</pre>
68 </div>
68 </div>
69
69
70 <script type="text/javascript" src="{staticurl|urlescape}followlines.js"></script>
71
70 {footer}
72 {footer}
@@ -149,6 +149,62 b' pre.sourcelines.stripes > span:target {'
149 font-family: monospace;
149 font-family: monospace;
150 }
150 }
151
151
152 /* Followlines */
153 div.page_body pre.sourcelines > span.followlines-select:hover {
154 cursor: cell;
155 }
156
157 pre.sourcelines > span.followlines-selected {
158 background-color: #99C7E9 !important;
159 }
160
161 div#followlines {
162 background-color: #B7B7B7;
163 border: 1px solid #CCC;
164 border-radius: 5px;
165 padding: 4px;
166 position: fixed;
167 }
168
169 div.followlines-cancel {
170 text-align: right;
171 }
172
173 div.followlines-cancel > button {
174 line-height: 80%;
175 padding: 0;
176 border: 0;
177 border-radius: 2px;
178 background-color: inherit;
179 font-weight: bold;
180 }
181
182 div.followlines-cancel > button:hover {
183 color: #FFFFFF;
184 background-color: #CF1F1F;
185 }
186
187 div.followlines-link {
188 margin: 2px;
189 margin-top: 4px;
190 font-family: sans-serif;
191 }
192
193 div#followlines-tooltip {
194 display: none;
195 position: fixed;
196 background-color: #ffc;
197 border: 1px solid #999;
198 padding: 2px;
199 }
200
201 .sourcelines:hover > div#followlines-tooltip {
202 display: inline;
203 }
204
205 .sourcelines:hover > div#followlines-tooltip.hidden {
206 display: none;
207 }
152 /* Graph */
208 /* Graph */
153 div#wrapper {
209 div#wrapper {
154 position: relative;
210 position: relative;
@@ -337,7 +337,7 b' static file'
337
337
338 $ get-with-headers.py --twice localhost:$HGPORT 'static/style-gitweb.css' - date etag server
338 $ get-with-headers.py --twice localhost:$HGPORT 'static/style-gitweb.css' - date etag server
339 200 Script output follows
339 200 Script output follows
340 content-length: 7032
340 content-length: 8012
341 content-type: text/css
341 content-type: text/css
342
342
343 body { font-family: sans-serif; font-size: 12px; border:solid #d9d8d1; border-width:1px; margin:10px; background: white; color: black; }
343 body { font-family: sans-serif; font-size: 12px; border:solid #d9d8d1; border-width:1px; margin:10px; background: white; color: black; }
@@ -491,6 +491,62 b' static file'
491 font-family: monospace;
491 font-family: monospace;
492 }
492 }
493
493
494 /* Followlines */
495 div.page_body pre.sourcelines > span.followlines-select:hover {
496 cursor: cell;
497 }
498
499 pre.sourcelines > span.followlines-selected {
500 background-color: #99C7E9 !important;
501 }
502
503 div#followlines {
504 background-color: #B7B7B7;
505 border: 1px solid #CCC;
506 border-radius: 5px;
507 padding: 4px;
508 position: fixed;
509 }
510
511 div.followlines-cancel {
512 text-align: right;
513 }
514
515 div.followlines-cancel > button {
516 line-height: 80%;
517 padding: 0;
518 border: 0;
519 border-radius: 2px;
520 background-color: inherit;
521 font-weight: bold;
522 }
523
524 div.followlines-cancel > button:hover {
525 color: #FFFFFF;
526 background-color: #CF1F1F;
527 }
528
529 div.followlines-link {
530 margin: 2px;
531 margin-top: 4px;
532 font-family: sans-serif;
533 }
534
535 div#followlines-tooltip {
536 display: none;
537 position: fixed;
538 background-color: #ffc;
539 border: 1px solid #999;
540 padding: 2px;
541 }
542
543 .sourcelines:hover > div#followlines-tooltip {
544 display: inline;
545 }
546
547 .sourcelines:hover > div#followlines-tooltip.hidden {
548 display: none;
549 }
494 /* Graph */
550 /* Graph */
495 div#wrapper {
551 div#wrapper {
496 position: relative;
552 position: relative;
General Comments 0
You need to be logged in to leave comments. Login now