Commit 759bc928528b4105c3d41356ec82102db4c85bb1

Authored by Tássia Camões Araújo
1 parent 40247ad1
Exists in master and in 1 other branch add_vagrant

Updated layout files.

src/web/templates/about.html
... ... @@ -3,23 +3,23 @@ $var mod = 'about';
3 3 $var cssfiles:
4 4 $var jsfiles:
5 5  
6   -
7 6 <div id="maincontent">
8 7 <div class="innertube">
9 8  
10 9 <img style="float: right;" alt="AppRecommender logo" src="/static/images/logo.png" width="150px" />
11 10  
12   -<h1>What is this?</h1>
13   -
14   -<p>
15   -AppRecommender is a project in development that aims to provide solutions
16   -for application recommendation at the GNU/Linux world. It was initially thought
17   -as a Debian package recommender, but considering the multi-distro effort in
18   -providing platform independent solutions, it should also follow this
19   -principle.
20   -</p>
  11 +<h1>About</h1>
21 12  
  13 +<p>This experiment aims to compare and validate automated application
  14 +recommendations produced by various strategies and algorithms tunnings. Asking
  15 +real users about the relevance of the recommendation is the closest we can get
  16 +of the real accuracy of the recommender system.</p>
22 17  
  18 +<p>The engine that is being tested is a free software called <a
  19 +href="http://github.com/tassia/AppRecommender">AppRecommender</a>. It was
  20 +initially developed using the Debian Project infrasctructure, but the solution
  21 +is essentially distro-independent and could even be adapted to non GNU/Linux
  22 +systems given that there was available data for that.</p>
23 23  
24 24 </div><!-- id="innertube" -->
25 25 </div><!-- id="maincontent" -->
... ...
src/web/templates/apprec.html
... ... @@ -41,7 +41,6 @@ $$(document).ready(function() {
41 41 });
42 42 </script>
43 43  
44   -
45 44 <div id="sidebar">
46 45 <div class="innertube">
47 46  
... ... @@ -86,5 +85,3 @@ $for strategy, result in recommends.items():
86 85  
87 86 </div><!-- class="innertube" -->
88 87 </div><!-- id="maincontent" -->
89   -
90   -
... ...
src/web/templates/index.html
... ... @@ -670,18 +670,17 @@ function showtags(tagid) {
670 670 <h1>You might also like...</h1>
671 671  
672 672 <p>Provide a list of packages or upload a popcon submission file and you'll get
673   -a list of suggested packages automatically computed by AppRecommender. You can
674   -customize the recommender setup or let it randomly choose one.</p>
  673 +a list of suggested packages automatically computed by AppRecommender.<!-- You can
  674 +customize the recommender setup or let it randomly choose one.--></p>
675 675  
676   -<p>Please fill the form that follows the recommendation results. Your
  676 +<p>Given the recommendation result, please evaluate each application and
  677 +choose if you want to continue with another round of suggestions.
  678 +<!--fill the form that follows the recommendation results.--> </p><p>Your
677 679 feedback is very much appreciated!</p>
678 680  
679   -
680   -<p>Enjoy it :)</p>
681 681 </div>
682 682  
683 683 </div><!-- class="innertube" -->
684 684 </div><!-- id="maincontent" -->
685 685  
686 686  
687   -
... ...
src/web/templates/layout.html
... ... @@ -59,7 +59,7 @@ if (x==null || x==&quot;Write your list App here or send a file list this icon:&quot;)
59 59 <fieldset>
60 60 <div id="submit-box">
61 61 <input type="submit" value="RECOMMENDER" id="submit-button"><br />
62   - <a id="advanced-button">advanced query?</a>
  62 + <!--<a id="advanced-button">advanced query?</a>-->
63 63 </div>
64 64 <div id="input-box">
65 65 <a href="#attachfile" rel="facebox" id="upfile"><span style="display: none;">Upload a file.</span></a>
... ... @@ -165,16 +165,15 @@ $:content
165 165 <div id="footer">
166 166  
167 167 <div id="navbar">
168   - <ul>
  168 + <ul>
169 169 <li><a href="$url_base">Home</a></li>
170 170 <li><a href="$url_base/about">About</a></li>
171   - <li><a href="$url_base/support">Support</a></li>
172 171 <li><a href="http://github.com/tassia/AppRecommender">Development</a></li>
173 172 </ul>
174 173 </div><!-- id="navbar" -->
175   - <p id="copyright">
176   - Copyright © 2011 AppRecommender. Debian is a registered trademark of Software in the Public Interest, Inc.
177   - </p>
  174 +<!-- <p id="copyright">
  175 + Copyright © 2011 AppRecommender team.
  176 + </p> -->
178 177 </div><!-- id="footer" -->
179 178  
180 179  
... ...
src/web/templates/survey_index.html 0 → 100644
... ... @@ -0,0 +1,60 @@
  1 +$var title: Survey
  2 +$var mod = 'index';
  3 +$var cssfiles: static/css/tabs.css static/css/debtags.css static/css/facebox.css
  4 +$var jsfiles: static/js/facebox.js
  5 +
  6 +
  7 +<!-- Dynamic form -->
  8 +<script type="application/x-javascript">
  9 +window.onload = function() {
  10 + setupDependencies('weboptions'); //name of form(s). Seperate each with a comma (ie: 'weboptions', 'myotherform' )
  11 + };
  12 +</script>
  13 +
  14 +<script type="application/x-javascript">
  15 +$$(document).ready(function() {
  16 + $$('a[rel*=facebox]').facebox({
  17 + loadingImage : '/static/images/loading.gif',
  18 + closeImage : '/static/images/closelabel.png'
  19 + });
  20 + $$("#tags-box").click(function () {
  21 + $$("#tags-box").hide(1000);
  22 + });
  23 +
  24 +});
  25 +</script>
  26 +
  27 +
  28 +<div id="sidebar">
  29 +<div class="innertube">
  30 +
  31 +
  32 +<br style="clear: both" />
  33 +</div><!-- class="innertube" -->
  34 +</div><!-- id="sidebar" -->
  35 +
  36 +<div id="maincontent">
  37 +<div class="innertube">
  38 +
  39 +<div class="textbox">
  40 +<h1>Help us learn your needs!</h1>
  41 +
  42 +<p>Participate in this survey and contribute for the development of
  43 +AppRecommender, a recommender system for GNU/Linux applications.</p>
  44 +<br />
  45 +<p>Please provide the list of packages installed in a real running system,
  46 +by uploading a popcon submission or the file generated with the command:
  47 +"dpkg -l > packages_list".</p>
  48 +
  49 +<p>Evaluate at least 10 suggested applications and identify yourself if you
  50 +wish to. Upon the completion of this survey there will be a thank you page
  51 +listing all identified participant.</p>
  52 +
  53 +<p>Your help is very much appreciated!</p>
  54 +
  55 +</div>
  56 +
  57 +</div><!-- class="innertube" -->
  58 +</div><!-- id="maincontent" -->
  59 +
  60 +
... ...