You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
202 lines
10 KiB
202 lines
10 KiB
{#
|
|
/**
|
|
* @file
|
|
* Theme override to display a single page.
|
|
*
|
|
* The doctype, html, head and body tags are not in this template. Instead they
|
|
* can be found in the html.html.twig template in this directory.
|
|
*
|
|
* Available variables:
|
|
*
|
|
* General utility variables:
|
|
* - base_path: The base URL path of the Drupal installation. Will usually be
|
|
* "/" unless you have installed Drupal in a sub-directory.
|
|
* - is_front: A flag indicating if the current page is the front page.
|
|
* - logged_in: A flag indicating if the user is registered and signed in.
|
|
* - is_admin: A flag indicating if the user has permission to access
|
|
* administration pages.
|
|
*
|
|
* Site identity:
|
|
* - front_page: The URL of the front page. Use this instead of base_path when
|
|
* linking to the front page. This includes the language domain or prefix.
|
|
*
|
|
* Page content (in order of occurrence in the default page.html.twig):
|
|
* - node: Fully loaded node, if there is an automatically-loaded node
|
|
* associated with the page and the node ID is the second argument in the
|
|
* page's path (e.g. node/12345 and node/12345/revisions, but not
|
|
* comment/reply/12345).
|
|
*
|
|
* Regions:
|
|
* - page.header: Items for the header region.
|
|
* - page.primary_menu: Items for the primary menu region.
|
|
* - page.secondary_menu: Items for the secondary menu region.
|
|
* - page.highlighted: Items for the highlighted content region.
|
|
* - page.help: Dynamic help text, mostly for admin pages.
|
|
* - page.content: The main content of the current page.
|
|
* - page.sidebar_first: Items for the first sidebar.
|
|
* - page.sidebar_second: Items for the second sidebar.
|
|
* - page.footer: Items for the footer region.
|
|
* - page.breadcrumb: Items for the breadcrumb region.
|
|
*
|
|
* @see template_preprocess_page()
|
|
* @see html.html.twig
|
|
*/
|
|
#}
|
|
<!-- ============================================================== -->
|
|
<!-- Topbar header - style you can find in pages.scss -->
|
|
<!-- ============================================================== -->
|
|
{% include '@pleiadebv/templates/layout/parts/header.html.twig' %}
|
|
<!-- ============================================================== -->
|
|
<!-- End Topbar header -->
|
|
<!-- ============================================================== -->
|
|
|
|
|
|
<!-- ============================================================== -->
|
|
<!-- Left Sidebar - style you can find in sidebar.scss -->
|
|
<!-- ============================================================== -->
|
|
{% include '@pleiadebv/templates/layout/parts/left-sidebar.html.twig' %}
|
|
<!-- ============================================================== -->
|
|
<!-- End Left Sidebar - style you can find in sidebar.scss -->
|
|
<!-- ============================================================== -->
|
|
|
|
<!-- ============================================================== -->
|
|
<!-- Page wrapper -->
|
|
<!-- ============================================================== -->
|
|
<div class="page-wrapper">
|
|
<!-- ============================================================== -->
|
|
<!-- ChatBOt -->
|
|
<!-- ============================================================== -->
|
|
{% if have_chatbot %}
|
|
<script src="https://account.snatchbot.me/script.js"></script>
|
|
<script>window.sntchChat.Init({{ bot_id }})</script>
|
|
{# <script src="https://account.snatchbot.me/share-bot-widget.js" host="https://account.snatchbot.me" apikey="{{ apiKey }}"></script> #}
|
|
{% endif %}
|
|
|
|
<!-- ============================================================== -->
|
|
<!-- Bread crumb ou demo avec menu collectivité -->
|
|
<!-- ============================================================== -->
|
|
{# {% include '@pleiadebv/templates/layout/parts/demo/breadcrumb-demo.html.twig' %} #}
|
|
<!-- ============================================================== -->
|
|
<!-- End Bread crumb ou demo avec menu collectivité -->
|
|
<!-- ============================================================== -->
|
|
<!-- ============================================================== -->
|
|
<!-- Div pour message d'avertissement -->
|
|
<!-- ============================================================== -->
|
|
{% if message_enabled %}
|
|
<div class="message_avertissement"></div>
|
|
{% endif %}
|
|
<!-- ============================================================== -->
|
|
<!-- ============================================================== -->
|
|
<!-- Container fluid -->
|
|
<!-- ============================================================== -->
|
|
<div class="container-fluid" class="container-fluid">
|
|
|
|
|
|
<!-- ============================================================== -->
|
|
<!-- Sortable area attempt with SortableJS in api_lemon_module -->
|
|
<!-- ============================================================== -->
|
|
<div id="areaSortable" class="row">
|
|
<!-- Div pour message d'actus -->
|
|
{% if actu_enabled %}
|
|
<div class="actualites"></div>
|
|
<!-- ============================================================== -->
|
|
{% endif %}
|
|
<!-- ==================== Block I-parapheur ================== -->
|
|
{# <div class="iparapheur col-8 d-flex align-self-stretch" id="iparapheur_block_id"></div> #}
|
|
{% if zimbra_enabled %}
|
|
<!-- ==================== Block Zimbra mails ================== -->
|
|
<div id="zimbra_block_id" class="d-flex justify-content-between mb-2 align-items-center">
|
|
<div id="zimbra_block_agenda_id" class="col-4 shadow-sm h-100 d-flex justify-content-center"></div>
|
|
<div id="zimbra_block_mail_id" class="col-8 h-100 shadow-sm"></div>
|
|
</div>
|
|
{% endif %}
|
|
|
|
<!-- ==================== Moodle Courses ================== -->
|
|
{% if lemon_enabled and lemonBlockId %}
|
|
<!-- ==================== Block Lemon Apps ================== -->
|
|
<div id="lemon_block_id"></div>
|
|
{% endif %}
|
|
{# </div>
|
|
<div class="row"> #}
|
|
{% if pastell_enabled or nextcloud_enabled %}
|
|
|
|
<!-- ==================== Block Pastell Documents ================== -->
|
|
<div id="document_recent_id"></div>
|
|
{% endif %}
|
|
<!-- ==================== Block Post-IT ================== -->
|
|
{% if post_it_enabled %}
|
|
<div id="postit_block_id">
|
|
<div class="card">
|
|
<div class="card-header rounded-top bg-white rounded-top d-flex justify-content-between align-items-center">
|
|
<h4 class="card-title text-dark py-2">Tableau Post-it</h4>
|
|
<button class="btn_collapse" style="font-size=12px;" data-bs-toggle="collapse" data-bs-target="#post_it_dashboard" aria-expanded="false" aria-controls="post_it_dashboard">
|
|
-
|
|
</button>
|
|
</div>
|
|
<div class="card-body" id="post_it_dashboad">
|
|
<div class="post_it_form">
|
|
<form id="myForm">
|
|
<div class="input-group">
|
|
<span class="input-group-text">Message</span>
|
|
<textarea class="form-control no-resize" aria-label="message" id="message" name="message"></textarea>
|
|
</div>
|
|
<div class="input-group">
|
|
<span class="input-group-text">Couleur du post-it</span>
|
|
<input type="color" id="color" name="color" value="#FFFFFF">
|
|
</div>
|
|
<button type="submit" id="submit_post_it" class="btn btn-primary">Créer un post-it</button>
|
|
</form>
|
|
<button id="delete-button" class="btn btn-danger">Tout supprimer</button>
|
|
</div>
|
|
<div id="post_it_dashboard" class="collapse"></div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
{% if moodle_enabled and moodleBlockId %}
|
|
<div id="moodle_courses"></div>
|
|
{% endif %}
|
|
{% if humhub_enabled %}
|
|
<div id="humhub_block"></div>
|
|
{% endif %}
|
|
{% if guide_utilisateur_enabled %}
|
|
<div id="guide_utilisateur"></div>
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
<!-- ============================================================== -->
|
|
<!-- End Recréation de blocks Lemon classiques géré par le module pleiade -->
|
|
<!-- ============================================================== -->
|
|
{% if page.block_rss %}
|
|
{{ page.block_rss }}
|
|
{% endif %}
|
|
<!-- ============================================================== -->
|
|
<!-- Blocks de démo / test -->
|
|
<!-- ============================================================== -->
|
|
{% include '@pleiadebv/templates/layout/parts/demo/blocs-demo.html.twig' %}
|
|
<!-- ============================================================== -->
|
|
<!-- End Blocks de démo / test -->
|
|
<!-- ============================================================== -->
|
|
|
|
</div>
|
|
<!-- ============================================================== -->
|
|
<!-- End Container fluid -->
|
|
<!-- ============================================================== -->
|
|
|
|
<!-- ============================================================== -->
|
|
<!-- footer -->
|
|
<!-- ============================================================== -->
|
|
{% include '@pleiadebv/templates/layout/parts/footer.html.twig' %}
|
|
<!-- ============================================================== -->
|
|
<!-- End footer -->
|
|
<!-- ============================================================== -->
|
|
</div>
|
|
|
|
<!-- ============================================================== -->
|
|
<!-- End Page wrapper -->
|
|
<!-- ============================================================== -->
|
|
|
|
|
|
|
|
|