mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Copy some frontend styles to the backend
This commit is contained in:
@@ -279,6 +279,11 @@ $(function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
$('.collapsible').collapse();
|
$('.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 () {
|
$(".has-error").each(function () {
|
||||||
$(this).closest("div.panel-collapse").collapse("show");
|
$(this).closest("div.panel-collapse").collapse("show");
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -270,4 +270,7 @@ table td > .checkbox {
|
|||||||
table td > .checkbox input[type="checkbox"] {
|
table td > .checkbox input[type="checkbox"] {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
position: static;
|
position: static;
|
||||||
}
|
}
|
||||||
|
.panel-title .radio {
|
||||||
|
margin-left: 20px;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user