diff options
author | BonfaceKilz | 2020-04-25 22:52:54 +0300 |
---|---|---|
committer | BonfaceKilz | 2020-04-25 22:52:54 +0300 |
commit | ab1896d6be95875ce767124ac160b095cacb9883 (patch) | |
tree | e559b772577e2a2857afa172c0bab5b2fb21799e /bh20simplewebuploader/templates/form.html | |
parent | 686958488357f7dab385c2a62405a49b2cb15dfa (diff) | |
download | bh20-seq-resource-ab1896d6be95875ce767124ac160b095cacb9883.tar.gz bh20-seq-resource-ab1896d6be95875ce767124ac160b095cacb9883.tar.lz bh20-seq-resource-ab1896d6be95875ce767124ac160b095cacb9883.zip |
Remove unnecessary JS
Diffstat (limited to 'bh20simplewebuploader/templates/form.html')
-rw-r--r-- | bh20simplewebuploader/templates/form.html | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/bh20simplewebuploader/templates/form.html b/bh20simplewebuploader/templates/form.html index 7b1fd98..ea3caab 100644 --- a/bh20simplewebuploader/templates/form.html +++ b/bh20simplewebuploader/templates/form.html @@ -46,16 +46,16 @@ </div> <div class="metadata"> - <label>Select metadata submission method:</label> - <br> - <input type="radio" id="metadata_form" name="metadata_type" value="fill" onchange="setMode()" checked required> - <label for="metadata_form">Fill in metadata manually</label> - <input type="radio" id="metadata_upload" name="metadata_type" value="upload" onchange="setMode()" required> - <label for="metadata_upload">Upload metadata file</label> - <br> - <small>Make sure the metadata has submitter attribution details.</small> - - <div id="metadata_upload_form_spot"> + <label>Select metadata submission method:</label> + <br> + <input type="radio" id="metadata_form" name="metadata_type" value="fill" checked onchange="displayForm()" required> + <label for="metadata_form">Fill in metadata manually</label> + <input type="radio" id="metadata_upload" name="metadata_type" value="upload" onchange="displayForm()" required> + <label for="metadata_upload">Upload metadata file</label> + <br> + <small>Make sure the metadata has submitter attribution details.</small> + + <div id="metadata_upload_form_spot"> <div id="metadata_upload_form"> <br> <label for="metadata">Select JSON or YAML metadata file following <a href="https://github.com/arvados/bh20-seq-resource/blob/master/bh20sequploader/bh20seq-schema.yml" target="_blank">this schema</a> and <a href="https://github.com/arvados/bh20-seq-resource/blob/master/example/metadata.yaml" target="_blank">example</a> (max 50K):</label> @@ -63,9 +63,9 @@ <input type="file" id="metadata" name="metadata" accept=".json,.yml,.yaml" required> <br> </div> - </div> - </div> + </div> + </div> <div id="metadata_fill_form_spot"> <div id="metadata_fill_form"> {% for record in fields %} @@ -103,6 +103,7 @@ {% endif %} {% endfor %} </div> + </div> |