apprec.html
1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
$def with (recommends, pkg_summaries, form, request)
$var title: Feedback
$var mod = 'feedback';
<script type="application/x-javascript">
$$(document).ready(function() {
inithandlers();
$$('input[name=search]').focus();
});
</script>
<div class="graybox">
<h1>Details of recommendation strategy</h1>
$request.get_strategy_details()
<!--<ul class="toc">
$for strategy, result in recommends.items():
<li><a href="#$strategy">$strategy</a></li>
</ul>-->
</div>
<form action="/thanks" method="post" enctype="multipart/form-data">
<table>
<tbody>
$for strategy, result in recommends.items():
<!--<h2><a name="$strategy" id="$strategy">$strategy</a></h2>-->
<tr>
$ count = 0
$for pkg in result:
$ count = count + 1
<td style="text-align: center; border: 4px solid rgb(255, 255, 255); min-width: 160px;">
<p><a href="package/$pkg?height=350&width=650" class="thickbox" title="General information for package $pkg"><div class="smaller"><b>$pkg</b></div></a></p>
<div class="screenshots cycle" style="height: 120px">
<a class="image" href="http://screenshots.debian.net/screenshot/$pkg" title="Screenshot of package $pkg">
<img src="http://screenshots.debian.net/thumbnail/$pkg" alt="Screenshot" />
</a>
</div>
<div class="imgcaption">
<p class="smaller">$pkg_summaries[pkg]</p>
</div>
</td>
$if count == 5:
$ count = 0
</tr>
<tr>
</tr>
</tbody>
</table>
</form>