Add table querying via form

This commit is contained in:
2020-01-09 19:13:24 +01:00
parent 6caca22472
commit 1aac68473d
12 changed files with 141 additions and 42 deletions

View File

@@ -1,7 +1,16 @@
{% extends "base.html" %}
{% block content %}
<h1>Hey, {{ current_user.username }}!</h1>
Do you want to nuke the database?
<li><a href="{{ url_for('nuke') }}">Yes, I want to burn down the world</a></li>
<h1 class="text-center">Hey, {{ current_user.username }}!</h1>
<p class="text-center">Do you want to nuke the database?</p>
<li>
<p class="text-center">
<a href="{{ url_for('nuke') }}"><b>Yes</b>, I want to burn down the world</a>
</p>
</li>
<li>
<p class="text-center">
Nah, show me some cool <a href="{{ url_for('data') }}">data</a>
</p>
</li>
{% endblock %}