about summary refs log tree commit diff
path: root/gn2/wqflask/templates
diff options
context:
space:
mode:
authorzsloan2024-03-13 16:59:05 +0000
committerzsloan2024-03-13 17:01:33 +0000
commitd1e03021bd0df00f295d954949acc73efe0850fa (patch)
tree6091d4f32647d4498dcab8a3f9b559ca8965f0cf /gn2/wqflask/templates
parentb9e04ad79e0039edba25d58f8bc03e4d2a17583b (diff)
downloadgenenetwork2-d1e03021bd0df00f295d954949acc73efe0850fa.tar.gz
Add options to select by index/attr (instead of just block)
Diffstat (limited to 'gn2/wqflask/templates')
-rw-r--r--gn2/wqflask/templates/show_trait_transform_and_filter.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/gn2/wqflask/templates/show_trait_transform_and_filter.html b/gn2/wqflask/templates/show_trait_transform_and_filter.html
index 0706f64d..e61e1248 100644
--- a/gn2/wqflask/templates/show_trait_transform_and_filter.html
+++ b/gn2/wqflask/templates/show_trait_transform_and_filter.html
@@ -15,7 +15,8 @@
             {{ sample_group_types['samples_other'] }}
           </option>
         </select>
-        <input type="button" id="block_by_index" class="btn btn-danger" value="Block">
+        <input type="button" id="block_by_index" class="btn btn-danger" title="Block all values for the specified indices" value="Block">
+        <input type="button" id="select_by_index" class="btn btn-danger" title="Block all values *except* for the specified indices" value="Select">
     </div>
     <div id="remove_samples_invalid" class="alert alert-error" style="display:none;">
           Please check that your input is formatted correctly, e.g. <strong>3, 5-10, 12</strong>
@@ -42,7 +43,8 @@
             {{ sample_group_types['samples_other'] }}
           </option>
         </select>
-        <input type="button" id="exclude_by_attr" class="btn btn-danger" value="Block">
+        <input type="button" id="exclude_by_attr" class="btn btn-danger" title="Block all values that meet the criteria" value="Block">
+        <input type="button" id="select_by_attr" class="btn btn-danger" title="Block all values that *don't* meet the criteria" value="Select">
     </div>
     {% endif %}
     {% if study_samplelists|length > 0 %}