diff --git a/html/js/scripts.js b/html/js/scripts.js index a07b10eb7..b451cfe3a 100644 --- a/html/js/scripts.js +++ b/html/js/scripts.js @@ -1502,6 +1502,7 @@ function display_sub_menu(p_dossier,p_profile,p_dep,p_level) if ( $('menu_table').rows.length > p_level ) { $('menu_table').rows[1].remove(); } + $('sub'+p_dep).addClassName("selectedmenu"); var new_row = document.createElement('TR'); new_row.innerHTML = req.responseText; $('menu_table').appendChild(new_row); diff --git a/html/style-classic.css b/html/style-classic.css index 437cf8a38..99a6ab8e1 100644 --- a/html/style-classic.css +++ b/html/style-classic.css @@ -2103,3 +2103,11 @@ button.cancel { .queue{ display:none; } +/* + * Menu selected when configuring the profile + */ + +td.selectedmenu { + background-color: beige; + font-weight: bolder; +} \ No newline at end of file diff --git a/html/style-light.css b/html/style-light.css index d93a92f92..2ab329eb9 100644 --- a/html/style-light.css +++ b/html/style-light.css @@ -2090,3 +2090,11 @@ button.cancel { .queue{ display:none; } + +/* + * Menu selected when configuring the profile + */ + +td.selectedmenu { + +} \ No newline at end of file diff --git a/html/style-mandarine.css b/html/style-mandarine.css index 74eb6ea2a..1b66ab3d7 100644 --- a/html/style-mandarine.css +++ b/html/style-mandarine.css @@ -1779,7 +1779,7 @@ div.content a.tinybutton{ margin: 1px 2px 1px 2px; border-width: 1px; border-style: solid; - border-color: blue; + border-radius: 2px; display : inline; } @@ -2089,4 +2089,12 @@ div.autocomplete_fixed ul li { margin:0px; padding:0px; cursor:pointer; +} + +/* + * Menu selected when configuring the profile + */ + +td.selectedmenu { + background-color: #FDF5E6; } \ No newline at end of file diff --git a/html/style-mobile.css b/html/style-mobile.css index 008a3a816..c53de9793 100644 --- a/html/style-mobile.css +++ b/html/style-mobile.css @@ -2034,3 +2034,10 @@ button.cancel { .queue{ display:none; } +/* + * Menu selected when configuring the profile + */ + +td.selectedmenu { + +} \ No newline at end of file diff --git a/include/profile.inc.php b/include/profile.inc.php index 5e981205a..6e3e71eb0 100644 --- a/include/profile.inc.php +++ b/include/profile.inc.php @@ -449,10 +449,10 @@ $dep=HtmlInput::default_value_post("dep", 0);