Commit 87f3dba4 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Installation locale et inclusion inline de bootstrap-select et bootstrap-confirmation

parent 63159128
Loading
Loading
Loading
Loading
+4 −1
Changes for module/Application/config/module.config.php: 4 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -280,12 +280,15 @@ return array(
            '063_uploader' => "/js/unicaen.uploader.widget.js",
        ],
        'inline_scripts' => [
            '070_bootstrap-confirmation' => 'vendor/bootstrap-confirmation-2.4.4/bootstrap-confirmation.min.js',
            '070_bootstrap-select' => '/vendor/bootstrap-select-1.13.18/js/bootstrap-select.min.js',
            '070_bootstrap-select-fr' => '/vendor/bootstrap-select-1.13.18/js/i18n/defaults-fr_FR.js',
            '081_bootstrap-confirmation' => '/vendor/bootstrap-confirmation.min.js',
        ],
        'stylesheets'           => [
            '050_bootstrap-theme' => false,
            '100_charte' => '/css/charte.css',
            '200_fa' => '/fontawesome-free-5.12.0-web/css/all.min.css',
            '300_bs' => '/vendor/bootstrap-select-1.13.18/css/bootstrap-select.min.css',
        ],
        'printable_stylesheets' => [
        ],
+0 −9
Changes for module/Application/view/application/rapport-annuel-recherche/index.phtml: 0 added lines, 9 removed lines.
Original line number Diff line number Diff line
@@ -186,15 +186,6 @@ $acteursFormatterCodirecteurs->asSeparated()
<?php endif ?>





<?php
$this->headLink()->appendStylesheet("https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.1/css/bootstrap-select.min.css");
$this->inlineScript()->appendFile("https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.1/js/bootstrap-select.min.js");
$this->inlineScript()->appendFile("https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.1/js/i18n/defaults-fr_FR.min.js");
?>

<script>
    $(function() {
        $("#filters").refresh();
+0 −3
Changes for module/Application/view/application/substitution/modifier.phtml: 0 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -23,14 +23,11 @@ use Application\View\Renderer\PhpRenderer;
 * @see SubstitutionController::modifierAction()
  */

$this->headLink()->appendStylesheet("https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.9/dist/css/bootstrap-select.min.css");


if ( $type === null && $cible !== null) $type = $cible->getTypeStructure()->getCode();
$canEdit =  $this->isAllowed(SubstitutionPrivileges::getResourceId(SubstitutionPrivileges::SUBSTITUTION_MODIFICATION_TOUTES_STRUCTURES))
        OR  $this->isAllowed(SubstitutionPrivileges::getResourceId(SubstitutionPrivileges::SUBSTITUTION_MODIFICATION_SA_STRUCTURE));
?>
<script src="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.9/dist/js/bootstrap-select.min.js"></script>

<div class="container">
<?php
+0 −6
Changes for module/Application/view/application/these/index.phtml: 0 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -234,12 +234,6 @@ $acteursFormatterCodirecteurs->asSeparated()
?>


<?php
$this->headLink()->appendStylesheet("https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.1/css/bootstrap-select.min.css");
$this->inlineScript()->appendFile("https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.1/js/bootstrap-select.min.js");
$this->inlineScript()->appendFile("https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.1/js/i18n/defaults-fr_FR.min.js");
?>

<script>
    $(function() {
        $("#these-filters").refresh();
+0 −6
Changes for module/Application/view/application/unite-recherche/modifier.phtml: 0 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -316,12 +316,6 @@ $form->get('code')->setAttribute('readonly', !$editable);
    });
</script>

<?php
$this->headLink()->appendStylesheet("https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.1/css/bootstrap-select.min.css");
$this->inlineScript()->appendFile("https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.1/js/bootstrap-select.min.js");
$this->inlineScript()->appendFile("https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.1/js/i18n/defaults-fr_FR.min.js");
?>

<script>
    $(function() {
        $("#domaines").refresh();
Loading