Add dataset selection with validation

This commit is contained in:
2020-06-12 22:49:49 +02:00
parent e83f7a0271
commit bec6b19d1c
6 changed files with 31 additions and 21 deletions

View File

@@ -1,15 +1,12 @@
{% extends "base.html" %}
{% import 'bootstrap/wtf.html' as wtf %}
{% block content %}
<h1 class="text-center">How you like your data?</h1>
<li>
<p class="text-center">
<a href="{{ url_for('map_view') }}" class="btn btn-success" role="button" aria-pressed="true">Maps</a>
</p>
</li>
<li>
<p class="text-center">
<a href="{{ url_for('plot_view') }}" class="btn btn-success" role="button" aria-pressed="true">Plots</a>
</p>
</li>
{% block app_content %}
<h1>Select a dataset</h1>
<div class="row">
<div class="col-md-4">
{{ wtf.quick_form(form) }}
</div>
</div>
<br>
{% endblock %}