1

Big layout changes

This commit is contained in:
Alex Yatskov 2014-11-08 18:54:39 +09:00
parent 121d236ef6
commit 121dde6d23

View File

@ -13,14 +13,33 @@
<h1><img id="spinner" alt="loading" class="pull-right" src="images/spinner.gif" style="display: none;" width="32" height="32">Reactive Search</h1> <h1><img id="spinner" alt="loading" class="pull-right" src="images/spinner.gif" style="display: none;" width="32" height="32">Reactive Search</h1>
</div> </div>
<!-- options dialog --> <div class="row">
<div class="modal fade" id="optionsDialog" tabindex="-1"> <!-- semantic tweaker -->
<div class="modal-dialog modal-sm"> <div class="col-md-7">
<div class="modal-content"> <div class="panel panel-default">
<div class="modal-header"> <div class="panel-heading">
<big>Options</big> <big>Tweaker</big>
</div> </div>
<div class="modal-body"> <div class="panel-body">
<svg id="svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="800" height="500"></svg>
<div class="text-center" style="display: none;">
<input id="history" style="width: 90%;" type="text" data-slider-reversed="true" data-slider-max="0">
</div>
</div>
</div>
</div>
<!-- query -->
<div class="col-md-5">
<div class="panel panel-default">
<div class="panel-heading">
<big>Query</big>
</div>
<div class="panel-body">
<div class="form-group">
<label for="searchKeyword">Keywords</label>
<select id="searchKeyword" class="form-control"></select>
</div>
<div class="form-group"> <div class="form-group">
<label for="minScore">Minimum score</label> <label for="minScore">Minimum score</label>
<input class="form-control" type="number" step="any" value="0.25" id="minScore"> <input class="form-control" type="number" step="any" value="0.25" id="minScore">
@ -40,38 +59,6 @@
<label><input type="checkbox" id="useRelativeScale" checked="checked">Use relative scale</label> <label><input type="checkbox" id="useRelativeScale" checked="checked">Use relative scale</label>
</div> </div>
</div> </div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- query input -->
<div class="panel panel-default">
<div class="panel-heading">
<big>Query</big>
<div class="btn-group pull-right">
<button class="btn btn-xs btn-default" data-toggle="modal" data-target="#optionsDialog">Options</button>
</div>
</div>
<div class="panel-body">
<div class="form-group">
<label for="searchKeyword">Keywords</label>
<select id="searchKeyword" class="form-control"></select>
</div>
</div>
</div>
<!-- semantic tweaker -->
<div class="panel panel-default">
<div class="panel-heading">
<big>Semantic tweaker</big>
</div>
<div class="panel-body">
<svg id="svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="800" height="500"></svg>
<div class="text-center" style="display: none;">
<input id="history" style="width: 90%;" type="text" data-slider-reversed="true" data-slider-max="0">
</div> </div>
</div> </div>
</div> </div>
@ -79,7 +66,7 @@
<!-- result listing --> <!-- result listing -->
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<big>Query results (<span id="count"></span>)</big> <big>Results (<span id="count"></span>)</big>
</div> </div>
<div class="panel-body"> <div class="panel-body">
<script id="template" type="text/x-handlers-template"> <script id="template" type="text/x-handlers-template">
@ -105,6 +92,7 @@
<div id="results"></div> <div id="results"></div>
</div> </div>
</div> </div>
</div> </div>
<!-- inject:js --> <!-- inject:js -->
<!-- endinject --> <!-- endinject -->