surligner la page active (fixes #71)
This commit is contained in:
parent
35b61480a2
commit
fdb1738f2b
|
@ -8,7 +8,7 @@ INSERT IGNORE INTO `niveau01` (`id`, `label`, `siren`) VALUES
|
|||
(-100, 'DRAAF', '130007107');
|
||||
|
||||
INSERT IGNORE INTO `user` (`id`, `niveau01_id`, `username`, `firstname`, `lastname`, `password`, `email`, `avatar`, `role`,`siren`,`authlevel`) VALUES
|
||||
(-100, -100, 'admin', 'Administrateur', 'draaf', '{SSHA}o85pP7Lzbqw8J8wr8jlgxl8NFvCcJlve
|
||||
(-100, -100, 'admin', 'Administrateur', 'draaf', '{SSHA}8C2YCN+BLxVH5gnCuEzURFRJmQ2rKSeq
|
||||
', 'admin@ldapbundle.ac-arno.fr', 'admin.jpg', 'ROLE_ADMIN', '130007107', 'simple');
|
||||
|
||||
|
||||
|
|
|
@ -123,6 +123,9 @@ body {
|
|||
.navbarsmall { display: block !important}
|
||||
}
|
||||
|
||||
.navbar-top-links li.active a, .dropdownactive {
|
||||
border-bottom: 5px solid #FFF;
|
||||
}
|
||||
|
||||
/*== SIDEBAR ============================================================================================================================================*/
|
||||
|
||||
|
|
|
@ -377,7 +377,10 @@
|
|||
|
||||
// Rendre actif le page en cours dans le menu
|
||||
$(".navbar-top-links li").removeClass("active");
|
||||
$(".dropdown-toggle").removeClass("dropdownactive");
|
||||
|
||||
$("#menupage-"+id).addClass("active");
|
||||
$('a[data-group="'+groupid+'"][data-toggle="dropdown"]').addClass("dropdownactive");;
|
||||
|
||||
var url="{{ path('cadoles_portal_user_page_view',{id:'xx',usage:'yy','group':'zz'}) }}";
|
||||
url=url.replace('xx',id);
|
||||
|
|
Loading…
Reference in New Issue