mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2026-02-04 10:35:30 +00:00
small ui annoyances
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user