small ui annoyances

This commit is contained in:
Simon Martens
2026-01-11 15:38:51 +01:00
parent ce7e03e983
commit 6931dbb5a2
3 changed files with 10 additions and 13 deletions

View File

@@ -3,15 +3,12 @@ TODO danach:
- Titelauflage von/ hat TA
- Zeilenumbrüche in Reihen-Annotationen (EVTL. fix in TinyMCE)
- Status: Auopsiert, Erfasst etc.
- SO Status farbig
- SO Löschen von Personen: werden relationen zu Inhalten mitgelöscht? optional inhalte löschen?
- SO Display von Status u. Bearbeitungsvermerk in Almanach-Ansicht für eingeloggte Nutzer
- SO Hilfe-Texte für Felder
- MO Lösch-Links in Liste, Übersicht u.s.w. (? CSRF-Token fehlt)
Features:
- SO, DI Double detection für Ortsnamen, Personennamen, Reihentitel, Kurztitel
- NÄCHSTE WOCHE Datenbank-Hygiene
- DI Extra-DB für FTS5: ist eigentlich nichtTeil der Haupt-DB, sondern nur Suchindex
- Suchindex beim Start erstellen, anstatt dauerhaft zu speichern

View File

@@ -24,13 +24,13 @@
<hr class="border-slate-400 mt-2 mb-3" />
<div class="tab-list-panel text-sm text-gray-800 max-h-96 overflow-auto pr-1 pl-0 ml-0">
{{- if $entries -}}
<ul class="flex flex-col gap-3 pl-0 pr-0 m-0 ml-0 list-none">
<ul class="flex flex-col pl-0 pr-0 m-0 ml-0 list-none">
{{- range $entry := $entries -}}
{{- $types := "" -}}
{{- if $entryTypes -}}
{{- $types = index $entryTypes $entry.Id -}}
{{- end -}}
<li class="flex items-baseline justify-between gap-3 ml-0 px-1 odd:bg-stone-100">
<li class="flex items-baseline justify-between ml-0 p-1 odd:bg-stone-100">
<div class="flex flex-col gap-1">
<a href="/almanach/{{ $entry.MusenalmID }}" class="font-bold no-underline hover:text-slate-900">
{{- $entry.PreferredTitle -}}
@@ -54,7 +54,7 @@
{{- if $contents -}}
<div class="tab-list-panel text-sm text-gray-800 max-h-96 overflow-auto pr-1 pl-0 ml-0 self-stretch">
{{- if $contents -}}
<ul class="flex flex-col gap-3 pl-0 pr-0 m-0 ml-0 list-none">
<ul class="flex flex-col pl-0 pr-0 m-0 ml-0 list-none">
{{- range $content := $contents -}}
{{- $entry := "" -}}
{{- if $contentEntries -}}
@@ -64,7 +64,7 @@
{{- if $contentTypes -}}
{{- $types = index $contentTypes $content.Id -}}
{{- end -}}
<li class="flex flex-col gap-1 ml-0 pl-0 odd:bg-stone-100 px-1">
<li class="flex flex-col gap-1 ml-0 p-1 odd:bg-stone-100 px-1">
<a href="/beitrag/{{ $content.MusenalmID }}" class="no-underline hover:text-slate-900 font-semibold">
{{- if $content.PreferredTitle -}}{{ $content.PreferredTitle }}{{- else -}}Inhalt #{{ $content.MusenalmID }}{{- end -}}
</a>

View File

@@ -134,14 +134,14 @@
</div>
<input name="uri" id="uri" class="inputinput" autocomplete="off" value="{{ $place.URI }}" />
</div>
{{ template "_annotation_field" (Arr $place.Annotation "Annotation") }}
<div class="inputwrapper">
<div class="px-3 py-2 flex flex-row gap-2 font-bold">
<input type="checkbox" name="fictional" id="fictional" {{ if $place.Fictional }}checked{{ end }} data-boolean-checkbox />
<label class="flex items-center gap-2 text-gray-700"
for="fictional">Fiktional</label>
</div>
<div class="px-3 py-2 flex flex-row gap-2 font-bold">
<input type="checkbox" name="fictional" id="fictional" {{ if $place.Fictional }}checked{{ end }} data-boolean-checkbox />
<label class="flex items-center gap-2 text-gray-700"
for="fictional">Fiktional</label>
</div>
</div>
{{ template "_annotation_field" (Arr $place.Annotation "Annotation") }}
</div>
<div class="w-[28rem] shrink-0 flex flex-col gap-3">