2019-04-02 11:26:41 +02:00
|
|
|
{% set color = app.session.get('color') %}
|
|
|
|
|
2018-12-18 09:44:39 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
|
|
|
|
{{ include('@CadolesCore/Include/head.html.twig') }}
|
|
|
|
|
2019-03-13 17:30:41 +01:00
|
|
|
<style>
|
|
|
|
{% block localstyle %}
|
2019-04-02 11:26:41 +02:00
|
|
|
|
2019-03-13 17:30:41 +01:00
|
|
|
{% endblock %}
|
|
|
|
</style>
|
|
|
|
|
2019-04-05 11:52:31 +02:00
|
|
|
{% if maxwidth is defined and maxwidth %}
|
|
|
|
{% set bodystyle="simple" %}
|
|
|
|
{% elseif useheader %}
|
|
|
|
{% set bodystyle="body" %}
|
|
|
|
{% else %}
|
|
|
|
{% set bodystyle="simple" %}
|
|
|
|
{% endif %}
|
|
|
|
<body class="{{ bodystyle }}">
|
2018-12-18 09:44:39 +01:00
|
|
|
<div id="wrapper">
|
2019-04-05 11:52:31 +02:00
|
|
|
{% if useheader %}
|
|
|
|
{{ render(url("cadoles_core_checkuser")) }}
|
|
|
|
{% endif %}
|
|
|
|
|
2019-04-02 11:26:41 +02:00
|
|
|
{% if app.session.get('fgheader') %}
|
|
|
|
{% if useheader %}
|
|
|
|
<div class="header" style="height:{{ app.session.get('heightheader') }}px; background-image: linear-gradient(90deg,rgba({{ color['mainrgb']['r'] }},{{ color['mainrgb']['g'] }},{{ color['mainrgb']['b'] }},1),rgba({{ color['mainrgb']['r'] }},{{ color['mainrgb']['g'] }},{{ color['mainrgb']['b'] }},0.1)),url(/{{ alias }}/{{ app.session.get('header') }});">
|
2019-04-05 11:52:31 +02:00
|
|
|
<a class="title" style="cursor: pointer" href="{{ path("cadoles_core_home") }}">
|
2019-04-02 11:26:41 +02:00
|
|
|
<img id="logo" src="/{{ alias }}/{{ app.session.get('logo') }}" style="height:{{ app.session.get('heightheader')-20 }}px;">
|
|
|
|
<span style="height:{{ app.session.get('heightheader')}}px; line-height:{{ app.session.get('heightheader')}}px;">{{ app.session.get('appname') }}</span>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<div class="navbar-header">
|
|
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
|
|
|
<span class="sr-only">Toggle navigation</span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<ul class="nav navbar-top-links navbar-right">
|
2019-04-05 11:52:31 +02:00
|
|
|
{% if mustread is not defined %}
|
|
|
|
{{ include('@CadolesCore/Include/menu.html.twig') }}
|
|
|
|
{% endif %}
|
2019-04-02 11:26:41 +02:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2018-12-18 09:44:39 +01:00
|
|
|
|
2019-04-02 11:26:41 +02:00
|
|
|
<!-- Navigation -->
|
2019-03-21 17:15:06 +01:00
|
|
|
{% if useheader %}
|
2019-04-02 11:26:41 +02:00
|
|
|
<nav class="navbarsmall navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0;{% if app.session.get('fgheader') %} display:none; {% endif %}">
|
|
|
|
<div class="navbar-header">
|
|
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
|
|
|
<span class="sr-only">Toggle navigation</span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<a class="navbar-brand" href="{{ path("cadoles_core_home") }}">
|
|
|
|
<img id="logo" src="/{{ alias }}/{{ app.session.get('logo') }}">
|
|
|
|
{{ app.session.get('appname') }}
|
|
|
|
</a>
|
|
|
|
</div>
|
2019-04-05 11:52:31 +02:00
|
|
|
|
2019-04-02 11:26:41 +02:00
|
|
|
<ul class="nav navbar-top-links navbar-right">
|
2019-04-05 11:52:31 +02:00
|
|
|
{% if mustread is not defined %}
|
|
|
|
{{ include('@CadolesCore/Include/menu.html.twig') }}
|
|
|
|
{% endif %}
|
2019-04-02 11:26:41 +02:00
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if usemenu %}
|
2019-04-05 11:52:31 +02:00
|
|
|
<nav id="appmenu" class="navbarheader navbar navbar-default navbar-static-top navbar-collapse" role="navigation" style="margin-bottom: 0">
|
2019-04-02 11:26:41 +02:00
|
|
|
{% block appmenu %}
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
</nav>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if usesidebar %}
|
|
|
|
<nav>
|
|
|
|
<div class="navbar-default sidebar" role="navigation">
|
|
|
|
<div class="sidebar-nav navbar-collapse">
|
|
|
|
<ul class="nav in" id="side-menu">
|
|
|
|
{% block sidebar %}
|
|
|
|
{{ include('@CadolesCore/Include/sidebar.html.twig') }}
|
|
|
|
{% endblock %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-04-05 11:52:31 +02:00
|
|
|
<div id="page-wrapper" style="min-height:1200px; {% if not usesidebar %} margin:0px; {% endif %} {% if maxwidth is defined and maxwidth %} max-width:1200px; margin:auto;{% endif %}">
|
2018-12-18 09:44:39 +01:00
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row">
|
2019-03-21 17:15:06 +01:00
|
|
|
|
2019-04-02 11:26:41 +02:00
|
|
|
{% block pagewrapper %}
|
2018-12-18 09:44:39 +01:00
|
|
|
|
2019-04-02 11:26:41 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
2018-12-18 09:44:39 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-03-12 14:50:57 +01:00
|
|
|
|
2018-12-18 09:44:39 +01:00
|
|
|
{{ include('@CadolesCore/Include/footer.html.twig') }}
|
|
|
|
|
|
|
|
<script>
|
|
|
|
{% block localjavascript %}
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|