mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-05-19 01:41:37 +00:00
Turbo-Kompatibilität verbessern.
Hinzufügen von Prüfungen auf Vorhandensein von DOM-Elementen in mehreren Controllern sowie Optimierung der Form-Submit-Logik für bessere Turbo-Integration. Anpassung von Template-Elementen und JavaScript-Events zur Unterstützung von Turbo Morphing auf der Startseite.
This commit is contained in:
parent
66c905738d
commit
563d39ff2d
9 changed files with 104 additions and 35 deletions
|
|
@ -95,6 +95,14 @@
|
|||
<turbo-frame id="content" data-turbo-action="advance">
|
||||
{# Here will be the real content be injected#}
|
||||
|
||||
{# These empty divs are here to ensure that Turbo Morphing correctly removes homepage elements when navigating away #}
|
||||
<div id="homepage-search-container" class="d-none" data-turbo-temporary></div>
|
||||
<div id="homepage-banner-container" class="d-none" data-turbo-temporary></div>
|
||||
<div id="homepage-first-steps" class="d-none" data-turbo-temporary></div>
|
||||
<div id="homepage-license" class="d-none" data-turbo-temporary></div>
|
||||
<div id="homepage-last-activity-container" class="d-none" data-turbo-temporary></div>
|
||||
<div id="new-version-alert" class="d-none" data-turbo-temporary></div>
|
||||
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue