Move static files out of pretix again, compile on setuptools build

This commit is contained in:
Raphael Michel
2016-02-16 16:42:02 +01:00
parent abe89039e4
commit f503d3f3f5
399 changed files with 30 additions and 5 deletions

View File

@@ -1,33 +0,0 @@
/*global $ */
$(function () {
"use strict";
$("input[data-toggle=radiocollapse]").change(function () {
$($(this).attr("data-parent")).find(".collapse.in").collapse('hide');
$($(this).attr("data-target")).collapse('show');
});
$(".js-only").removeClass("js-only");
$(".variations").hide();
$("a[data-toggle=variations]").click(function () {
$(this).parent().parent().parent().find(".variations").slideToggle();
});
$(".collapsed").removeClass("collapsed").addClass("collapse");
$("#voucher-box").hide();
$("#voucher-toggle a").click(function () {
$("#voucher-box").slideDown();
$("#voucher-toggle").slideUp();
});
});
var waitingDialog = {
show: function (message) {
"use strict";
$("#loadingmodal").find("h1").html(message);
$("body").addClass("loading");
},
hide: function () {
"use strict";
$("body").removeClass("loading");
}
};