aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2020-01-09 13:55:33 -0600
committerzsloan2020-01-09 13:55:33 -0600
commit5c817ed3fdca6cd65669ee2056914ceb40f1cd22 (patch)
treedcdd88ef6985f2aabe0e80dfa07072b178f71f14
parent9a469f6fc380a1bcb194a3dd819fab6667a26fd5 (diff)
downloadgenenetwork2-5c817ed3fdca6cd65669ee2056914ceb40f1cd22.tar.gz
Moved the text search for the trait page sample data table
-rw-r--r--wqflask/wqflask/templates/show_trait_edit_data.html26
1 files changed, 14 insertions, 12 deletions
diff --git a/wqflask/wqflask/templates/show_trait_edit_data.html b/wqflask/wqflask/templates/show_trait_edit_data.html
index e342a3f8..c3052866 100644
--- a/wqflask/wqflask/templates/show_trait_edit_data.html
+++ b/wqflask/wqflask/templates/show_trait_edit_data.html
@@ -1,20 +1,22 @@
<div>
- <div style="padding-bottom: 10px;">
- <input type="button" class="btn btn-success reset" value="Reset">
- <span class="input-append">
- <input type="button" class="btn btn-default export" value="Export">
- <select class="select optional span2 export_format">
- <option value="excel">Excel</option>
- <option value="csv">CSV</option>
- </select>
- </span>
- </div>
-
{% for sample_type in sample_groups %}
+ <div style="padding-bottom: 10px;">
+ <div style="display: inline; height: 40px;">
+ <input type="text" id="{{ sample_type.sample_group_type }}_searchbox" class="form-control" style="width: 200px; display: inline; float: left; vertical-align: top;" placeholder="Search This Table For ...">
+ </div>
+ <div style="padding-left: 10px; display: inline;">
+ <input type="button" class="btn btn-default export" value="Export">
+ <select class="select optional span2 export_format">
+ <option value="excel">Excel</option>
+ <option value="csv">CSV</option>
+ </select>
+ <input type="button" class="btn btn-success reset" value="Reset">
+ </div>
+ </div>
{% set outer_loop = loop %}
<div class="sample_group" style="width:{{ trait_table_width }};">
<div style="position: relative;">
- <div style="display: inline;"><h3 style="float: left;">{{ sample_type.header }}<span name="transform_text"></span></h3><input type="text" id="{{ sample_type.sample_group_type }}_searchbox" class="form-control" style="width: 200px; display: inline; float: right; vertical-align: top;" placeholder="Search This Table For ..."></div>
+ <div style="display: inline;"><h3 style="float: left;">{{ sample_type.header }}<span name="transform_text"></span></h3>
</div>
<div id="table_container">
<table class="table-hover table-striped cell-border" id="samples_{{ sample_type.sample_group_type }}" style="float: left; width:100%;">