Commit ee75af8bd8fcb04ba1ba3755bfc0b9924ec77229
1 parent
d83f0bf0
Exists in
master
and in
1 other branch
insert pre element in description
Showing
2 changed files
with
14 additions
and
3 deletions
Show diff stats
src/web/static/css/survey.css
@@ -84,9 +84,14 @@ display: none; | @@ -84,9 +84,14 @@ display: none; | ||
84 | 84 | ||
85 | .screenshot { | 85 | .screenshot { |
86 | float: left; | 86 | float: left; |
87 | +border: 1px solid black; | ||
87 | margin: 5px; | 88 | margin: 5px; |
88 | } | 89 | } |
89 | 90 | ||
91 | +.screenshot:hover { | ||
92 | +box-shadow: 0 1px 4px gray; | ||
93 | +} | ||
94 | + | ||
90 | .content-pkg ul li { | 95 | .content-pkg ul li { |
91 | margin-bottom: 10px; | 96 | margin-bottom: 10px; |
92 | } | 97 | } |
@@ -113,7 +118,13 @@ z-index: 2; | @@ -113,7 +118,13 @@ z-index: 2; | ||
113 | cursor: pointer; | 118 | cursor: pointer; |
114 | } | 119 | } |
115 | 120 | ||
116 | -.radioButton:hover { height: 20px; } | 121 | +.radioButton:hover { |
122 | +height: 20px; | ||
123 | +box-shadow: 0 0 4px gray; | ||
124 | +border: 1px solid #eeeeec; | ||
125 | +background: #eeeeec; | ||
126 | +color: #000; | ||
127 | +} | ||
117 | 128 | ||
118 | #continue-button { | 129 | #continue-button { |
119 | float: right; | 130 | float: right; |
src/web/templates/survey.html
@@ -72,7 +72,7 @@ $for pkg in pkg_details: | @@ -72,7 +72,7 @@ $for pkg in pkg_details: | ||
72 | <h1 style="float: right;">($pkg_details.index(pkg)/10)</h1> | 72 | <h1 style="float: right;">($pkg_details.index(pkg)/10)</h1> |
73 | <h1 id="title_pkg"> $pkg['package'] <br /> | 73 | <h1 id="title_pkg"> $pkg['package'] <br /> |
74 | <span>$pkg['description']</span></h1> | 74 | <span>$pkg['description']</span></h1> |
75 | - </p> | 75 | + <br style="clear: both;" /> |
76 | <div id="panel-controls" class="glass"> | 76 | <div id="panel-controls" class="glass"> |
77 | <fieldset> | 77 | <fieldset> |
78 | <legend>How do you evaluate this recommendation?</legend> | 78 | <legend>How do you evaluate this recommendation?</legend> |
@@ -103,7 +103,7 @@ $for pkg in pkg_details: | @@ -103,7 +103,7 @@ $for pkg in pkg_details: | ||
103 | <div class="content-pkg"> | 103 | <div class="content-pkg"> |
104 | <ul> | 104 | <ul> |
105 | <li><b>Description</b>: | 105 | <li><b>Description</b>: |
106 | - <br />$:pkg['long_description']</li> | 106 | + <pre>$:pkg['long_description']</pre></li> |
107 | $if pkg['homepage']: | 107 | $if pkg['homepage']: |
108 | <li><b>Homepage</b>: $pkg['homepage']</li> | 108 | <li><b>Homepage</b>: $pkg['homepage']</li> |
109 | $if pkg['task']: | 109 | $if pkg['task']: |