Mise à jour chemin vers les template Jinja renommés

This commit is contained in:
Pierrick C
2017-10-01 09:23:50 +02:00
parent 114e6a830b
commit 42dbc8e1b4
6 changed files with 35 additions and 35 deletions

View File

@ -1,9 +1,9 @@
{% extends "base.tpl" %}
{% extends "base.html.j2" %}
{% block title %}Camétéo{% endblock %}
{% block content %}
<div class="container">
</div>
{% endblock %}
{% endblock %}

View File

@ -1,4 +1,4 @@
{% extends "base.tpl" %}
{% extends "base.html.j2" %}
{% block title %}Camétéo{% endblock %}
{% block styles %}
@ -35,7 +35,7 @@
<td>{{ item.value }} {{ item.unit }}</td>
<td><a href="/sensor_id={{ item.sensor_id }}">{{ item.sensor_id }}</a></td>
</tr>
{%- endfor %}
{%- endfor %}
</tbody>
</table>
{{ render_pagination(dat) }}
@ -43,4 +43,4 @@
</div>
{{ plot_script|safe }}
{% endblock %}
{% endblock %}

View File

@ -1,4 +1,4 @@
{% extends "base.tpl" %}
{% extends "base.html.j2" %}
{% block title %}Camétéo{% endblock %}
{% block content %}
@ -28,10 +28,10 @@
<td>{{ item.value }} {{ item.unit }}</td>
<td><a href="/sensor_id={{ item.sensor_id }}">{{ item.sensor_id }}</a></td>
</tr>
{%- endfor %}
{%- endfor %}
</tbody>
</table>
{{ render_pagination(dat) }}
</div>
</div>
{% endblock %}
{% endblock %}

View File

@ -1,4 +1,4 @@
{% extends "base.tpl" %}
{% extends "base.html.j2" %}
{% block title %}Camétéo{% endblock %}
{% block content %}
@ -11,4 +11,4 @@
<p><a class="btn btn-primary btn-lg" href="/all_data" role="button">Voir les données...</a></p>
</div>
</div>
{% endblock %}
{% endblock %}

View File

@ -1,4 +1,4 @@
{% extends "base.tpl" %}
{% extends "base.html.j2" %}
{% block title %}Camétéo - Photos{% endblock %}
{% block content %}
@ -11,4 +11,4 @@
</div>
</div>
{% endblock %}
{% endblock %}