Commit 39001e409017843ea513928faec9e173386c3539
1 parent
75b9a952
Exists in
master
and in
1 other branch
Adding new form for recommendations.
Showing
1 changed file
with
30 additions
and
1 deletions
Show diff stats
src/web/templates/index.html
| @@ -13,9 +13,38 @@ principle.</p> | @@ -13,9 +13,38 @@ principle.</p> | ||
| 13 | 13 | ||
| 14 | <div class="align-right"><img alt="AppRecommender logo" src="/static/images/AppRecommender-logo.jpg" width="320" /></div> | 14 | <div class="align-right"><img alt="AppRecommender logo" src="/static/images/AppRecommender-logo.jpg" width="320" /></div> |
| 15 | 15 | ||
| 16 | + | ||
| 17 | + | ||
| 18 | + | ||
| 19 | +<form action="" name="weboptions"> | ||
| 20 | + <p> | ||
| 21 | + <label>Profile size: <input type="text" name="profile_size" value="10"></label><br /> | ||
| 22 | + <label>Recommendations: <input type="text" name="recommendation_size" value="10"></label><br /> | ||
| 23 | + <label>Weighting scheme:<br /><input type="radio" name="scheme" value="BM25">BM25</label><br /> | ||
| 24 | + <label><input type="radio" name="scheme" value="trad"></label>Traditional<br /> | ||
| 25 | + <label>Strategy: <br /><input type="radio" name="strategy" value="content"> Content-based</label><br /> | ||
| 26 | + <label><input type="radio" name="strategy" value="collab"> Collaborative</label><br /> | ||
| 27 | + <label><input type="radio" name="strategy" value="hybrid"> Hybrid</label><br /> | ||
| 28 | + <!-- <label>Password:<input type="password" name="pass"></label> --> | ||
| 29 | + <label style="margin-bottom: 1em; padding-bottom: 1em; border-bottom: 3px silver groove;"><input type="hidden" class="DEPENDS ON strategy BEING content OR strategy BEING hybrid"></label> | ||
| 30 | + <label><input type="checkbox" name="ssh" class="DEPENDS ON strategy BEING content OR strategy BEING hybrid"> Tag</label> | ||
| 31 | + <label><input type="checkbox" name="iis" class="DEPENDS ON strategy BEING content OR strategy BEING hybrid"> Description</label> | ||
| 32 | + <br /><label><input type="checkbox" name="asp" class="DEPENDS ON strategy BEING collab OR strategy BEING hybrid"> Clustering</label><br /> | ||
| 33 | + <label>Neighbours: <input type="text" name="neighbours" class="DEPENDS ON strategy BEING collab OR strategy BEING hybrid" value="50"></label><br /> | ||
| 34 | + | ||
| 35 | + <label>Personal profile: <br /><input type="checkbox" name="user_desktop" checked class="DEPENDS ON strategy BEING hybrid">Desktop</label> | ||
| 36 | + <label><input type="checkbox" name="neighbours" class="DEPENDS ON strategy BEING hybrid">Admin</label> | ||
| 37 | + <label><input type="checkbox" name="neighbours" class="DEPENDS ON strategy BEING hybrid">Devel</label> | ||
| 38 | + <label><input type="checkbox" name="neighbours" class="DEPENDS ON strategy BEING hybrid">Science</label> | ||
| 39 | + <label><input type="checkbox" name="neighbours" class="DEPENDS ON strategy BEING hybrid">Arts</label> | ||
| 40 | + </p> | ||
| 41 | +<input type="submit" /> | ||
| 42 | +</form> | ||
| 43 | + | ||
| 44 | +<!-- | ||
| 16 | <form action="$action" enctype="multipart/form-data" method="$method"> | 45 | <form action="$action" enctype="multipart/form-data" method="$method"> |
| 17 | $:form.render() | 46 | $:form.render() |
| 18 | <br /> | 47 | <br /> |
| 19 | <input type="submit" /> | 48 | <input type="submit" /> |
| 20 | </form> | 49 | </form> |
| 21 | -</table> | 50 | +--> |