Commit ee75af8bd8fcb04ba1ba3755bfc0b9924ec77229

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

insert pre element in description

src/web/static/css/survey.css
... ... @@ -84,9 +84,14 @@ display: none;
84 84  
85 85 .screenshot {
86 86 float: left;
  87 +border: 1px solid black;
87 88 margin: 5px;
88 89 }
89 90  
  91 +.screenshot:hover {
  92 +box-shadow: 0 1px 4px gray;
  93 +}
  94 +
90 95 .content-pkg ul li {
91 96 margin-bottom: 10px;
92 97 }
... ... @@ -113,7 +118,13 @@ z-index: 2;
113 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 129 #continue-button {
119 130 float: right;
... ...
src/web/templates/survey.html
... ... @@ -72,7 +72,7 @@ $for pkg in pkg_details:
72 72 <h1 style="float: right;">($pkg_details.index(pkg)/10)</h1>
73 73 <h1 id="title_pkg"> $pkg['package'] <br />
74 74 <span>$pkg['description']</span></h1>
75   - </p>
  75 + <br style="clear: both;" />
76 76 <div id="panel-controls" class="glass">
77 77 <fieldset>
78 78 <legend>How do you evaluate this recommendation?</legend>
... ... @@ -103,7 +103,7 @@ $for pkg in pkg_details:
103 103 <div class="content-pkg">
104 104 <ul>
105 105 <li><b>Description</b>:
106   - <br />$:pkg['long_description']</li>
  106 + <pre>$:pkg['long_description']</pre></li>
107 107 $if pkg['homepage']:
108 108 <li><b>Homepage</b>: $pkg['homepage']</li>
109 109 $if pkg['task']:
... ...