Compare commits
2 Commits
1970a8b59e
...
353f90cfbc
Author | SHA1 | Date |
---|---|---|
Arnaud Fornerot | 353f90cfbc | |
Arnaud Fornerot | c54a8c3005 |
|
@ -0,0 +1,19 @@
|
||||||
|
$(document).ready(function() {
|
||||||
|
|
||||||
|
// Adapt some class to fit Bootstrap theme
|
||||||
|
$("div.message-positive").addClass("alert-success");
|
||||||
|
$("div.message-warning").addClass("alert-warning");
|
||||||
|
$("div.message-negative").addClass("alert-danger");
|
||||||
|
|
||||||
|
$("table.info").addClass("table");
|
||||||
|
|
||||||
|
$(".notifCheck").addClass("checkbox");
|
||||||
|
|
||||||
|
// Collapse menu on click
|
||||||
|
$('.collapse li[class!="dropdown"]').on('click', function() {
|
||||||
|
if (!$('.navbar-toggler').hasClass('collapsed')) {
|
||||||
|
$(".navbar-toggler").trigger("click");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
});
|
|
@ -0,0 +1 @@
|
||||||
|
$(document).ready(function(){$("div.message-positive").addClass("alert-success"),$("div.message-warning").addClass("alert-warning"),$("div.message-negative").addClass("alert-danger"),$("table.info").addClass("table"),$(".notifCheck").addClass("checkbox"),$('.collapse li[class!="dropdown"]').on("click",function(){$(".navbar-toggler").hasClass("collapsed")||$(".navbar-toggler").trigger("click")})});
|
|
@ -0,0 +1 @@
|
||||||
|
{"version":3,"sources":["lemonldap-ng-portal/site/htdocs/static/bootstrap/js/skin.js"],"names":["$","document","ready","addClass","on","hasClass","trigger"],"mappings":"AAAAA,EAAEC,UAAUC,MAAM,WAGhBF,EAAE,wBAAwBG,SAAS,iBACnCH,EAAE,uBAAuBG,SAAS,iBAClCH,EAAE,wBAAwBG,SAAS,gBAEnCH,EAAE,cAAcG,SAAS,SAEzBH,EAAE,eAAeG,SAAS,YAG1BH,EAAE,mCAAmCI,GAAG,QAAS,WAC1CJ,EAAE,mBAAmBK,SAAS,cACjCL,EAAE,mBAAmBM,QAAQ"}
|
Loading…
Reference in New Issue