2015-02-26 10:18:33 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2015-03-01 09:08:48 +00:00
|
|
|
<title>Search Profile</title>
|
2015-02-26 10:18:33 +00:00
|
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
2015-02-27 08:32:15 +00:00
|
|
|
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css">
|
2015-03-01 09:08:48 +00:00
|
|
|
<style type="text/css">
|
|
|
|
.form-horizontal .control-label {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
</style>
|
2015-02-26 10:18:33 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="container">
|
|
|
|
<!-- busy spinner -->
|
|
|
|
<div class="page-header">
|
2015-03-01 09:08:48 +00:00
|
|
|
<h1><img id="spinner" alt="loading" class="pull-right" src="images/spinner.gif" style="display: none;" width="32" height="32">Search Profile</h1>
|
2015-02-26 10:18:33 +00:00
|
|
|
</div>
|
|
|
|
|
2015-03-01 09:59:54 +00:00
|
|
|
<!-- categories -->
|
2015-03-01 09:52:53 +00:00
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th class="text-left">Category</th>
|
|
|
|
<th class="text-right">Rating</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tr>
|
|
|
|
<td class="text-left">Now is the time for all good men</td>
|
|
|
|
<td class="text-right">
|
2015-03-01 09:08:48 +00:00
|
|
|
<label class="radio-inline">
|
2015-03-01 09:52:53 +00:00
|
|
|
<input type="radio" name="test1" value="-1"> Agree
|
2015-03-01 09:08:48 +00:00
|
|
|
</label>
|
|
|
|
<label class="radio-inline">
|
2015-03-01 09:52:53 +00:00
|
|
|
<input type="radio" name="test1" value="-1" checked> Neither
|
2015-03-01 09:08:48 +00:00
|
|
|
</label>
|
|
|
|
<label class="radio-inline">
|
2015-03-01 09:52:53 +00:00
|
|
|
<input type="radio" name="test1" value="-1"> Disagree
|
2015-03-01 09:08:48 +00:00
|
|
|
</label>
|
2015-03-01 09:52:53 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="text-left">Now is the time for all good men</td>
|
|
|
|
<td class="text-right">
|
2015-03-01 09:08:48 +00:00
|
|
|
<label class="radio-inline">
|
|
|
|
<input type="radio" name="test2" value="-1"> Agree
|
|
|
|
</label>
|
|
|
|
<label class="radio-inline">
|
|
|
|
<input type="radio" name="test2" value="-1" checked> Neither
|
|
|
|
</label>
|
|
|
|
<label class="radio-inline">
|
|
|
|
<input type="radio" name="test2" value="-1"> Disagree
|
|
|
|
</label>
|
2015-03-01 09:52:53 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2015-03-01 09:08:48 +00:00
|
|
|
|
2015-03-01 09:59:54 +00:00
|
|
|
<!-- new category adder -->
|
2015-03-01 09:52:53 +00:00
|
|
|
<div class="input-group">
|
2015-03-01 09:59:54 +00:00
|
|
|
<input type="text" class="form-control" placeholder="New category text">
|
2015-03-01 09:52:53 +00:00
|
|
|
<span class="input-group-btn">
|
|
|
|
<button class="btn btn-primary"><span class="glyphicon glyphicon-plus"></span></button>
|
|
|
|
</span>
|
2015-02-26 10:18:33 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- result listing -->
|
|
|
|
<!-- <div class="panel panel-default" style="display: none;" id="resultPanel"> -->
|
|
|
|
<!-- <div class="panel-heading"> -->
|
|
|
|
<!-- <big>Results (<span id="resultCount"></span>)</big> -->
|
|
|
|
<!-- </div> -->
|
|
|
|
<!-- <div class="panel-body"> -->
|
|
|
|
<!-- <script id="template" type="text/x-handlers-template"> -->
|
|
|
|
<!-- {{#if results}} -->
|
|
|
|
<!-- <table class="table table-striped table-condensed"> -->
|
|
|
|
<!-- <thead> -->
|
|
|
|
<!-- <tr> -->
|
|
|
|
<!-- <th>Id</th> -->
|
|
|
|
<!-- <th>Name</th> -->
|
|
|
|
<!-- <th>Distance to user</th> -->
|
|
|
|
<!-- <th>Closest station</th> -->
|
|
|
|
<!-- <th>Distance to station</th> -->
|
|
|
|
<!-- <th>Score</th> -->
|
|
|
|
<!-- </tr> -->
|
|
|
|
<!-- </thead> -->
|
|
|
|
<!-- {{#each results}} -->
|
|
|
|
<!-- <tr> -->
|
|
|
|
<!-- <td>{{id}}</td> -->
|
|
|
|
<!-- <td><a href="{{url}}">{{name}}</a></td> -->
|
|
|
|
<!-- <th>{{distanceToUser}} km</th> -->
|
|
|
|
<!-- <th>{{closestStn}}</th> -->
|
|
|
|
<!-- <th>{{distanceToStn}} km</th> -->
|
|
|
|
<!-- <td>{{score}}</td> -->
|
|
|
|
<!-- </tr> -->
|
|
|
|
<!-- {{/each}} -->
|
|
|
|
<!-- </table> -->
|
|
|
|
<!-- {{/if}} -->
|
|
|
|
<!-- </script> -->
|
|
|
|
<!-- <div id="results"></div> -->
|
|
|
|
<!-- </div> -->
|
|
|
|
<!-- </div> -->
|
|
|
|
|
|
|
|
</div>
|
2015-02-27 08:32:15 +00:00
|
|
|
<script src="bower_components/jquery/dist/jquery.js"></script>
|
|
|
|
<script src="bower_components/handlebars/handlebars.js"></script>
|
|
|
|
<script src="bower_components/underscore/underscore.js"></script>
|
|
|
|
<script src="bower_components/bootstrap/dist/js/bootstrap.js"></script>
|
2015-02-26 10:18:33 +00:00
|
|
|
</body>
|
|
|
|
</html>
|