2022-11-29 07:20:39 +00:00
|
|
|
<div id="widget">
|
|
|
|
<div id="widget-{{ unique }}" class="grid-stack-item" {% block widget_options %}gs-w="10" gs-h="1" gs-y="10" gs-x="1"{% endblock %}>
|
2022-09-05 06:20:30 +00:00
|
|
|
<div class="grid-stack-item-content">
|
2022-09-01 18:59:27 +00:00
|
|
|
|
2022-09-05 06:20:30 +00:00
|
|
|
<nav class="panel">
|
|
|
|
<p class="panel-heading" style="padding: .2em; line-height: .5em;">
|
|
|
|
<i class="fa-solid fa-arrows-up-down-left-right has-text-grey-light"></i>
|
|
|
|
{% block close_button %}
|
2022-11-29 07:20:39 +00:00
|
|
|
{% include 'partials/close-widget.html' %}
|
2022-09-05 06:20:30 +00:00
|
|
|
{% endblock %}
|
|
|
|
<i
|
|
|
|
class="fa-solid fa-arrows-minimize has-text-grey-light float-right"
|
|
|
|
onclick='grid.compact();'></i>
|
|
|
|
{% block heading %}
|
2022-11-29 07:20:39 +00:00
|
|
|
{{ title }}
|
2022-09-05 06:20:30 +00:00
|
|
|
{% endblock %}
|
|
|
|
</p>
|
|
|
|
<article class="panel-block is-active">
|
|
|
|
<div class="control">
|
|
|
|
{% block panel_content %}
|
2022-11-29 07:20:39 +00:00
|
|
|
{% include window_content %}
|
2022-09-05 06:20:30 +00:00
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
</nav>
|
2022-09-01 18:59:27 +00:00
|
|
|
</div>
|
2022-09-05 06:20:30 +00:00
|
|
|
</div>
|
2022-09-01 18:59:27 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<script>
|
2022-09-05 06:20:30 +00:00
|
|
|
{% block custom_script %}
|
|
|
|
{% endblock %}
|
|
|
|
var widget_event = new Event('load-widget');
|
|
|
|
document.dispatchEvent(widget_event);
|
2022-09-01 18:59:27 +00:00
|
|
|
</script>
|
2022-09-07 10:30:45 +00:00
|
|
|
{% block custom_end %}
|
|
|
|
{% endblock %}
|