2025-01-17 11:03:00 +01:00
|
|
|
<script type="text/javascript">
|
|
|
|
document.addEventListener("DOMContentLoaded", () => {
|
2025-01-28 23:07:12 +01:00
|
|
|
new BrickSetSocket(
|
|
|
|
'{{ id }}',
|
|
|
|
'{{ path }}',
|
|
|
|
'{{ namespace }}',
|
|
|
|
{
|
|
|
|
COMPLETE: '{{ messages['COMPLETE'] }}',
|
|
|
|
FAIL: '{{ messages['FAIL'] }}',
|
|
|
|
IMPORT_SET: '{{ messages['IMPORT_SET'] }}',
|
|
|
|
LOAD_SET: '{{ messages['LOAD_SET'] }}',
|
|
|
|
PROGRESS: '{{ messages['PROGRESS'] }}',
|
|
|
|
SET_LOADED: '{{ messages['SET_LOADED'] }}',
|
|
|
|
},
|
|
|
|
{% if bulk %}true{% else %}false{% endif %},
|
|
|
|
{% if refresh %}true{% else %}false{% endif %}
|
|
|
|
);
|
2025-01-17 11:03:00 +01:00
|
|
|
});
|
|
|
|
</script>
|