about summary refs log tree commit diff
path: root/uploader/templates/phenotypes/view-dataset.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-03-12 12:48:28 -0500
committerFrederick Muriuki Muriithi2025-03-12 12:50:04 -0500
commitb5842a85b3277462fb1083ee22d516a085da0fea (patch)
tree016a801dd96555fa1e05e0b65766f2b4796cf1e1 /uploader/templates/phenotypes/view-dataset.html
parent43118074beaaebd8e3ed0bc134ef6edf918abd41 (diff)
downloadgn-uploader-b5842a85b3277462fb1083ee22d516a085da0fea.tar.gz
Remove obsolete and incompatible row-selection code.
Diffstat (limited to 'uploader/templates/phenotypes/view-dataset.html')
-rw-r--r--uploader/templates/phenotypes/view-dataset.html22
1 files changed, 1 insertions, 21 deletions
diff --git a/uploader/templates/phenotypes/view-dataset.html b/uploader/templates/phenotypes/view-dataset.html
index f171483..3ab8004 100644
--- a/uploader/templates/phenotypes/view-dataset.html
+++ b/uploader/templates/phenotypes/view-dataset.html
@@ -65,11 +65,7 @@
 
 
 <div class="row">
-  <div style="padding-bottom: 0.5em;">
-    <a href="#" class="btn btn-info" id="btn-phenotypes-list-select-all">select all</a>
-    <a href="#" class="btn btn-info" id="btn-phenotypes-list-deselect-all">deselect all</a>
-    <a href="#" class="btn btn-info" id="btn-phenotypes-list-edit">edit</a>
-  </div>
+
   <table id="tbl-phenotypes-list" class="table compact stripe cell-border">
     <thead>
       <tr>
@@ -93,8 +89,6 @@
 {%block javascript%}
 <script type="text/javascript">
   $(function() {
-      dtAddCommonHandlers("#tbl-phenotypes-list");
-
       var data = {{phenotypes | tojson}};
       var dtPhenotypesList = buildDataTable(
           "#tbl-phenotypes-list",
@@ -137,20 +131,6 @@
                   return `${pheno.InbredSetCode}_${pheno.xref_id}`;
               }
           });
-
-      $("#btn-phenotypes-list-select-all").on("click", (event) => {
-          dtPhenotypesList.rows().select();
-          dtPhenotypesList.rows().nodes().each((node, idx) => {
-              $(node).find(".chk-row-select").prop("checked", true);
-          });
-      });
-
-      $("#btn-phenotypes-list-deselect-all").on("click", (event) => {
-          dtPhenotypesList.rows().deselect();
-          dtPhenotypesList.rows().nodes().each((node, idx) => {
-              $(node).find(".chk-row-select").prop("checked", false);
-          });
-      });
   });
 </script>
 {%endblock%}