queue added
This commit is contained in:
36
index.html
36
index.html
@@ -95,7 +95,7 @@
|
||||
<script id="category-template" type="text/x-handlebars-template">
|
||||
<div>
|
||||
<strong>Category:</strong><br>
|
||||
<select class="form-select selectwidthauto" multiple aria-label="multiple select" name="category" >
|
||||
<select oninput="global_component.update_listbox(1)" class="form-select selectwidthauto" aria-label="multiple select" id="category_sel" multiple="multiple" size="5">
|
||||
{{#each this}}
|
||||
<option>{{this.[1]}}</option>
|
||||
{{/each}}
|
||||
@@ -113,9 +113,9 @@
|
||||
<script id="subcategory-template" type="text/x-handlebars-template">
|
||||
<div>
|
||||
<strong>Subcategory:</strong><br>
|
||||
<select class="form-select selectwidthauto" multiple aria-label="multiple select" name="subcat_sel" >
|
||||
<select class="form-select selectwidthauto" multiple aria-label="multiple select" id="subcat_sel" >
|
||||
{{#each this}}
|
||||
<option>{{this.[1]}}</option>
|
||||
<option>{{this}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
@@ -131,7 +131,35 @@
|
||||
<div class="col-8">
|
||||
<div class="col-12">
|
||||
<!--this is gonna be the selected values-->
|
||||
<div class="row">hey</div>
|
||||
<div class="row">
|
||||
<div id="filter_queue"></div>
|
||||
<!--Template-->
|
||||
<script id="filter_queue_template" type="text/x-handlebars-template">
|
||||
<div>
|
||||
<h5>Queries:</h5>
|
||||
<br>
|
||||
<table class="table">
|
||||
<thead class="thead-dark">
|
||||
<tr>
|
||||
<th scope="col">Subdiv/LGA</th>
|
||||
<th scope="col">Category</th>
|
||||
<th scope="col">Subcategory</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{#each this}}
|
||||
<tr>
|
||||
<td>{{this.subdivs}} {{this.lgas}}</td>
|
||||
<td>{{this.categorys}}</td>
|
||||
<td>{{this.subcategorys}}</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
||||
<h5>Multiple choices in a given column will be AVGed.</h5>
|
||||
</div>
|
||||
</script>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div>
|
||||
<canvas id="chart_canvas"></canvas>
|
||||
|
||||
Reference in New Issue
Block a user