mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2026-02-04 02:25:30 +00:00
FIX: Laden screen below
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"debug": false,
|
||||
"debug": true,
|
||||
"allow_test_login": true
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ package controllers
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"slices"
|
||||
"strings"
|
||||
|
||||
@@ -236,7 +237,7 @@ func (p *OrtEditPage) POST(engine *templating.Engine, app core.App) HandleFunc {
|
||||
}
|
||||
}(app, place.Id, nameChanged)
|
||||
|
||||
redirect := fmt.Sprintf("/ort/%s/", id)
|
||||
redirect := fmt.Sprintf("/ort/%s/edit?saved_message=%s", id, url.QueryEscape("Änderungen gespeichert."))
|
||||
return e.Redirect(http.StatusSeeOther, redirect)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ package controllers
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"slices"
|
||||
"strings"
|
||||
|
||||
@@ -142,7 +143,7 @@ func (p *OrtNewPage) POST(engine *templating.Engine, app core.App) HandleFunc {
|
||||
}
|
||||
}(app, createdPlace.Id)
|
||||
|
||||
redirect := fmt.Sprintf("/ort/%s/", createdPlace.Id)
|
||||
redirect := fmt.Sprintf("/ort/%s/edit?saved_message=%s", createdPlace.Id, url.QueryEscape("Änderungen gespeichert."))
|
||||
return e.Redirect(http.StatusSeeOther, redirect)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,13 +8,9 @@ TODO:
|
||||
- Datei-Upload-Manager
|
||||
|
||||
|
||||
- Schöpfer
|
||||
- Stecher/kuferstecher
|
||||
|
||||
BUGS:
|
||||
- Schriftgröße Edit-Screens
|
||||
- doppelte Einträge Reihen-Liste, Endpoint /reihen (siehe Abendstunden)
|
||||
- Neuer Ort anlegen führ manachmal auf DB-ID
|
||||
|
||||
Features:
|
||||
- Extra-DB für FTS5: ist eigentlich nichtTeil der Haupt-DB, sondern nur Suchindex
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -221,15 +221,6 @@
|
||||
{{- end -}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="px-3 py-2 border-t border-slate-200 bg-stone-50 flex items-center">
|
||||
<button
|
||||
type="button"
|
||||
class="content-action-button"
|
||||
onclick="window.location.assign('/almanach/{{ $model.result.Entry.MusenalmID }}/contents/new')">
|
||||
<i class="ri-add-line"></i>
|
||||
<span>Neuer Beitrag</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
{{- else -}}
|
||||
<div class="mx-4 mt-2">
|
||||
|
||||
@@ -641,9 +641,16 @@
|
||||
@apply block;
|
||||
}
|
||||
|
||||
html[data-htmx-busy="true"],
|
||||
body[data-htmx-busy="true"],
|
||||
[data-htmx-busy="true"] {
|
||||
html[data-htmx-busy="true"]::before {
|
||||
content: "";
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgba(15, 23, 42, 0.18);
|
||||
z-index: 40;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
[data-htmx-busy="true"]:not(html):not(body) {
|
||||
pointer-events: none;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user