diff options
author | BonfaceKilz | 2021-12-22 12:46:20 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-01-05 17:05:41 +0300 |
commit | 9baebb774e3cf05feca09b0ffe44a73db17bd4d2 (patch) | |
tree | e7e40ba28e1bf5e750a380763625a30b518f9a15 | |
parent | 9944596f6873807c780e8939143f9d35b05d220b (diff) | |
download | genenetwork2-9baebb774e3cf05feca09b0ffe44a73db17bd4d2.tar.gz |
display_diffs: Use datatables for every table
-rw-r--r-- | wqflask/wqflask/templates/display_diffs.html | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/wqflask/wqflask/templates/display_diffs.html b/wqflask/wqflask/templates/display_diffs.html index edd889b5..c7921b3e 100644 --- a/wqflask/wqflask/templates/display_diffs.html +++ b/wqflask/wqflask/templates/display_diffs.html @@ -16,7 +16,7 @@ <h2>Additions Data:</h2> <div class="row"> <div class="col-md-8"> - <table class="table-responsive table-hover table-striped cell-border" id="table-approved"> + <table class="table-responsive table-hover table-striped cell-border" id="table-additions"> <thead> <th scope="col">Added Data</</th> </thead> @@ -37,7 +37,7 @@ <div class="row"> <div class="col-md-8"> - <table class="table-responsive table-hover table-striped cell-border" id="table-approved"> + <table class="table-responsive table-hover table-striped cell-border" id="table-modifications"> <thead> <th scope="col">Original</</th> <th scope="col">Current</</th> @@ -61,7 +61,7 @@ <h2>Deleted Data:</h2> <div class="row"> <div class="col-md-8"> - <table class="table-responsive table-hover table-striped cell-border" id="table-approved"> + <table class="table-responsive table-hover table-striped cell-border" id="table-deletions"> <thead> <th scope="col">Deleted Data</</th> </thead> @@ -87,10 +87,9 @@ gn_server_url = "{{ gn_server_url }}"; $(document).ready( function() { - $('#table-approved').dataTable(); - }) - $(document).ready( function() { - $('#table-rejected').dataTable(); - }) + $('#table-additions').dataTable(); + $('#table-modifications').dataTable(); + $('#table-deletions').dataTable(); + }); </script> {% endblock %} |