76 lines
2.5 KiB
Twig
76 lines
2.5 KiB
Twig
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
{% block meta %}
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
{% endblock %}
|
|
|
|
<title>
|
|
{% block title %}{% endblock %}
|
|
</title>
|
|
|
|
{% block stylesheets %}
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/fonts/inter/inter.css') }}">
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/fonts/manrope/manrope.css') }}">
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/base.css') }}">
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/reset.css') }}">
|
|
{% for stylesheet in show_stylesheets() %}
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/' ~ stylesheet) }}">
|
|
{% endfor %}
|
|
{% endblock %}
|
|
|
|
{% for arr in handle_event('ShowHeadElements', app.request) %}
|
|
{# Only one element, but has dynamic value, can't access it directly #}
|
|
{% for type, element in arr %}
|
|
<{{ type }} rel="{{ element['rel'] }}" type="{{ element['type'] }}" href="{{ element['href'] }}" title="{{ element['title'] }}">
|
|
{% endfor %}
|
|
{% endfor %}
|
|
</head>
|
|
<body>
|
|
{% block header %}
|
|
<div id='header'>
|
|
<nav id='instance'>
|
|
<a href="{{ path('main_public') }}">
|
|
{{ icon('logo', 'icon icon-logo') | raw }}
|
|
<h1> {{ config('site', 'name') }} </h1>
|
|
</a>
|
|
</nav>
|
|
</div>
|
|
{% endblock header %}
|
|
|
|
<div class="container">
|
|
<details class="panel" id="left-container">
|
|
<summary>
|
|
{{ icon('menu', 'icon icon-left') | raw }}
|
|
<div class="panel-desktop">
|
|
{{ block("leftpanel", "stdgrid.html.twig") }}
|
|
</div>
|
|
</summary>
|
|
<div class="panel-mobile">
|
|
{{ block("leftpanel", "stdgrid.html.twig") }}
|
|
</div>
|
|
</details>
|
|
|
|
|
|
{% block nav %}{% endblock %}
|
|
{% block body %}{% endblock %}
|
|
{% block javascripts %}{% endblock javascripts %}
|
|
|
|
<details class="panel" id="right-container">
|
|
<summary>
|
|
{{ icon('drop', 'icon icon-right') | raw }}
|
|
<div class="panel-desktop">
|
|
{{ block("rightpanel", "stdgrid.html.twig") }}
|
|
</div>
|
|
</summary>
|
|
<div class="panel-mobile">
|
|
{{ block("rightpanel", "stdgrid.html.twig") }}
|
|
</div>
|
|
</details>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|
|
|