Copy some frontend styles to the backend

This commit is contained in:
Raphael Michel
2018-01-24 19:12:58 +01:00
parent fcd6bb1084
commit 67121decbf
2 changed files with 9 additions and 1 deletions

View File

@@ -279,6 +279,11 @@ $(function () {
});
$('.collapsible').collapse();
$("input[data-toggle=radiocollapse]").change(function () {
$($(this).attr("data-parent")).find(".collapse.in").collapse('hide');
$($(this).attr("data-target")).collapse('show');
});
$("div.collapsed").removeClass("collapsed").addClass("collapse");
$(".has-error").each(function () {
$(this).closest("div.panel-collapse").collapse("show");
});

View File

@@ -270,4 +270,7 @@ table td > .checkbox {
table td > .checkbox input[type="checkbox"] {
margin: 0;
position: static;
}
}
.panel-title .radio {
margin-left: 20px;
}