1
0
mirror of https://github.com/ToxicCrack/PrintABrick.git synced 2025-05-28 09:40:14 -07:00
PrintABrick/app/Resources/views/base.html.twig
2017-04-05 19:49:30 +02:00

41 lines
1.3 KiB
Twig

{% import 'macros/elements.html.twig' as elements %}
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>{% block title %}Welcome!{% endblock %}</title>
{% block stylesheets %}
<link rel="stylesheet" href="{{ asset('resources/css/main.css') }}">
{% endblock %}
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" />
</head>
<body>
{% block body %}
<div class="ui fixed inverted menu">
{{ knp_menu_render('mainMenu') }}
</div>
<div class="ui main container">
{% for label, flashes in app.session.flashbag.all %}
{% for flash in flashes %}
{{ elements.flash(label,flash) }}
{% endfor %}
{% endfor %}
{% block content %}
{% endblock %}
</div>
{% endblock %}
{% block javascripts %}
<script type="text/javascript" src="{{ asset('resources/js/three.js') }}"></script>
<script type="text/javascript" src="{{ asset('resources/js/OrbitControls.js') }}"></script>
<script src="{{ asset('resources/js/main.js') }}"></script>
{% endblock %}
</body>
</html>