Commit 2370e67312b3beea8900969d00d6dfe60e608322
1 parent
4b054813
Exists in
master
and in
1 other branch
display none controls-form to work show end form report
Showing
2 changed files
with
5 additions
and
20 deletions
Show diff stats
src/web/static/css/survey.css
src/web/templates/survey.html
... | ... | @@ -9,7 +9,7 @@ $var jsfiles: static/coda-slider-2.0/javascripts/jquery-1.3.2.min.js static/coda |
9 | 9 | $$(document).ready(function() { |
10 | 10 | $$("#bar-header").click(function () { |
11 | 11 | $$("#header").slideToggle("slow"); |
12 | - }); | |
12 | + }); | |
13 | 13 | $$('a[rel*=facebox]').facebox({ |
14 | 14 | loadingImage : '/static/images/loading.gif', |
15 | 15 | closeImage : '/static/images/closelabel.png' |
... | ... | @@ -18,21 +18,6 @@ $var jsfiles: static/coda-slider-2.0/javascripts/jquery-1.3.2.min.js static/coda |
18 | 18 | }); |
19 | 19 | </script> |
20 | 20 | |
21 | -<div id="sidebar"> | |
22 | -<div class="innertube"> | |
23 | - | |
24 | -<div id="details_box" class="graybox align-left"> | |
25 | -<h2>Recommendation strategy details</h2> | |
26 | - <ul class="toc"> | |
27 | - $for key, value in request.get_details().items(): | |
28 | - | |
29 | - <li><b>$key:</b> $value</li> | |
30 | - | |
31 | -</div><!-- id="details_box" --> | |
32 | - | |
33 | -</div><!-- class="innertube" --> | |
34 | -<br style="clear: both"> | |
35 | -</div><!-- id="sidebar" --> | |
36 | 21 | |
37 | 22 | <div id="maincontent"> |
38 | 23 | <div class="innertube"> |
... | ... | @@ -79,12 +64,12 @@ $for pkg in pkg_details: |
79 | 64 | </div><!-- .coda-slider --> |
80 | 65 | </div><!-- .coda-slider-wrapper --> |
81 | 66 | |
82 | -<div id="controls-form"> | |
67 | +<div id="controls-form" style="display: none;"><!-- display show in the end form --> | |
83 | 68 | <a href="#finish" id="finish-button" class="glass">Finish |
84 | 69 | <div class="tip important" id="tip-finish"><p>Tem certeza que não gostaria de avaliar uma nova estratégia? </p></div> |
85 | 70 | </a> |
86 | -<label for="strategy_button" id="tip-strategy"><div class="tip note"><p> Gerar um novo resultado com uma estratégia diferente para mesma lista de pacotes ou <a id="bar-header">envie uma nova lista de pacotes</a>. </p></div><input id="strategy-button" name="strategy_button" type="submit" value="New Strategy" class="glass" /></label> | |
87 | -</div> | |
71 | +<label for="strategy_button" id="tip-strategy"><div class="tip note"><p> Gerar um novo resultado com uma estratégia diferente para mesma lista de pacotes ou <a id="bar-header" style="text-decoration: underline; cursor: pointer;">envie uma nova lista de pacotes</a>. </p></div><input id="strategy-button" name="strategy_button" type="submit" value="New Strategy" class="glass" /></label> | |
72 | +</div><!-- id="controls-form" --> | |
88 | 73 | |
89 | 74 | </form> |
90 | 75 | ... | ... |