Refactor settings form and layout; enhance form submission with JSON handling and improve modal functionality for room management
This commit is contained in:
parent
d7e38cb8da
commit
5a3176cad1
3 changed files with 201 additions and 219 deletions
|
@ -53,10 +53,7 @@
|
|||
</div>
|
||||
</nav>
|
||||
<main class="container-flex m-5">
|
||||
<form method="POST" id="settingsForm" action="{{ url_for('main.' + endpoint, **(endpoint_args or {})) }}">
|
||||
{% block content %}{% endblock %}
|
||||
<input type="hidden" name="formState" id="formStateField">
|
||||
</form>
|
||||
</main>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.6/dist/js/bootstrap.bundle.min.js"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue