From 36d2cbc96bd5219e044ce1728f750ceefd0fa5f6 Mon Sep 17 00:00:00 2001 From: zsloan Date: Wed, 6 Apr 2022 19:10:20 +0000 Subject: Changed some styling for the edit_phenotype template --- .../wqflask/static/new/css/bootstrap-custom.css | 4 + wqflask/wqflask/templates/edit_phenotype.html | 401 +++++++++++---------- 2 files changed, 205 insertions(+), 200 deletions(-) diff --git a/wqflask/wqflask/static/new/css/bootstrap-custom.css b/wqflask/wqflask/static/new/css/bootstrap-custom.css index a0d3ff6a..007dcc44 100644 --- a/wqflask/wqflask/static/new/css/bootstrap-custom.css +++ b/wqflask/wqflask/static/new/css/bootstrap-custom.css @@ -3349,6 +3349,10 @@ select[multiple].form-group-lg .form-control { text-align: right; } +.form-horizontal .control-label.text-left{ + text-align: left; +} + .form-horizontal .has-feedback .form-control-feedback { right: 15px; } diff --git a/wqflask/wqflask/templates/edit_phenotype.html b/wqflask/wqflask/templates/edit_phenotype.html index 5458247e..af6fcd98 100644 --- a/wqflask/wqflask/templates/edit_phenotype.html +++ b/wqflask/wqflask/templates/edit_phenotype.html @@ -11,232 +11,233 @@ {% endfor %} {% endif %} {% endwith %} - +
+ -{% if diff %} + {% if diff %} -
-
- -

Update History

-
- - - - - - - - - {% set ns = namespace(display_cell=True) %} +
+
+ +

Update History

+
+
TimestampEditorFieldDiff
+ + + + + + + + {% set ns = namespace(display_cell=True) %} - {% for timestamp, group in diff %} - {% set ns.display_cell = True %} - {% for i in group %} - - {% if ns.display_cell and i.timestamp == timestamp %} - - {% set author = i.author %} - {% set timestamp_ = i.timestamp %} + {% for timestamp, group in diff %} + {% set ns.display_cell = True %} + {% for i in group %} + + {% if ns.display_cell and i.timestamp == timestamp %} - {% else %} + {% set author = i.author %} + {% set timestamp_ = i.timestamp %} - {% set author = "" %} - {% set timestamp_ = "" %} + {% else %} - {% endif %} - - - - - {% set ns.display_cell = False %} - - {% endfor %} - {% endfor %} - -
TimestampEditorFieldDiff
{{ timestamp_ }}{{ author }}{{ i.diff.field }}
{{ i.diff.diff }}
-
+ {% set author = "" %} + {% set timestamp_ = "" %} -
+ {% endif %} + {{ timestamp_ }} + {{ author }} + {{ i.diff.field }} +
{{ i.diff.diff }}
+ {% set ns.display_cell = False %} + + {% endfor %} + {% endfor %} + + + -{% endif %} -
-

Trait Information:

-
- - -
- - -
-
-
- -
- - -
-
-
- -
- - + + {% endif %} + +
+ + +
+ + +
-
-
- -
- - +
+ +
+ + +
+
-
-
- -
- - +
+ +
+ + +
-
-
- -
- - +
+ +
+ + +
-
-
- -
- - +
+ +
+ + +
-
-
- -
- - +
+ +
+ + +
-
-
- -
- - +
+ +
+ + +
-
-
- -
- - +
+ +
+ + +
-
-
- -
- - +
+ +
+ + +
-
-
- -
- - +
+ +
+ + +
-
-
- -
- - +
+ +
+ + +
-
-
- -
- - +
+ +
+ + +
-
-
- -
- - +
+ +
+ + +
-
-
- -
- - +
+ +
+ + +
-
-
- -
- - +
+ +
+ + +
-
-
- -
- - +
+ +
+ + +
-
-
- -
- - +
+ +
+ + +
-
- -
- -
-
-

- Note: Current allowable sample headers are: {{ ', '.join(headers) }} -

-
-
- - - - - -
- +
+ +
+ + +
+
+
+ +
+ + +
+
+ +
+ +
+
+

+ Note: Current allowable sample headers are: {{ ', '.join(headers) }} +

+
+
+ + + + + +
+ +
{%endblock%} -- cgit v1.2.3