Commit ce43b347ea86ddaff4bd51d7905951d1e112ecb2
1 parent
014cabc9
Exists in
master
and in
1 other branch
change buttons
Showing
4 changed files
with
15 additions
and
15 deletions
Show diff stats
src/web/static/css/survey.css
@@ -146,8 +146,9 @@ cursor: pointer; | @@ -146,8 +146,9 @@ cursor: pointer; | ||
146 | 146 | ||
147 | #panel-controls { | 147 | #panel-controls { |
148 | position: relative; | 148 | position: relative; |
149 | -width: 180px; | 149 | +width: 170px; |
150 | padding: 5px; | 150 | padding: 5px; |
151 | +margin: 5px; | ||
151 | border-radius: 5px; | 152 | border-radius: 5px; |
152 | border: 1px solid #888a85; | 153 | border: 1px solid #888a85; |
153 | box-shadow: 0 1px 4px gray inset; | 154 | box-shadow: 0 1px 4px gray inset; |
src/web/templates/error.html
1 | $def with (error_msgs) | 1 | $def with (error_msgs) |
2 | $var title: Error | 2 | $var title: Error |
3 | $var mod = 'error'; | 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 | $var jsfiles: static/js/facebox.js | 5 | $var jsfiles: static/js/facebox.js |
6 | 6 | ||
7 | 7 |
src/web/templates/error_survey.html
src/web/templates/survey.html
@@ -68,11 +68,18 @@ $for pkg in pkg_details: | @@ -68,11 +68,18 @@ $for pkg in pkg_details: | ||
68 | </p> | 68 | </p> |
69 | <div id="panel-controls" class="glass"> | 69 | <div id="panel-controls" class="glass"> |
70 | <fieldset> | 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 | <label class="radioButton"> | 79 | <label class="radioButton"> |
73 | <img src="/static/images/yes-enb.JPG" alt="Yes, Good" style="float: right;"> | 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 | <!--<div class="tip tip"> | 83 | <!--<div class="tip tip"> |
77 | <p>Good $pkg['package'] FIXME </p> | 84 | <p>Good $pkg['package'] FIXME </p> |
78 | </div>--> | 85 | </div>--> |
@@ -80,18 +87,10 @@ $for pkg in pkg_details: | @@ -80,18 +87,10 @@ $for pkg in pkg_details: | ||
80 | <label class="radioButton"> | 87 | <label class="radioButton"> |
81 | <img src="/static/images/no-dis.JPG" alt="Poor" style="float: right;"> | 88 | <img src="/static/images/no-dis.JPG" alt="Poor" style="float: right;"> |
82 | <input class="radio" type="radio" name="evaluation-$pkg_details.index(pkg)" value="poor" /> | 89 | <input class="radio" type="radio" name="evaluation-$pkg_details.index(pkg)" value="poor" /> |
83 | - No | 90 | + Porr |
84 | <!--<div class="tip tip"> | 91 | <!--<div class="tip tip"> |
85 | <p>Poor $pkg['package'] FIXME </p> | 92 | <p>Poor $pkg['package'] FIXME </p> |
86 | </div>--> | 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 | </label> | 94 | </label> |
96 | </fieldset> | 95 | </fieldset> |
97 | <br style="clear: both;" /> | 96 | <br style="clear: both;" /> |