Wartungsupdate
This commit is contained in:
parent
7f87ec435c
commit
88fab67a9d
3 changed files with 285 additions and 19 deletions
|
|
@ -56,6 +56,29 @@
|
|||
|
||||
</div>
|
||||
|
||||
{% if message %}
|
||||
|
||||
<div id="modal-overlay">
|
||||
|
||||
<div id="modal">
|
||||
|
||||
<h2 class="success-title">
|
||||
✅ Erfolgreich
|
||||
</h2>
|
||||
|
||||
<p class="modal-message">
|
||||
{{ message|replace('\n', '<br>')|safe }}
|
||||
</p>
|
||||
|
||||
<button onclick="closeModal()">
|
||||
OK
|
||||
</button>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
<div class="container">
|
||||
|
||||
|
||||
|
|
@ -154,7 +177,38 @@
|
|||
</form>
|
||||
|
||||
</div>
|
||||
<div class="card">
|
||||
|
||||
<h2>
|
||||
Wochenupdate
|
||||
</h2>
|
||||
|
||||
<form
|
||||
action="/run/weekly_update"
|
||||
method="post">
|
||||
|
||||
<input
|
||||
type="hidden"
|
||||
name="year"
|
||||
value="{{ year }}">
|
||||
|
||||
<input
|
||||
type="hidden"
|
||||
name="week"
|
||||
value="{{ week }}">
|
||||
|
||||
<p>
|
||||
Lädt Transaktionen und
|
||||
kategorisiert automatisch.
|
||||
</p>
|
||||
|
||||
<button type="submit">
|
||||
Starten
|
||||
</button>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
@ -167,7 +221,19 @@ Hintergasse © 2026
|
|||
|
||||
|
||||
</div>
|
||||
<script>
|
||||
|
||||
function closeModal() {
|
||||
|
||||
document
|
||||
.getElementById(
|
||||
"modal-overlay"
|
||||
)
|
||||
.style
|
||||
.display = "none";
|
||||
}
|
||||
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue