Adding slider stub
This commit is contained in:
parent
ccb5b5d7a2
commit
94d70dc9ea
@ -18,6 +18,7 @@
|
|||||||
"handlebars": "~1.3.0",
|
"handlebars": "~1.3.0",
|
||||||
"underscore": "~1.6.0",
|
"underscore": "~1.6.0",
|
||||||
"bootstrap-select": "~1.6.2",
|
"bootstrap-select": "~1.6.2",
|
||||||
"tinycolor": "~1.0.0"
|
"tinycolor": "~1.0.0",
|
||||||
|
"seiyria-bootstrap-slider": "~4.0.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -117,7 +117,7 @@
|
|||||||
<!-- semantic tweaker -->
|
<!-- semantic tweaker -->
|
||||||
<div class="panel panel-default unselectable">
|
<div class="panel panel-default unselectable">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
<big>Semantic tweaks to <span id="query" class="text-primary"></span></big>
|
<big>Semantic tweaks to: <span id="query"></span></big>
|
||||||
<div class="btn-group pull-right">
|
<div class="btn-group pull-right">
|
||||||
<button class="btn btn-xs btn-success" data-toggle="modal" data-target="#learnDialog">Learn</button>
|
<button class="btn btn-xs btn-success" data-toggle="modal" data-target="#learnDialog">Learn</button>
|
||||||
<button class="btn btn-xs btn-danger" data-toggle="modal" data-target="#forgetDialog">Forget</button>
|
<button class="btn btn-xs btn-danger" data-toggle="modal" data-target="#forgetDialog">Forget</button>
|
||||||
@ -125,13 +125,14 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="padding: 10px;">
|
<div style="padding: 10px;">
|
||||||
<canvas id="grapher" width="800" height="550"></canvas>
|
<canvas id="grapher" width="800" height="550"></canvas><br>
|
||||||
|
<input id="history" type="text" data-slider-min="0" data-slider-max="20" data-slider-step="1">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- result listing -->
|
<!-- result listing -->
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading"><big>Query results (<span id="count" class="text-primary"></span>)</big></div>
|
<div class="panel-heading"><big>Query results (<span id="count"></span>)</big></div>
|
||||||
<div style="padding: 10px;">
|
<div style="padding: 10px;">
|
||||||
<script id="template" type="text/x-handlers-template">
|
<script id="template" type="text/x-handlers-template">
|
||||||
{{#if results}}
|
{{#if results}}
|
||||||
|
@ -161,6 +161,7 @@
|
|||||||
|
|
||||||
ready: function() {
|
ready: function() {
|
||||||
$('#keywordsToSearch').selectpicker();
|
$('#keywordsToSearch').selectpicker();
|
||||||
|
$('#history').slider();
|
||||||
|
|
||||||
$.getJSON('/get_keywords', function(keywords) {
|
$.getJSON('/get_keywords', function(keywords) {
|
||||||
$('#searchKeywords').click(onSearch);
|
$('#searchKeywords').click(onSearch);
|
||||||
|
Loading…
Reference in New Issue
Block a user