mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2026-02-04 10:35:30 +00:00
FIX: Laden screen below
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"debug": false,
|
"debug": true,
|
||||||
"allow_test_login": true
|
"allow_test_login": true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ package controllers
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
"net/url"
|
||||||
"slices"
|
"slices"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
@@ -236,7 +237,7 @@ func (p *OrtEditPage) POST(engine *templating.Engine, app core.App) HandleFunc {
|
|||||||
}
|
}
|
||||||
}(app, place.Id, nameChanged)
|
}(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)
|
return e.Redirect(http.StatusSeeOther, redirect)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ package controllers
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
"net/url"
|
||||||
"slices"
|
"slices"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
@@ -142,7 +143,7 @@ func (p *OrtNewPage) POST(engine *templating.Engine, app core.App) HandleFunc {
|
|||||||
}
|
}
|
||||||
}(app, createdPlace.Id)
|
}(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)
|
return e.Redirect(http.StatusSeeOther, redirect)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,13 +8,9 @@ TODO:
|
|||||||
- Datei-Upload-Manager
|
- Datei-Upload-Manager
|
||||||
|
|
||||||
|
|
||||||
- Schöpfer
|
|
||||||
- Stecher/kuferstecher
|
|
||||||
|
|
||||||
BUGS:
|
BUGS:
|
||||||
- Schriftgröße Edit-Screens
|
- Schriftgröße Edit-Screens
|
||||||
- doppelte Einträge Reihen-Liste, Endpoint /reihen (siehe Abendstunden)
|
- doppelte Einträge Reihen-Liste, Endpoint /reihen (siehe Abendstunden)
|
||||||
- Neuer Ort anlegen führ manachmal auf DB-ID
|
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
- Extra-DB für FTS5: ist eigentlich nichtTeil der Haupt-DB, sondern nur Suchindex
|
- 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 -}}
|
{{- end -}}
|
||||||
</div>
|
</div>
|
||||||
</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>
|
</div>
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
<div class="mx-4 mt-2">
|
<div class="mx-4 mt-2">
|
||||||
|
|||||||
@@ -641,9 +641,16 @@
|
|||||||
@apply block;
|
@apply block;
|
||||||
}
|
}
|
||||||
|
|
||||||
html[data-htmx-busy="true"],
|
html[data-htmx-busy="true"]::before {
|
||||||
body[data-htmx-busy="true"],
|
content: "";
|
||||||
[data-htmx-busy="true"] {
|
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;
|
pointer-events: none;
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user