Commit dd3b701228028d00a83d3daf4f543226bf538e33
1 parent
4352b081
Exists in
master
and in
1 other branch
Adding survey.html
Showing
2 changed files
with
85 additions
and
2 deletions
Show diff stats
src/web/templates/apprec.html
... | ... | @@ -0,0 +1,85 @@ |
1 | +$def with (recommends, pkg_details, form, request) | |
2 | +$var title: Feedback | |
3 | +$var mod = 'feedback'; | |
4 | +$var cssfiles: static/coda-slider-2.0/javascripts/jquery.coda-slider-2.0.js static/coda-slider-2.0/javascripts/jquery.easing.1.3.js | |
5 | +$var jsfiles: static/coda-slider-2.0/stylesheets/coda-slider-2.0.css static/coda-slider-2.0/stylesheets/reset.css | |
6 | + | |
7 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
8 | + | |
9 | +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
10 | + | |
11 | +<head> | |
12 | + <meta http-equiv="Content-type" content="text/html; charset=UTF-8" /> | |
13 | + <title>Coda-Slider 2.0</title> | |
14 | + <meta http-equiv="Content-Language" content="en-us" /> | |
15 | + | |
16 | + <meta name="author" content="Niall Doherty" /> | |
17 | + | |
18 | + <!-- Begin Stylesheets --> | |
19 | + <link rel="stylesheet" href="static/coda-slider-2.0/stylesheets/reset.css" type="text/css" media="screen" /> | |
20 | + <link rel="stylesheet" href="static/coda-slider-2.0/stylesheets/coda-slider-2.0.css" type="text/css" media="screen" /> | |
21 | + <!-- End Stylesheets --> | |
22 | + | |
23 | + <!-- Begin JavaScript --> | |
24 | + <script type="text/javascript" src="static/coda-slider-2.0/javascripts/jquery-1.3.2.min.js"></script> | |
25 | + <script type="text/javascript" src="static/coda-slider-2.0/javascripts/jquery.easing.1.3.js"></script> | |
26 | + <script type="text/javascript" src="static/coda-slider-2.0/javascripts/jquery.coda-slider-2.0.js"></script> | |
27 | + <script type="text/javascript"> | |
28 | + $$().ready(function() { | |
29 | + $$('#coda-slider-1').codaSlider({dynamicTabs: false, dynamicArrowLeftText: "«", dynamicArrowRightText:"»" }); | |
30 | + }); | |
31 | + </script> | |
32 | + <!-- End JavaScript --> | |
33 | + | |
34 | +</head> | |
35 | + | |
36 | +<body class="coda-slider-no-js"> | |
37 | + | |
38 | +<noscript> | |
39 | + <div> | |
40 | + <p>Unfortunately your browser does not hava JavaScript capabilities which are required to exploit full functionality of our site. This could be the result of two possible scenarios:</p> | |
41 | + <ol> | |
42 | + <li>You are using an old web browser, in which case you should upgrade it to a newer version. We recommend the latest version of <a href="http://www.getfirefox.com">Firefox</a>.</li> | |
43 | + <li>You have disabled JavaScript in you browser, in which case you will have to enable it to properly use our site. <a href="http://www.google.com/support/bin/answer.py?answer=23852">Learn how to enable JavaScript</a>.</li> | |
44 | + </ol> | |
45 | + </div> | |
46 | +</noscript> | |
47 | + | |
48 | +<form action="/thanks" method="post" enctype="multipart/form-data"> | |
49 | + | |
50 | +<div class="coda-slider-wrapper"> | |
51 | + <div class="coda-slider preload" id="coda-slider-1"> | |
52 | +$for pkg in pkg_details: | |
53 | + <div class="panel"> | |
54 | + <div class="panel-wrapper"> | |
55 | + <h1>$pkg['package']</h1> | |
56 | + <span>$pkg['description']</span><br /> | |
57 | + <input type="radio" name="sex" value="male" /> Male<br /> | |
58 | + <input type="radio" name="sex" value="female" /> Female | |
59 | + <p> | |
60 | + <li><b>Description</b>: <br />$:pkg['long_description']</li> | |
61 | + $if pkg['homepage']: | |
62 | + <li><b>Homepage</b>:<a href="$pkg['homepage']">$pkg['homepage']</a></li> | |
63 | + $if pkg['task']: | |
64 | + <li><b>Tasks</b>: $pkg['task']</li> | |
65 | + <li><b>Section</b>: $pkg['section']</li> | |
66 | + $if pkg['recommends']: | |
67 | + <li><b>Recommends</b>: $pkg['recommends']</li> | |
68 | + $if pkg['suggests']: | |
69 | + <li><b>Suggests</b>: $pkg['suggests']</li> | |
70 | + $if pkg['origin']: | |
71 | + <li><b>Origin</b>: $pkg['origin']</li> | |
72 | + <li><b>Maintainer</b>: $pkg['maintainer']</li> | |
73 | + </ul> | |
74 | + </p> | |
75 | + </div> | |
76 | + </div> | |
77 | +</div><!-- .coda-slider --> | |
78 | +</div><!-- .coda-slider-wrapper --> | |
79 | + | |
80 | +<input type="submit" value="Submit" /> | |
81 | + | |
82 | +</form> | |
83 | + | |
84 | +</body> | |
85 | +</html> | ... | ... |