From d1ef84a3ba6312a53076d40ee899933172866477 Mon Sep 17 00:00:00 2001
From: zsloan
Date: Mon, 14 Dec 2020 12:42:58 -0600
Subject: Added a template for the tool bottons on the search result,
correlation, and collection pages (since the buttons are the same and it's
redundant currently)
---
wqflask/wqflask/templates/collections/view.html | 36 +---------------------
wqflask/wqflask/templates/correlation_page.html | 36 +---------------------
wqflask/wqflask/templates/search_result_page.html | 37 +----------------------
wqflask/wqflask/templates/tool_buttons.html | 35 +++++++++++++++++++++
4 files changed, 38 insertions(+), 106 deletions(-)
create mode 100644 wqflask/wqflask/templates/tool_buttons.html
diff --git a/wqflask/wqflask/templates/collections/view.html b/wqflask/wqflask/templates/collections/view.html
index 99a6f2de..66945ed7 100644
--- a/wqflask/wqflask/templates/collections/view.html
+++ b/wqflask/wqflask/templates/collections/view.html
@@ -28,41 +28,7 @@
{{ this_trait.name }}:{{ this_trait.dataset.name }}:{{ data_hmac('{}:{}'.format(this_trait.name, this_trait.dataset.name)) }},
{% endfor %}" >
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ {% include 'tool_buttons.html' %}
diff --git a/wqflask/wqflask/templates/correlation_page.html b/wqflask/wqflask/templates/correlation_page.html
index 7acccc25..49b2bf26 100644
--- a/wqflask/wqflask/templates/correlation_page.html
+++ b/wqflask/wqflask/templates/correlation_page.html
@@ -33,41 +33,7 @@
{{ this_trait.name }}:{{ this_trait.dataset }},
{% endfor %}" >
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ {% include 'tool_buttons.html' %}
diff --git a/wqflask/wqflask/templates/search_result_page.html b/wqflask/wqflask/templates/search_result_page.html
index 3be2e395..92f14ade 100644
--- a/wqflask/wqflask/templates/search_result_page.html
+++ b/wqflask/wqflask/templates/search_result_page.html
@@ -75,42 +75,7 @@
{{ this_trait.name }}:{{ this_trait.dataset }},
{% endfor %}" >
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ {% include 'tool_buttons.html' %}
diff --git a/wqflask/wqflask/templates/tool_buttons.html b/wqflask/wqflask/templates/tool_buttons.html
new file mode 100644
index 00000000..5b2dbf3d
--- /dev/null
+++ b/wqflask/wqflask/templates/tool_buttons.html
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
--
cgit v1.2.3