Commit 04c44ca1698e871cebb4c59eb6361787380ad9c6
1 parent
a6734452
Exists in
master
and in
1 other branch
small screenshot and change position
Showing
1 changed file
with
8 additions
and
8 deletions
Show diff stats
src/web/templates/survey.html
... | ... | @@ -63,7 +63,14 @@ $for pkg in pkg_details: |
63 | 63 | <div class="panel"> |
64 | 64 | <div class="panel-wrapper"> |
65 | 65 | <p> |
66 | - <h1 id="title_pkg">$pkg['package'] <br /> | |
66 | + <div class="screenshot"> | |
67 | + <a class="link-thumb" rel="facebox" | |
68 | + href="http://screenshots.debian.net/screenshot/$pkg['package']?.jpg" | |
69 | + title="Screenshot of package $pkg['package']"> | |
70 | + <img height="70px" src="http://screenshots.debian.net/thumbnail/$pkg['package']" | |
71 | + alt="Screenshot $pkg['package']" /></a> | |
72 | + </div><!-- screenshot --> | |
73 | + <h1 id="title_pkg">($pkg_details.index(pkg)/10) $pkg['package'] <br /> | |
67 | 74 | <span>$pkg['description']</span></h1> |
68 | 75 | </p> |
69 | 76 | <div id="panel-controls" class="glass"> |
... | ... | @@ -97,13 +104,6 @@ $for pkg in pkg_details: |
97 | 104 | <ul> |
98 | 105 | <li><b>Description</b>: |
99 | 106 | <br />$:pkg['long_description']</li> |
100 | - <div class="screenshot"> | |
101 | - <a class="link-thumb" rel="facebox" | |
102 | - href="http://screenshots.debian.net/screenshot/$pkg['package']?.jpg" | |
103 | - title="Screenshot of package $pkg['package']"> | |
104 | - <img src="http://screenshots.debian.net/thumbnail/$pkg['package']" | |
105 | - alt="Screenshot $pkg['package']" /></a> | |
106 | - </div><!-- screenshot --> | |
107 | 107 | $if pkg['homepage']: |
108 | 108 | <li><b>Homepage</b>: $pkg['homepage']</li> |
109 | 109 | $if pkg['task']: | ... | ... |