| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- <?php
- maj::bashFetch();
- $checkMaintenance = core::isMaintenance();
- $checkDebug = core::isDebug();
- ?>
- <header class="d-flex flex-column flex-md-row align-items-md-center p-3 bg-light ">
- <h2 class="bd-title" id="content">
- <span>IT : Paramètres</span>
- </h2>
- </header>
- <?php
- echo core::filAriane(array(
- "current" => "IT : Paramètres",
- "arbo" => array(
- "Administration" => NULL,
- "IT : Paramètres" => "/parametres.html"
- )
- ));
- ?>
- <br />
- <ul class="nav nav-tabs" id="event-fiche" role="tablist">
- <li class="nav-item">
- <a class="nav-link active" data-toggle="tab" id="general-tab" role="tab" aria-selected="true">Général</a>
- </li>
- <li class="nav-item">
- <a class="nav-link" data-toggle="tab" id="users-tab" role="tab" aria-selected="">Utilisateurs</a>
- </li>
- <li class="nav-item">
- <a class="nav-link" data-toggle="tab" id="backup-tab" role="tab" aria-selected="">Backup & restauration</a>
- </li>
- <li class="nav-item">
- <a class="nav-link" data-toggle="tab" id="maj-tab" role="tab" aria-selected="">Mise à jour</a>
- </li>
- <li class="nav-item">
- <a class="nav-link" data-toggle="tab" id="debug-tab" role="tab" aria-selected="">Debug & développement</a>
- </li>
- </ul>
- <br />
- <div class="tab-content">
- <div id="tab-general">
- <?php get::page("parametres-general") ?>
- </div>
- <div id="tab-users" style="display: none;">
- <?php get::page("parametres-users") ?>
- </div>
- <div id="tab-backup" style="display: none;">
- <?php get::page("parametres-restore") ?>
- </div>
- <div id="tab-debug" style="display: none;">
- <?php get::page("parametres-debug") ?>
- </div>
- <div id="tab-maj" style="display: none;">
- <?php get::page("parametres-maj") ?>
- </div>
- </div>
- <script>
- $(document).ready(function(){
- $("#general-tab").click(function() {
- $("#tab-general").show();
- $("#tab-users").hide();
- $("#tab-backup").hide();
- $("#tab-debug").hide();
- $("#tab-maj").hide();
- });
- $("#users-tab").click(function() {
- $("#tab-general").hide();
- $("#tab-users").show();
- $("#tab-backup").hide();
- $("#tab-debug").hide();
- $("#tab-maj").hide();
- });
- $("#backup-tab").click(function() {
- $("#tab-general").hide();
- $("#tab-users").hide();
- $("#tab-backup").show();
- $("#tab-debug").hide();
- $("#tab-maj").hide();
- });
- $("#debug-tab").click(function() {
- $("#tab-general").hide();
- $("#tab-users").hide();
- $("#tab-backup").hide();
- $("#tab-debug").show();
- $("#tab-maj").hide();
- });
- $("#maj-tab").click(function() {
- $("#tab-general").hide();
- $("#tab-users").hide();
- $("#tab-backup").hide();
- $("#tab-debug").hide();
- $("#tab-maj").show();
- });
- })
- </script>
- <style>
- h4 {
- margin-top: 15px;
- }
- .element-parametres {
- margin-top: 5px;
- }
- .modal-body {
- position: relative;
- overflow-y: auto;
- max-height: 400px;
- padding: 15px;
- }
- .modal-dialog{
- width: 1005px !important;
- }
- .modal {
- --bs-modal-width: none;
- }
- .autoModal.modal .modal-body {
- max-height: 100%;
- }
- </style>
|