From c32766556222b9f8167496268bc4011f77b60138 Mon Sep 17 00:00:00 2001 From: zsloan Date: Wed, 14 Oct 2020 14:43:23 -0500 Subject: Moved show_trait_statistics.html styling to show_trait.css and fixed a minor issue where not all figures had "Select Group:" before the group selection drop-down * wqflask/wqflask/static/new/css/show_trait.css - Moved styling from show_trait_statistic.html here * wqflask/wqflask/templates/show_trait_statistics.html - Replaced styling with classes, removed some unnecessary/unused styling, and added some missing label text --- wqflask/wqflask/static/new/css/show_trait.css | 14 +- .../wqflask/templates/show_trait_statistics.html | 247 ++++++++++----------- 2 files changed, 131 insertions(+), 130 deletions(-) (limited to 'wqflask') diff --git a/wqflask/wqflask/static/new/css/show_trait.css b/wqflask/wqflask/static/new/css/show_trait.css index 671b3cf7..ade7128c 100644 --- a/wqflask/wqflask/static/new/css/show_trait.css +++ b/wqflask/wqflask/static/new/css/show_trait.css @@ -83,6 +83,18 @@ table.dataTable tbody td.column_name-Value, table.dataTable tbody td.column_name text-align: right; } -.btn_toolbar { +div.btn_toolbar { margin-bottom:15px; +} + +div.padding-20 { + padding: 20px; +} + +table.left-float { + float: left; +} + +div.margin-b-40 { + margin-bottom:40px; } \ No newline at end of file diff --git a/wqflask/wqflask/templates/show_trait_statistics.html b/wqflask/wqflask/templates/show_trait_statistics.html index 7bdb3ef9..f7d93447 100644 --- a/wqflask/wqflask/templates/show_trait_statistics.html +++ b/wqflask/wqflask/templates/show_trait_statistics.html @@ -1,148 +1,137 @@
-
- - -
-
-
-
-
-
-
-
- {% if sample_groups|length != 1 %} - -

- {% endif %} -
-
-
-
+
+ +
+
+
+
- {% if num_values < 256 %} -
-
- {% if sample_groups|length != 1 %} - - {% endif %} - {% if sample_groups[0].attributes %} -
- -
- {% endif %} -
- - -
- -
-
-
+
+
+
+ {% if sample_groups|length != 1 %} + Select Group: + +

+ {% endif %} +
+
- {% endif %} -
-
- {% if sample_groups|length != 1 %} - Select Group: - + {% for group, pretty_group in sample_group_types.items() %} + + {% endfor %} + + {% endif %} + {% if sample_groups[0].attributes %} +
+ -
-
- {% endif %} - -
-
-
-
-
- More about Normal Probability Plots and more - about interpreting these plots from the glossary -
-
- -
-
-
-
+ {% endif %} +
+ +
-
-
-
-
+
+
-
- -
- - +
+ {% endif %} +
+
+ {% if sample_groups|length != 1 %} + Select Group: + +
+
+ {% endif %} + +
+
-
-
+
+
+ More about Normal Probability Plots and more + about interpreting these plots from the glossary
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
- +
-
-- cgit v1.2.3