feat: Add close event

- Frame elements now can be closed
- Event is added in template
- Action leads back in history
This commit is contained in:
sthag 2025-06-22 18:17:42 +02:00
parent 07e2e8ff6d
commit 10d6fe7d82
6 changed files with 24 additions and 10 deletions

View file

@ -31,6 +31,4 @@ tags:
{%- block script %}
{{ super() }}
<script src="{{ pageBase }}js/app.js"></script>
<script></script>
{% endblock %}

View file

@ -182,6 +182,4 @@ tags:
{%- block script %}
{{ super() }}
<script src="{{ pageBase }}js/app.js"></script>
<script></script>
{% endblock %}

View file

@ -48,8 +48,6 @@ tags:
{%- block script %}
{{ super() }}
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="{{ pageBase }}js/app.js"></script>
<script>
let clock = new Clock('time');

View file

@ -32,6 +32,4 @@ tags:
{%- block script %}
{{ super() }}
<script src="{{ pageBase }}js/app.js"></script>
<script></script>
{% endblock %}