You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
739 B

{% extends "base.html" %}
{% block content %}
<h2>Batch Upload Chemicals</h2>
<a
href="https://git.junickim.me/junikimm717/walker-database/raw/master/validate.py">
Source Code with required type definitions (shows which fields are optional) </a>
<br>
<a href="{{ url_for ('static', filename='upload.txt')}}">Sample TSV file to upload</a>
<form method="post" enctype="multipart/form-data">
<label for="input"> Input file (tab delimited text file) </label>
<input type="file" name="input">
<input type="submit" value="Submit">
</form>
{% if invalid %}
<p style="color: red;">Data Points are Incorrectly added: {{invalid}}</p>
{% endif %}
{% if success %}
<p style="color: green;">Success!</p>
{% endif %}
{% endblock %}