Improve add-on products

This commit is contained in:
Raphael Michel
2017-03-19 14:33:45 +01:00
parent 5bcfb958f0
commit b52f2f5a9e
36 changed files with 802 additions and 131 deletions

View File

@@ -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;
}

View File

@@ -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;
}

View File

@@ -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;
}
}
}
}