Commit 2462e0b6 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

bootstrap-select et nettoyage

parent ca315b3f
Loading
Loading
Loading
Loading
+8
Changes for module/Application/config/merged/menu.config.php: 8 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -180,6 +180,14 @@ return [
                                'title'      => "Module Autoform",
                                'route'      => 'autoform/formulaires',
                                'roles'      => [],
//                                'withtarget' => true,
                                'icon' => 'fas fa-angle-right'
                            ],
                            'fichier' => [
                                'label'      => "Fichier",
                                'title'      => "Module Fichier",
                                'route'      => 'index-fichier',
                                'roles'      => [],
//                                'withtarget' => true,
                                'icon' => 'fas fa-angle-right'
                            ],
+2
Changes for module/Application/config/module.config.php: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -117,6 +117,7 @@ return [
//            '110_' => 'https://gest.unicaen.fr/public/bootstrap-select-1.9.4/dist/js/bootstrap-select.min.js',
//            '111_' => 'https://gest.unicaen.fr/public/bootstrap-confirmation-2.4.0/bootstrap-confirmation.min.js',
            '112_' => 'vendor/font-awesome-5.0.9/fontawesome-all.min.js',
            '120_' => 'vendor/bootstrap-select-1.13.2/dist/js/bootstrap-select.min.js',
            '124_' => 'vendor/vakata-jstree-3.3.4/dist/jstree.min.js',
            '150_' => 'js/tinymce/js/tinymce/tinymce.js',
            '151_' => 'js/form_fiche.js',
@@ -125,6 +126,7 @@ return [
            '050_bootstrap-theme' => '',
//            '111_' => 'https://gest.unicaen.fr/public/open-sans-gh-pages/open-sans.css',
//            '113_' => 'https://gest.unicaen.fr/public/bootstrap-select-1.9.4/dist/css/bootstrap-select.min.css',
            '113_' => 'vendor/bootstrap-select-1.13.2/dist/css/bootstrap-select.min.css',
            '121_' => 'vendor/vakata-jstree-3.3.4/dist/themes/proton/style.min.css',
        ],
        'images' => [
+6
Changes for module/Application/src/Application/Form/Poste/PosteForm.php: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -52,6 +52,8 @@ class PosteForm extends Form {
            ],
            'attributes' => [
                'id'                => 'structure',
                'class'             => 'bootstrap-selectpicker show-tick',
                'data-live-search'  => 'true',
            ],
        ]);

@@ -75,6 +77,8 @@ class PosteForm extends Form {
            ],
            'attributes' => [
                'id' => 'correspondance',
                'class'             => 'bootstrap-selectpicker show-tick',
                'data-live-search'  => 'true',
            ],
        ]);

@@ -88,6 +92,8 @@ class PosteForm extends Form {
            ],
            'attributes' => [
                'id' => 'rattachement',
                'class'             => 'bootstrap-selectpicker show-tick',
                'data-live-search'  => 'true',
            ],
        ]);

+2
Changes for module/Application/view/application/default/default-form.phtml: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -32,4 +32,6 @@ use Zend\Form\Form;
            }
        });
    });

    $('select').selectpicker();
</script>
−40
Changes for module/Autoform/config/module.config.php: 0 added lines, 40 removed lines.
Original line number Diff line number Diff line
<?php

use Autoform\Provider\Privilege\IndexPrivileges;
use Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain;
use Doctrine\ORM\Mapping\Driver\XmlDriver;
use UnicaenAuth\Guard\PrivilegeController;
@@ -34,25 +33,6 @@ return array(
        ],
    ],

//    'navigation'      => [
//        'default' => [
//            'home' => [
//                'pages' => [
//                    'administration' => [
//                        'pages' => [
//                            'mailing' => [
//                                'label'    => 'Autoform',
//                                'route'    => 'autoform',
//                                'resource' => IndexPrivileges::getResourceId(IndexPrivileges::AFFICHER_INDEX),
//                                'order'    => 1,
//                            ],
//                        ],
//                    ],
//                ],
//            ],
//        ],
//    ],

    'router' => [
        'routes' => [
            'autoform' => [
@@ -60,26 +40,6 @@ return array(
        ],
    ],

    'form_elements' => [
        'factories' => [
//            IndicateurForm::class => IndicateurFormFactory::class,
        ],
    ],
    'hydrators' => [
        'invokables' => [
//            IndicateurHydrator::class => IndicateurHydrator::class,
        ],
    ],
    'controllers' => [
        'factories' => [
//            MailingController::class => MailingControllerFactory::class,
        ],
    ],
    'view_helpers' => [
        'invokables' => [
//            'completIndicateurThese'    => CompletIndicateurTheseHelper::class,
        ],
    ],
    'view_manager' => [
        'template_path_stack' => [
            __DIR__ . '/../view',