css fix and js update

This commit is contained in:
Kyle Roux 2017-05-16 10:56:17 -07:00
parent ce763d6493
commit a88e868e9a
2 changed files with 22 additions and 3 deletions

7
static/css/main.css Normal file
View File

@ -0,0 +1,7 @@
.popover-content .btn-group {
display: flex;
}
.popover-content div.btn-group a {
display: block;
}

View File

@ -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();
}); });