mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Improve add-on products
This commit is contained in:
@@ -11,15 +11,16 @@ function async_dl_check() {
|
||||
'success': async_dl_check_callback,
|
||||
'error': async_dl_check_error,
|
||||
'context': this,
|
||||
'dataType': 'json'
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
function async_dl_check_callback(data, jqXHR, status) {
|
||||
"use strict";
|
||||
if (data == 1) {
|
||||
if (data.ready && data.redirect) {
|
||||
$("body").data('ajaxing', false);
|
||||
location.href = async_dl_url;
|
||||
location.href = data.redirect;
|
||||
waitingDialog.hide();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -66,6 +66,12 @@ nav.navbar .danger, nav.navbar .danger:hover, nav.navbar .danger:active {
|
||||
padding-left: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.addon-signifier {
|
||||
display: inline-block;
|
||||
padding-left: 10px;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
h1 .btn-sm {
|
||||
@@ -220,4 +226,3 @@ body.loading #wrapper {
|
||||
.action-col-2 {
|
||||
min-width: 95px;
|
||||
}
|
||||
|
||||
|
||||
@@ -58,6 +58,11 @@
|
||||
&.has-downloads .product {
|
||||
width: percentage((5 / $grid-columns));
|
||||
}
|
||||
.addon-signifier {
|
||||
display: inline-block;
|
||||
padding-left: 10px;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $screen-sm-max) {
|
||||
@@ -75,4 +80,4 @@
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user