1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-29 02:34:20 +00:00

Add db tree image (SQLite edition)

This commit is contained in:
Steffo 2017-09-13 11:05:48 +02:00
parent a9b1db699a
commit e7dd17d408
2 changed files with 12 additions and 0 deletions

BIN
static/dbtree.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View file

@ -1,5 +1,9 @@
{% extends 'base.htm' %} {% extends 'base.htm' %}
{% block title %}Query • estus{% endblock %} {% block title %}Query • estus{% endblock %}
{% block extrahead %}
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha256-/SIrNqv8h6QGKDuNoLGA4iret+kyesCkHGzVUUV0shc=" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
{% endblock %}
{% block content %} {% block content %}
<div class="alert alert-warning"> <div class="alert alert-warning">
<b>Attenzione!</b> In questa pagina non è presente alcuna misura per prevenire SQL Injection. Eseguite le query a vostro <a href="https://xkcd.com/327/">rischio e pericolo</a>! <b>Attenzione!</b> In questa pagina non è presente alcuna misura per prevenire SQL Injection. Eseguite le query a vostro <a href="https://xkcd.com/327/">rischio e pericolo</a>!
@ -11,6 +15,14 @@
<span class="input-group-addon">;</span> <span class="input-group-addon">;</span>
</div> </div>
</form> </form>
<p>
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target="#database-structure">
Visualizza struttura database (SQLite)
</button>
</p>
<div id="database-structure" class="collapse">
<img src="{{ url_for('static', filename='dbtree.png') }}">
</div>
{% if result %} {% if result %}
<div class="panel panel-success"> <div class="panel panel-success">
<div class="panel-heading"> <div class="panel-heading">