forked from CGM_Public/pretix_original
Improve UX of ticket download settings
This commit is contained in:
@@ -251,7 +251,7 @@ var form_handlers = function (el) {
|
||||
update = function () {
|
||||
var enabled = dependency.prop('checked');
|
||||
dependent.prop('disabled', !enabled).parents('.form-group').toggleClass('disabled', !enabled);
|
||||
if (!enabled) {
|
||||
if (!enabled && !$(this).is('[data-checkbox-dependency-visual]')) {
|
||||
dependent.prop('checked', false);
|
||||
}
|
||||
};
|
||||
@@ -750,4 +750,4 @@ $(document).ready(function () {
|
||||
$('form[method=post]').filter(function () {
|
||||
return $(this).find("button:not([type=button]), input[type=submit]").length > 0;
|
||||
}).areYouSure( {'message': gettext('You have unsaved changes!')});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -406,6 +406,18 @@ table td > .checkbox input[type="checkbox"] {
|
||||
line-height: 40px;
|
||||
}
|
||||
}
|
||||
.ticketoutput-panel .panel-heading {
|
||||
.checkbox {
|
||||
padding: 0;
|
||||
input[type=checkbox] {
|
||||
margin-top: 0;
|
||||
margin-right: 5px;
|
||||
margin-left: 0px;
|
||||
position: relative;
|
||||
top: 1px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.accordion-radio {
|
||||
display: block;
|
||||
margin: 0;
|
||||
|
||||
Reference in New Issue
Block a user