mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Fixed errors in dashboards
This commit is contained in:
parent
f2c0a62cec
commit
24f4f68b33
@ -667,8 +667,19 @@ function initialiceLayout(data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$("#delete-widget-" + cellId).click(function(event) {
|
$("#delete-widget-" + cellId).click(function(event) {
|
||||||
var nodo = event.target.offsetParent;
|
// eslint-disable-next-line no-undef
|
||||||
deleteCell(cellId, nodo.parentNode);
|
confirmDialog({
|
||||||
|
title: "Are you sure?",
|
||||||
|
message:
|
||||||
|
"<h4 style='text-align: center;padding-top: 20px;'>All changes made to this widget will be lost</h4>",
|
||||||
|
cancel: "Cancel",
|
||||||
|
ok: "Ok",
|
||||||
|
onAccept: function() {
|
||||||
|
// Continue execution.
|
||||||
|
var nodo = event.target.offsetParent;
|
||||||
|
deleteCell(cellId, nodo.parentNode);
|
||||||
|
}
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#configure-widget-" + cellId).click(function() {
|
$("#configure-widget-" + cellId).click(function() {
|
||||||
|
@ -477,14 +477,14 @@ div#main_pure {
|
|||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info_box {
|
.content-widget .info_box {
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
width: 90%;
|
width: 90%;
|
||||||
}
|
}
|
||||||
.info_box tbody tr td {
|
.content-widget .info_box tbody tr td {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
.info_box tbody tr td.icon {
|
.content-widget .info_box tbody tr td.icon {
|
||||||
padding-right: 10px !important;
|
padding-right: 10px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user