mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
122 lines
4.2 KiB
Twig
122 lines
4.2 KiB
Twig
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<title>{{ installation.name }} - {% block title %}{% endblock %}</title>
|
|
<link rel="shortcut icon" href="{{ asset('build/images/favicon.ico') }}" type="image/x-icon">
|
|
|
|
{{ encore_entry_link_tags('mod_bootstrap') }}
|
|
{{ encore_entry_link_tags('mod_forkawesome') }}
|
|
{{ encore_entry_link_tags('mod_ckeditor5') }}
|
|
{{ encore_entry_link_tags('chill') }}
|
|
{% block css%}<!-- nothing added to css -->
|
|
<style>
|
|
.confidential{
|
|
display: flex;
|
|
}
|
|
.toggle{
|
|
margin-left: auto;
|
|
margin-right: 100px;
|
|
}
|
|
.blur {
|
|
-webkit-filter: blur(5px);
|
|
-moz-filter: blur(5px);
|
|
filter: blur(5px);
|
|
}
|
|
</style>
|
|
{% endblock %}
|
|
</head>
|
|
|
|
<body>
|
|
{% if responsive_debug is defined and responsive_debug == 1 %}
|
|
{{ include('@ChillMain/Layout/_debug.html.twig') }}
|
|
{% endif %}
|
|
|
|
{{ include('@ChillMain/Layout/_header.html.twig') }}
|
|
|
|
{% block top_banner %}{#
|
|
To use if you want to add a banner below the header (ie the menu)
|
|
#}{% endblock %}
|
|
|
|
<div class="content" id="content">
|
|
<div class="container-xxl">
|
|
|
|
{% block sublayout_content %}
|
|
<div class="row justify-content-center my-5">
|
|
|
|
{# Flash messages ! #}
|
|
{% if app.session.flashbag.keys()|length > 0 %}
|
|
<div class="col-8 mb-5 flash_message">
|
|
|
|
{% for flashMessage in app.session.flashbag.get('success') %}
|
|
<div class="alert alert-success flash_message">
|
|
<span>{{ flashMessage|raw }}</span>
|
|
</div>
|
|
{% endfor %}
|
|
|
|
{% for flashMessage in app.session.flashbag.get('error') %}
|
|
<div class="alert alert-danger flash_message">
|
|
<span>{{ flashMessage|raw }}</span>
|
|
</div>
|
|
{% endfor %}
|
|
|
|
{% for flashMessage in app.session.flashbag.get('notice') %}
|
|
<div class="alert alert-warning flash_message">
|
|
<span>{{ flashMessage|raw }}</span>
|
|
</div>
|
|
{% endfor %}
|
|
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% block content %}
|
|
<div class="col-8 main_search">
|
|
<h2>{{ 'Search'|trans }}</h2>
|
|
|
|
<form action="{{ path('chill_main_search') }}" method="get">
|
|
<input class="form-control form-control-lg" name="q" type="search" placeholder="{{ 'Search persons, ...'|trans }}" />
|
|
<center>
|
|
<button type="submit" class="btn btn-lg btn-warning mt-3">
|
|
<i class="fa fa-fw fa-search"></i> {{ 'Search'|trans }}
|
|
</button>
|
|
</center>
|
|
</form>
|
|
</div>
|
|
<div class="col-8">
|
|
<a href="{{ path('chill_crud_aside_activity_new', {'type' : 7, 'duration' : '600', 'note' : 'Pas des remarques' }) }}"><div class="bloc btn btn-success btn-md btn-block">Appel téléphonique</div></a>
|
|
</div>
|
|
|
|
{{ chill_widget('homepage', {} ) }}
|
|
{% endblock %}
|
|
|
|
</div>
|
|
{% endblock %}
|
|
|
|
</div>
|
|
</div>
|
|
|
|
{{ include('@ChillMain/Layout/_footer.html.twig') }}
|
|
|
|
{{ encore_entry_script_tags('mod_bootstrap') }}
|
|
{{ encore_entry_script_tags('mod_forkawesome') }}
|
|
{{ encore_entry_script_tags('mod_ckeditor5') }}
|
|
{{ encore_entry_script_tags('chill') }}
|
|
|
|
<script type="text/javascript">
|
|
window.addEventListener('DOMContentLoaded', function(e) {
|
|
chill.checkOtherValueOnChange();
|
|
$('.select2').select2({
|
|
allowClear: true,
|
|
theme: "bootstrap"
|
|
});
|
|
chill.categoryLinkParentChildSelect();
|
|
});
|
|
</script>
|
|
|
|
{% block js%}<!-- nothing added to js -->{% endblock %}
|
|
</body>
|
|
</html>
|