2020-04-04 17:33:48 +02:00
|
|
|
{% set assetCache = 'now'|date('dmyh') %}
|
2020-03-09 12:01:10 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
2020-04-04 17:33:48 +02:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
2020-03-10 09:36:21 +01:00
|
|
|
<title>{% block title %}Terrarium{% endblock %}</title>
|
2020-03-20 15:37:22 +01:00
|
|
|
<link rel="icon" type="image/png" href="{{ asset('favicon.png') }}" >
|
2020-03-10 09:36:21 +01:00
|
|
|
{% block css %}
|
2020-04-04 19:05:04 +02:00
|
|
|
<link rel="stylesheet" href="{{ asset('node_modules/bootstrap/dist/css/bootstrap.min.css') }}?v={{ assetCache }}">
|
|
|
|
<link rel="stylesheet" href="{{ asset('node_modules/chart.js/dist/Chart.min.css') }}?v={{ assetCache }}">
|
2020-04-04 17:33:48 +02:00
|
|
|
<link rel="stylesheet" href="{{ asset('assets/css/app.css') }}?v={{ assetCache }}">
|
2020-03-10 09:36:21 +01:00
|
|
|
{% endblock %}
|
2020-03-09 12:01:10 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
2020-04-04 17:33:48 +02:00
|
|
|
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
|
|
|
<a class="navbar-brand" href="{{ path('charts') }}">
|
|
|
|
<img src="{{ asset('assets/img/logo.svg') }}" height="28">
|
|
|
|
</a>
|
2020-03-10 09:36:21 +01:00
|
|
|
|
2020-04-04 17:33:48 +02:00
|
|
|
<button class="navbar-toggler navbar-burger" type="button">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
2020-03-21 18:39:12 +01:00
|
|
|
|
2020-04-04 17:33:48 +02:00
|
|
|
<div class="collapse navbar-collapse navbar-menu">
|
|
|
|
<ul class="navbar-nav">
|
|
|
|
<li class="nav-item {% if app.request.attributes.get('_route') == 'charts' %}active{% endif %}">
|
|
|
|
<a class="nav-link" href="{{ path('charts') }}">
|
|
|
|
Graphiques
|
|
|
|
</a>
|
|
|
|
</li>
|
2020-04-23 14:46:39 +02:00
|
|
|
<li class="nav-item {% if app.request.attributes.get('_route') == 'datas' %}active{% endif %}">
|
|
|
|
<a class="nav-link" href="{{ path('datas') }}">
|
|
|
|
Données
|
|
|
|
</a>
|
|
|
|
</li>
|
2020-04-04 17:33:48 +02:00
|
|
|
<li class="nav-item {% if app.request.attributes.get('_route') == 'camera' %}active{% endif %}">
|
|
|
|
<a class="nav-link" href="{{ path('camera') }}">
|
|
|
|
Caméra
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item {% if app.request.attributes.get('_route') == 'events' %}active{% endif %}">
|
|
|
|
<a class="nav-link" href="{{ path('events') }}">
|
|
|
|
Évènements
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2020-03-10 09:36:21 +01:00
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block js %}
|
2020-04-04 19:05:04 +02:00
|
|
|
<script src="{{ asset('node_modules/chart.js/dist/Chart.bundle.min.js') }}?v={{ assetCache }}"></script>
|
2020-04-04 17:33:48 +02:00
|
|
|
<script src="{{ asset('assets/js/app.js') }}?v={{ assetCache }}"></script>
|
2020-03-10 09:36:21 +01:00
|
|
|
{% endblock %}
|
2020-03-09 12:01:10 +01:00
|
|
|
</body>
|
|
|
|
</html>
|