diff --git a/assets/css/containers/_actionbars.scss b/assets/css/containers/_actionbars.scss index 0695854a4..bd5b2b26c 100644 --- a/assets/css/containers/_actionbars.scss +++ b/assets/css/containers/_actionbars.scss @@ -35,4 +35,7 @@ box-shadow: rgba(0, 0, 0, .1) 0 1px 1px; border-top-right-radius: 3px; border-top-left-radius: 3px; + input { + display: inline-block; + } } diff --git a/assets/css/pages/_modals.scss b/assets/css/pages/_modals.scss index f849b9d6f..4ef72076d 100644 --- a/assets/css/pages/_modals.scss +++ b/assets/css/pages/_modals.scss @@ -117,9 +117,6 @@ .btn:not(.btn-default):not(.btn-selector) { color: $white !important; } - a:not(.btn):not(.label-list) { - color: $nextdom_blue !important; - } } .ui-widget .label-config a, .ui-widget .label-config i, @@ -131,3 +128,7 @@ .modal-padding { padding: 15px !important; } +.ui-datepicker .ui-datepicker-today a { + background: none !important; + border: 1px dashed red !important; +} diff --git a/assets/css/themes/_base.scss b/assets/css/themes/_base.scss index c6f260897..9da87a93b 100644 --- a/assets/css/themes/_base.scss +++ b/assets/css/themes/_base.scss @@ -198,6 +198,19 @@ html { background-color: map_get($color_theme, 'color1') !important; } +/* Modales */ +.ui-widget-content { + a:not(.btn):not(.label-list):not(.ui-state-active):not(.ui-state-hover) { + color: map_get($color_theme, 'color1') !important; + } +} +.ui-datepicker td .ui-state-active, +.ui-datepicker td .ui-state-hover, +.ui-datepicker-close { + background: map_get($color_theme, 'color1') !important; +} + + /* ################################################################################## */ /* COLOR2 = Couleur de contraste (icônes et texte sur fond accentué ou de sidebar...) */ /* ################################################################################## */ @@ -229,7 +242,8 @@ html { } /* Bouton action */ -.btn-action { +.btn-action, +.label-action { color: map_get($color_theme, 'color2') !important; } @@ -287,6 +301,13 @@ html { color: map_get($color_theme, 'color2') !important; } +/* Modales */ +.ui-datepicker td .ui-state-active, +.ui-datepicker td .ui-state-hover, +.ui-datepicker-close { + color: map_get($color_theme, 'color2') !important; +} + /* ############################################################################################################# */ /* COLOR3 = Couleur de survol principale (contenu, titres, footer, bouton d'administration, unités, légendes...) */ @@ -891,7 +912,8 @@ pre:not(.mobile-pre) { /* ########################## */ /* COLOR14 = Boutons d'action */ /* ########################## */ -.btn-action { +.btn-action, +.label-action { background-color: map_get($color_theme, 'color14') !important; } .tooltip-inner { diff --git a/assets/js/core/private.class.js b/assets/js/core/private.class.js index 4f88dbbad..d24536858 100644 --- a/assets/js/core/private.class.js +++ b/assets/js/core/private.class.js @@ -29,7 +29,7 @@ nextdom.private = { return _data; }, success: function (_data) { - console.log(_data); + // console.log(_data); }, post_success: function (_data) { }, @@ -37,7 +37,7 @@ nextdom.private = { }, error: function (_data) { // Erreur dans l'API ou mauvais retour AJAX (appel de ajax::error() côté PHP) - console.log(_data); + // console.log(_data); } }, /** @@ -381,4 +381,4 @@ nextdom.private.ajaxCall = function(ajaxParams) { else { $.ajax(ajaxParams); } -} \ No newline at end of file +} diff --git a/assets/js/desktop/inits.js b/assets/js/desktop/inits.js index 04bf1a591..354280981 100644 --- a/assets/js/desktop/inits.js +++ b/assets/js/desktop/inits.js @@ -115,6 +115,17 @@ function initFields(){ $(":input").inputmask(); $(".slimScrollDiv").css("overflow", ""); $(".sidebar").css("overflow", ""); + var options = $.extend( + {}, + $.datepicker.regional["fr"], + { showOtherMonths: true, + showWeek: true, + showButtonPanel: true, + numberOfMonths: 2, + firstDay: 1, + dateFormat: "yy-mm-dd" } + ); + $.datepicker.setDefaults(options); } /** diff --git a/assets/js/desktop/tools/scenario.js b/assets/js/desktop/tools/scenario.js index d248ccc90..0bd5354e1 100644 --- a/assets/js/desktop/tools/scenario.js +++ b/assets/js/desktop/tools/scenario.js @@ -1350,9 +1350,9 @@ function addSchedule(scheduleCode) { * @param scenario */ function addUsedBy(scenario,section) { - var usedByHtml = '