mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Add support for iframeResizer
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -8,6 +8,7 @@ src/static/fileupload/* linguist-vendored
|
|||||||
src/static/vuejs/* linguist-vendored
|
src/static/vuejs/* linguist-vendored
|
||||||
src/static/select2/* linguist-vendored
|
src/static/select2/* linguist-vendored
|
||||||
src/static/charts/* linguist-vendored
|
src/static/charts/* linguist-vendored
|
||||||
|
src/static/iframeresizer/* linguist-vendored
|
||||||
src/pretix/plugins/ticketoutputpdf/static/pretixplugins/ticketoutputpdf/fabric.* linguist-vendored
|
src/pretix/plugins/ticketoutputpdf/static/pretixplugins/ticketoutputpdf/fabric.* linguist-vendored
|
||||||
src/pretix/plugins/ticketoutputpdf/static/pretixplugins/ticketoutputpdf/pdf.* linguist-vendored
|
src/pretix/plugins/ticketoutputpdf/static/pretixplugins/ticketoutputpdf/pdf.* linguist-vendored
|
||||||
|
|
||||||
|
|||||||
@@ -70,6 +70,11 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
<script src="{% statici18n LANGUAGE_CODE %}" async></script>
|
<script src="{% statici18n LANGUAGE_CODE %}" async></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if request.session.iframe_session %}
|
||||||
|
{% compress js %}
|
||||||
|
<script type="text/javascript" src="{% static "iframeresizer/iframeResizer.contentWindow.js" %}"></script>
|
||||||
|
{% endcompress %}
|
||||||
|
{% endif %}
|
||||||
{{ html_foot|safe }}
|
{{ html_foot|safe }}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
1110
src/pretix/static/iframeresizer/iframeResizer.contentWindow.js
Normal file
1110
src/pretix/static/iframeresizer/iframeResizer.contentWindow.js
Normal file
File diff suppressed because it is too large
Load Diff
1052
src/pretix/static/iframeresizer/iframeResizer.js
Normal file
1052
src/pretix/static/iframeresizer/iframeResizer.js
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user