From 794b176384dbe5a8c837a913f9a86f4d36adadcd Mon Sep 17 00:00:00 2001 From: zsloan Date: Tue, 13 Oct 2020 16:41:32 -0500 Subject: Added styling from show_trait_details.html to show_trait.css * wqflask/wqflask/static/new/css/show_trait.css - Added the bottom margin styling for the div containing the buttons * wqflask/wqflask/templates/show_trait_details.html - Removed some unnecessary styling and moved the styling for .btn_toolbar to show_trait.css --- wqflask/wqflask/static/new/css/show_trait.css | 4 ++++ wqflask/wqflask/templates/show_trait_details.html | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/wqflask/wqflask/static/new/css/show_trait.css b/wqflask/wqflask/static/new/css/show_trait.css index a9e85ee7..671b3cf7 100644 --- a/wqflask/wqflask/static/new/css/show_trait.css +++ b/wqflask/wqflask/static/new/css/show_trait.css @@ -81,4 +81,8 @@ table.dataTable tbody td.column_name-PlusMinus { table.dataTable tbody td.column_name-Value, table.dataTable tbody td.column_name-SE, table.dataTable tbody td.column_name-num_cases { text-align: right; +} + +.btn_toolbar { + margin-bottom:15px; } \ No newline at end of file diff --git a/wqflask/wqflask/templates/show_trait_details.html b/wqflask/wqflask/templates/show_trait_details.html index 4aced50c..d2999eef 100644 --- a/wqflask/wqflask/templates/show_trait_details.html +++ b/wqflask/wqflask/templates/show_trait_details.html @@ -1,20 +1,20 @@ -
Group | +Group | {{ this_trait.dataset.group.species[0]|upper }}{{ this_trait.dataset.group.species[1:] }}: {{ this_trait.dataset.group.name }} group |
Phenotype | -{{ this_trait.description_fmt }} |
+ {{ this_trait.description_fmt }} |
Authors | -{{ this_trait.authors }} |
+ {{ this_trait.authors }} |
Title | -{{ this_trait.title }} |
+ {{ this_trait.title }} |
Journal | @@ -213,7 +213,7 @@ {% endif %}