Graphe fonctionnel avec bokeh pour les données par type (à améliorer, mais ça marche)

This commit is contained in:
Pierrick C
2017-10-01 18:14:12 +02:00
parent daf1053f7d
commit b5c32cfc15
3 changed files with 18 additions and 13 deletions

View File

@ -8,11 +8,11 @@
{% endblock %}
{% block navbar %}
{{nav.top.render()}}
{{nav.top.render()}}
{% endblock %}
{% block body %}
{{super()}}
<div class="footer">-- by arofarn --</div>
{% endblock %}
<div class="footer">-- by arofarn with the help of Flask --</div>
{% endblock %}

View File

@ -3,16 +3,18 @@
{% block styles %}
{{super()}}
{{ css_ressources }}
{{ js_ressources }}
{{ css_resources|safe }}
{{ js_resources|safe }}
{% endblock %}
{% block content %}
{% from "bootstrap/pagination.html" import render_pagination %}
<div class="container">
{{ plot_div|safe }}
<div id="graph"></div>
{{ render_pagination(dat) }}
<div class="table-responsive">
<table class="table table-hover">
<thead class="thead-inverse">
@ -41,6 +43,7 @@
{{ render_pagination(dat) }}
</div>
</div>
{{ plot_script|safe }}
{% endblock %}