Moving options to dialog
This commit is contained in:
parent
ed36d33fa9
commit
6015ff22ad
@ -90,6 +90,9 @@
|
|||||||
|
|
||||||
ready: function() {
|
ready: function() {
|
||||||
$('#keywords').selectpicker();
|
$('#keywords').selectpicker();
|
||||||
|
$('.btn').click(function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
});
|
||||||
|
|
||||||
$.getJSON('/node/keywords', function(keywords) {
|
$.getJSON('/node/keywords', function(keywords) {
|
||||||
for (var i = 0, count = keywords.length; i < count; ++i) {
|
for (var i = 0, count = keywords.length; i < count; ++i) {
|
||||||
|
@ -53,21 +53,44 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="output" style="display: none;">
|
<div class="modal fade options" tabindex="-1">
|
||||||
<form>
|
<div class="modal-dialog modal-sm">
|
||||||
<div class="panel panel-default">
|
<div class="modal-content">
|
||||||
<div class="panel-heading"><big>Semantic tweaks to <span id="query" class="text-primary"></span></big></div>
|
<div class="modal-header"><big>Options</big></div>
|
||||||
<div style="padding: 10px;" class="unselectable">
|
<div class="modal-body">
|
||||||
<canvas id="grapher" width="800" height="550"></canvas><br>
|
<form>
|
||||||
<label class="checkbox-inline">
|
<label class="checkbox-inline">
|
||||||
<input type="checkbox" id="useLocalScale" name="useLocalScale" checked="checked"> Use local scale
|
<input type="checkbox" id="useLocalScale" name="useLocalScale" checked="checked"> Use local scale
|
||||||
</label>
|
</label>
|
||||||
<label class="checkbox-inline">
|
<label class="checkbox-inline">
|
||||||
<input type="checkbox" id="useRelativeScale" name="useRelativeScale" checked="checked"> Use relative scale
|
<input type="checkbox" id="useRelativeScale" name="useRelativeScale" checked="checked"> Use relative scale
|
||||||
</label>
|
</label>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<form>
|
||||||
|
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="output" style="display: none;">
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-heading">
|
||||||
|
<big>Semantic tweaks to <span id="query" class="text-primary"></span></big>
|
||||||
|
<div class="btn-group pull-right">
|
||||||
|
<form>
|
||||||
|
<button class="btn btn-xs btn-success">Learn...</button>
|
||||||
|
<button class="btn btn-xs btn-default" data-toggle="modal" data-target=".options">Options...</button>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div style="padding: 10px;" class="unselectable">
|
||||||
|
<canvas id="grapher" width="800" height="550"></canvas>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<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" class="text-primary"></span>)</big></div>
|
||||||
|
Loading…
Reference in New Issue
Block a user