Commit ce43b347ea86ddaff4bd51d7905951d1e112ecb2

Authored by Valessio Soares de Brito
1 parent 014cabc9
Exists in master and in 1 other branch add_vagrant

change buttons

src/web/static/css/survey.css
... ... @@ -146,8 +146,9 @@ cursor: pointer;
146 146  
147 147 #panel-controls {
148 148 position: relative;
149   -width: 180px;
  149 +width: 170px;
150 150 padding: 5px;
  151 +margin: 5px;
151 152 border-radius: 5px;
152 153 border: 1px solid #888a85;
153 154 box-shadow: 0 1px 4px gray inset;
... ...
src/web/templates/error.html
1 1 $def with (error_msgs)
2 2 $var title: Error
3 3 $var mod = 'error';
4   -$var cssfiles: static/css/facebox.css
  4 +$var cssfiles: static/css/facebox.css static/css/facebox.css static/css/survey.css
5 5 $var jsfiles: static/js/facebox.js
6 6  
7 7  
... ...
src/web/templates/error_survey.html
1 1 $var title: Error
2 2 $var mod = 'error';
3   -$var cssfiles: static/css/facebox.css
  3 +$var cssfiles: static/css/facebox.css static/css/facebox.css static/css/survey.css
4 4 $var jsfiles: static/js/facebox.js
5 5  
6 6  
... ...
src/web/templates/survey.html
... ... @@ -68,11 +68,18 @@ $for pkg in pkg_details:
68 68 </p>
69 69 <div id="panel-controls" class="glass">
70 70 <fieldset>
71   - <legend>Do you consider this recommendation useful?</legend>
  71 + <legend>How do you evaluate this recommendation?</legend>
  72 + <label class="radioButton">
  73 + <input class="radio" type="radio" name="evaluation-$pkg_details.index(pkg)" value="surprising" />
  74 + Pleasantly surprising
  75 + <!--<div class="tip tip">
  76 + <p>Pleasantly $pkg['package'] FIXME </p>
  77 + </div>-->
  78 + </label><br />
72 79 <label class="radioButton">
73 80 <img src="/static/images/yes-enb.JPG" alt="Yes, Good" style="float: right;">
74   - <input class="radio" type="radio" name="evaluation-$pkg_details.index(pkg)" value="good" />
75   - Yes
  81 + <input class="radio yesb" type="radio" name="evaluation-$pkg_details.index(pkg)" value="good" />
  82 + Usefull
76 83 <!--<div class="tip tip">
77 84 <p>Good $pkg['package'] FIXME </p>
78 85 </div>-->
... ... @@ -80,18 +87,10 @@ $for pkg in pkg_details:
80 87 <label class="radioButton">
81 88 <img src="/static/images/no-dis.JPG" alt="Poor" style="float: right;">
82 89 <input class="radio" type="radio" name="evaluation-$pkg_details.index(pkg)" value="poor" />
83   - No
  90 + Porr
84 91 <!--<div class="tip tip">
85 92 <p>Poor $pkg['package'] FIXME </p>
86 93 </div>-->
87   - </label><br />
88   - <legend>Was it surprising?</legend>
89   - <label class="radioButton">
90   - <input class="radio" type="radio" name="evaluation-$pkg_details.index(pkg)" value="surprising" />
91   - Pleasantly surprising
92   - <!--<div class="tip tip">
93   - <p>Pleasantly $pkg['package'] FIXME </p>
94   - </div>-->
95 94 </label>
96 95 </fieldset>
97 96 <br style="clear: both;" />
... ...