Commit 2e6c8806d4d746ab5ea86f74150dc13ec288d7f6
1 parent
fa2544ed
Exists in
master
and in
1 other branch
fix / small changes
Showing
4 changed files
with
34 additions
and
4 deletions
Show diff stats
src/web/static/css/style.css
| @@ -411,7 +411,7 @@ margin: 10px; | @@ -411,7 +411,7 @@ margin: 10px; | ||
| 411 | #tip-upload { | 411 | #tip-upload { |
| 412 | display: none; | 412 | display: none; |
| 413 | position: absolute; | 413 | position: absolute; |
| 414 | -top: 0px; | 414 | +top: 90px; |
| 415 | z-index: 1; | 415 | z-index: 1; |
| 416 | } | 416 | } |
| 417 | 417 | ||
| @@ -450,6 +450,17 @@ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dfdfdf', end | @@ -450,6 +450,17 @@ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dfdfdf', end | ||
| 450 | background: linear-gradient(top, #dfdfdf 51%,#ffffff 100%); /* W3C */ | 450 | background: linear-gradient(top, #dfdfdf 51%,#ffffff 100%); /* W3C */ |
| 451 | } | 451 | } |
| 452 | 452 | ||
| 453 | +.glass_blue { | ||
| 454 | +background: #f2f6f8; /* Old browsers */ | ||
| 455 | +background: -moz-linear-gradient(top, #f2f6f8 0%, #d8e1e7 50%, #b5c6d0 51%, #e0eff9 100%); /* FF3.6+ */ | ||
| 456 | +background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f6f8), color-stop(50%,#d8e1e7), color-stop(51%,#b5c6d0), color-stop(100%,#e0eff9)); /* Chrome,Safari4+ */ | ||
| 457 | +background: -webkit-linear-gradient(top, #f2f6f8 0%,#d8e1e7 50%,#b5c6d0 51%,#e0eff9 100%); /* Chrome10+,Safari5.1+ */ | ||
| 458 | +background: -o-linear-gradient(top, #f2f6f8 0%,#d8e1e7 50%,#b5c6d0 51%,#e0eff9 100%); /* Opera11.10+ */ | ||
| 459 | +background: -ms-linear-gradient(top, #f2f6f8 0%,#d8e1e7 50%,#b5c6d0 51%,#e0eff9 100%); /* IE10+ */ | ||
| 460 | +filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f6f8', endColorstr='#e0eff9',GradientType=0 ); /* IE6-9 */ | ||
| 461 | +background: linear-gradient(top, #f2f6f8 0%,#d8e1e7 50%,#b5c6d0 51%,#e0eff9 100%); /* W3C */ | ||
| 462 | +} | ||
| 463 | + | ||
| 453 | .glass { | 464 | .glass { |
| 454 | background: #e2e2e2; /* Old browsers */ | 465 | background: #e2e2e2; /* Old browsers */ |
| 455 | background: -moz-linear-gradient(top, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%); /* FF3.6+ */ | 466 | background: -moz-linear-gradient(top, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%); /* FF3.6+ */ |
src/web/static/css/survey.css
| @@ -45,8 +45,7 @@ background: none; | @@ -45,8 +45,7 @@ background: none; | ||
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | .coda-slider-wrapper { | 47 | .coda-slider-wrapper { |
| 48 | -margin-right: auto; | ||
| 49 | -margin-left: auto; | 48 | +clear: none; |
| 50 | } | 49 | } |
| 51 | 50 | ||
| 52 | body.survey #wrap { | 51 | body.survey #wrap { |
| @@ -72,7 +71,9 @@ margin: 5px; | @@ -72,7 +71,9 @@ margin: 5px; | ||
| 72 | 71 | ||
| 73 | .content-pkg { | 72 | .content-pkg { |
| 74 | overflow: auto; | 73 | overflow: auto; |
| 74 | +display: block; | ||
| 75 | height: 250px; | 75 | height: 250px; |
| 76 | +min-height: 250px; | ||
| 76 | } | 77 | } |
| 77 | 78 | ||
| 78 | .content-pkg ul { | 79 | .content-pkg ul { |
src/web/templates/layout.html
| @@ -38,7 +38,10 @@ if ((u==null) && (x==null) || (x=="Write your list App here or send a file list | @@ -38,7 +38,10 @@ if ((u==null) && (x==null) || (x=="Write your list App here or send a file list | ||
| 38 | alert("Choice your list App or create a list!"); | 38 | alert("Choice your list App or create a list!"); |
| 39 | return false; | 39 | return false; |
| 40 | } | 40 | } |
| 41 | -} | 41 | +else { |
| 42 | + if (x=='Write your list App here or send a file list this icon:') {x=''} | ||
| 43 | + } | ||
| 44 | +}; | ||
| 42 | </script> | 45 | </script> |
| 43 | 46 | ||
| 44 | <script type="text/javascript"> | 47 | <script type="text/javascript"> |
src/web/templates/survey.html
| @@ -15,6 +15,21 @@ $var jsfiles: static/coda-slider-2.0/javascripts/jquery-1.3.2.min.js static/coda | @@ -15,6 +15,21 @@ $var jsfiles: static/coda-slider-2.0/javascripts/jquery-1.3.2.min.js static/coda | ||
| 15 | }); | 15 | }); |
| 16 | </script> | 16 | </script> |
| 17 | 17 | ||
| 18 | +<div id="sidebar"> | ||
| 19 | +<div class="innertube"> | ||
| 20 | + | ||
| 21 | +<div id="details_box" class="graybox align-left glass_blue"> | ||
| 22 | +<h2>Recommendation strategy details</h2> | ||
| 23 | + <ul class="toc"> | ||
| 24 | + $for key, value in request.get_details().items(): | ||
| 25 | + | ||
| 26 | + <li><b>$key:</b> $value</li> | ||
| 27 | + | ||
| 28 | +</div><!-- id="details_box" --> | ||
| 29 | + | ||
| 30 | +</div><!-- class="innertube" --> | ||
| 31 | +<br style="clear: both"> | ||
| 32 | +</div><!-- id="sidebar" --> | ||
| 18 | 33 | ||
| 19 | <div id="maincontent"> | 34 | <div id="maincontent"> |
| 20 | <div class="innertube"> | 35 | <div class="innertube"> |