diff options
author | Frederick Muriuki Muriithi | 2024-07-25 11:07:33 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-07-25 14:34:09 -0500 |
commit | 754e8f214b940e05298cb360ed829f5c685d55a5 (patch) | |
tree | 62c2c5b601746621f0949b38937ad232f006dee2 /qc_app/templates/select_dataset.html | |
parent | de9e1b9fe37928b864bea28b408de6c14d04526b (diff) | |
download | gn-uploader-754e8f214b940e05298cb360ed829f5c685d55a5.tar.gz |
Rename module: qc_app --> uploader
Diffstat (limited to 'qc_app/templates/select_dataset.html')
-rw-r--r-- | qc_app/templates/select_dataset.html | 161 |
1 files changed, 0 insertions, 161 deletions
diff --git a/qc_app/templates/select_dataset.html b/qc_app/templates/select_dataset.html deleted file mode 100644 index 2f07de8..0000000 --- a/qc_app/templates/select_dataset.html +++ /dev/null @@ -1,161 +0,0 @@ -{%extends "base.html"%} -{%from "dbupdate_hidden_fields.html" import hidden_fields%} - -{%block title%}Select Dataset{%endblock%} - -{%block css%} -<link rel="stylesheet" href="/static/css/two-column-with-separator.css" /> -{%endblock%} - -{%block contents%} -<h2 class="heading">{{filename}}: select dataset</h2> - -<div class="row"> - <form method="POST" action="{{url_for('dbinsert.final_confirmation')}}" - id="select-dataset-form" class="two-col-sep-col1"> - <legend class="heading">choose existing dataset</legend> - {{hidden_fields( - filename, filetype, species=species, genechipid=genechipid, - studyid=studyid, totallines=totallines)}} - - <div class="form-group"> - <label for="datasetid" class="form-label">dataset:</label> - <select id="datasetid" name="datasetid" class="form-control" - {%if datasets | length == 0:%} - disabled="disabled" - {%endif%}> - {%for dataset in datasets:%} - <option value="{{dataset['Id']}}"> - [{{dataset["Name"]}}] - {{dataset["FullName"]}} - </option> - {%endfor%} - </select> - </div> - - <button type="submit" class="btn btn-primary" - {%if datasets | length == 0:%} - disabled="disabled" - {%endif%} />update database</button> -</form> -</div> - -<div class="row"> - <p class="two-col-sep-separator">OR</p> -</div> - -<div class="row"> - <form method="POST" id="create-dataset-form" - action="{{url_for('dbinsert.create_dataset')}}" - class="two-col-sep-col2"> - <legend class="heading">create new dataset</legend> - {{hidden_fields( - filename, filetype, species=species, genechipid=genechipid, - studyid=studyid, totallines=totallines)}} - - {%with messages = get_flashed_messages(with_categories=true)%} - {%if messages:%} - <ul> - {%for category, message in messages:%} - <li class="{{category}}">{{message}}</li> - {%endfor%} - </ul> - {%endif%} - {%endwith%} - - <div class="form-group"> - <label for="avgid" class="form-label">average:</label> - <select id="avgid" name="avgid" required="required" class="form-control"> - <option value="">Select averaging method</option> - {%for method in avgmethods:%} - <option value="{{method['AvgMethodId']}}" - {%if avgid is defined and method['AvgMethodId'] | int == avgid | int%} - selected="selected" - {%endif%}> - {{method["Name"]}} - </option> - {%endfor%} - </select> - </div> - - <div class="form-group"> - <label for="datasetname" class="form-label">name:</label> - <input id="datasetname" name="datasetname" type="text" - class="form-control" - {%if datasetname is defined %} - value="{{datasetname}}" - {%endif%} /> - </div> - - <div class="form-group"> - <label for="datasetname2" class="form-label">name 2:</label> - <input id="datasetname2" name="datasetname2" type="text" - required="required" class="form-control" - {%if datasetname2 is defined %} - value="{{datasetname2}}" - {%endif%} /> - </div> - - <div class="form-group"> - <label for="datasetfullname" class="form-label">full name:</label> - <input id="datasetfullname" name="datasetfullname" type="text" - required="required" class="form-control" - {%if datasetfullname is defined %} - value="{{datasetfullname}}" - {%endif%} /> - </div> - - <div class="form-group"> - <label for="datasetshortname" class="form-label">short name:</label> - <input id="datasetshortname" name="datasetshortname" type="text" - required="required" class="form-control" - {%if datasetshortname is defined %} - value="{{datasetshortname}}" - {%endif%} /> - </div> - - <div class="form-group"> - <label for="datasetpublic" class="form-label">public:</label> - <input id="datasetpublic" name="datasetpublic" type="number" - required="required" min="0" max="2" - {%if datasetpublic is defined %} - value="{{datasetpublic | int}}" - {%else%} - value="0" - {%endif%} - class="form-control" /> - </div> - - <div class="form-group"> - <label for="datasetconfidentiality">confidentiality:</label> - <input id="datasetconfidentiality" name="datasetconfidentiality" - type="number" required="required" min="0" max="2" - {%if datasetconfidentiality is defined %} - value="{{datasetconfidentiality | int}}" - {%else%} - value="0" - {%endif%} - class="form-control" /> - </div> - - <div class="form-group"> - <label for="datasetdatascale" class="form-label">data scale:</label> - <select id="datasetdatascale" name="datasetdatascale" class="form-control"> - <option value="">None</option> - {%for dscale in datascales:%} - <option value="{{dscale}}" - {%if datasetdatascale is defined and dscale == datasetdatascale%} - selected="selected" - {%elif dscale == "log2":%} - selected="selected" - {%endif%}> - {{dscale}} - </option> - {%endfor%} - </select> - </div> - - <button type="submit" class="btn btn-primary">create new dataset</button> - </form> -</div> - -{%endblock%} |