From 8b5400fa04d4ca2e60d7e926800816245e2ab809 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 14 Jul 2022 06:20:44 +0300 Subject: Enable creation of new dataset Enable the user to create a new dataset should the need arise. A few extra fixes were done, such as: - Provide list of average methods to choose from - Provide input elements for some expected fields - Add a new confirmation step before doing the actual data update --- qc_app/templates/select_dataset.html | 82 ++++++++++++++++++++++++++++++------ 1 file changed, 68 insertions(+), 14 deletions(-) (limited to 'qc_app/templates/select_dataset.html') diff --git a/qc_app/templates/select_dataset.html b/qc_app/templates/select_dataset.html index 59ead59..a16fc75 100644 --- a/qc_app/templates/select_dataset.html +++ b/qc_app/templates/select_dataset.html @@ -8,10 +8,10 @@ {%endblock%} {%block contents%} -

{{filename}}: select dataset

+

{{filename}}: select dataset

-
choose existing dataset {{hidden_fields( @@ -19,8 +19,8 @@ studyid=studyid)}}
- - @@ -44,37 +44,91 @@

OR

create new dataset {{hidden_fields( filename, filetype, species=species, genechipid=genechipid, studyid=studyid)}} + {%with messages = get_flashed_messages(with_categories=true)%} + {%if messages:%} +
    + {%for category, message in messages:%} +
  • {{message}}
  • + {%endfor%} +
+ {%endif%} + {%endwith%} +
- - + {%for method in avgmethods:%} + + {%endfor%}
- - + + +
+ +
+ + +
+ +
+ +
- - + +
- - + + +
+ +
+ + +
+ +
+ +
- - +
-- cgit v1.2.3