css fix and js update
This commit is contained in:
parent
ce763d6493
commit
a88e868e9a
7
static/css/main.css
Normal file
7
static/css/main.css
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
.popover-content .btn-group {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.popover-content div.btn-group a {
|
||||||
|
display: block;
|
||||||
|
}
|
@ -1,5 +1,17 @@
|
|||||||
$('[data-toggle=confirmation]').confirmation({
|
$('[data-toggle=confirmation]').confirmation({
|
||||||
rootSelector: '[data-toggle=confirmation]',
|
rootSelector: '[data-toggle=confirmation]',
|
||||||
//btnOkLabel: 'Si',
|
btnOkLabel: 'Ok',
|
||||||
//btnCancelLabel: 'No'
|
btnCancelLabel: 'No',
|
||||||
|
'placement': 'top',
|
||||||
|
});
|
||||||
|
var dismissAlerts = function() {
|
||||||
|
var alertElements = Array(document.querySelectorAll(".alert"));
|
||||||
|
alertElements.forEach(function(e) {
|
||||||
|
setTimeout(function() {
|
||||||
|
$(e).remove();
|
||||||
|
}, 2500)
|
||||||
|
});
|
||||||
|
};
|
||||||
|
$(document).ready(function() {
|
||||||
|
dismissAlerts();
|
||||||
});
|
});
|
Loading…
Reference in New Issue
Block a user