aboutsummaryrefslogtreecommitdiff
path: root/qc_app/templates/select_dataset.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-07-07 13:09:29 +0300
committerFrederick Muriuki Muriithi2022-07-07 13:09:29 +0300
commitfdec747a0a33a96aefb3cc8d2e8717f13bea6c20 (patch)
tree4fcb1b3d0e532e286fecc5a646ee13ffb9db6533 /qc_app/templates/select_dataset.html
parentb367d04c57b21c0a9e2da22e8b20404de076768d (diff)
downloadgn-uploader-fdec747a0a33a96aefb3cc8d2e8717f13bea6c20.tar.gz
Rework styling for form elements
Diffstat (limited to 'qc_app/templates/select_dataset.html')
-rw-r--r--qc_app/templates/select_dataset.html20
1 files changed, 11 insertions, 9 deletions
diff --git a/qc_app/templates/select_dataset.html b/qc_app/templates/select_dataset.html
index db48694..4846f2c 100644
--- a/qc_app/templates/select_dataset.html
+++ b/qc_app/templates/select_dataset.html
@@ -10,10 +10,11 @@
data-menu-content="{{menu_contents}}"
data-genechips="{{genechips_data}}">
<input type="hidden" name="filename" value="{{filename}}" />
+ <input type="hidden" name="filetype" value="{{filetype}}" />
<fieldset>
- <label for="species">species:</label>
- <select id="species" name="species">
+ <label for="species" class="form-col-1">species:</label>
+ <select id="species" name="species" class="form-col-2">
{%for row in species:%}
<option value="{{row[0]}}"
{%if row[0] == default_species:%}
@@ -26,8 +27,8 @@
</fieldset>
<fieldset>
- <label for="group">group:</label>
- <select id="group" name="group">
+ <label for="group" class="form-col-1">group:</label>
+ <select id="group" name="group" class="form-col-2">
{%for grouping, grps in groups.items():%}
<optgroup label="{{grouping}}">
{%for group in grps:%}
@@ -39,8 +40,8 @@
</fieldset>
<fieldset>
- <label for="type">type:</label>
- <select id="type" name="type">
+ <label for="type" class="form-col-1">type:</label>
+ <select id="type" name="type" class="form-col-2">
{%for grouping, typs in types.items():%}
<optgroup label="{{grouping}}">
{%for type in typs:%}
@@ -52,8 +53,8 @@
</fieldset>
<fieldset>
- <label for="dataset">dataset:</label>
- <select id="dataset" name="dataset">
+ <label for="dataset" class="form-col-1">dataset:</label>
+ <select id="dataset" name="dataset" class="form-col-2">
{%for dataset_id, name1, name2 in datasets:%}
<option value="{{dataset_id}}">[{{name1}}] {{name2}}</option>
{%endfor%}
@@ -92,7 +93,8 @@
</table>
<fieldset>
- <input type="submit" class="btn btn-main" value="update database" />
+ <input type="submit" class="btn btn-main form-col-2"
+ value="update database" />
</fieldset>
</form>