diff options
Diffstat (limited to 'pollutometer-php/app/Resources/views/base.html.twig')
-rw-r--r-- | pollutometer-php/app/Resources/views/base.html.twig | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pollutometer-php/app/Resources/views/base.html.twig b/pollutometer-php/app/Resources/views/base.html.twig new file mode 100644 index 0000000..f8d8374 --- /dev/null +++ b/pollutometer-php/app/Resources/views/base.html.twig @@ -0,0 +1,33 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="UTF-8" /> + <title>{% block title %}Welcome!{% endblock %}</title> + {% block stylesheets %}{% endblock %} + <link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" /> + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.6.1/css/bulma.min.css"/> + </head> + <body> + <nav class="navbar" role="navigation" aria-label="main navigation" style="margin: 0 0 3em 0"> + <div class="navbar-brand"> + <a class="navbar-item" href="/"> + <img src="https://cdn3.iconfinder.com/data/icons/christmas-icon-set-pixel-perfect/64/christmas-color-12-512.png" alt="Pollutometer" width="50px" height="auto"> + <span>Pollutometer</span> + </a> + <a class="navbar-item" href="/AllData"> + <span>All Data</span> + </a> + <a class="navbar-item" href="/LastWeekData"> + <span>Last Week Data</span> + </a> + <a class="navbar-item" href="/TrainSchedule"> + <span>Train Schedule</span> + </a> + </div> + </nav> + <div class="container"> + {% block body %}{% endblock %} + </div> + {% block javascripts %}{% endblock %} + </body> +</html> |