Merge branch 'devel'
This commit is contained in:
commit
94431a2aa9
@ -52,7 +52,7 @@ textarea {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.editor-toolbar {
|
.editor-toolbar {
|
||||||
@apply border border-slate-200
|
@apply border border-slate-200 dark:border-slate-800
|
||||||
}
|
}
|
||||||
|
|
||||||
.editor-toolbar.fullscreen {
|
.editor-toolbar.fullscreen {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<h3>Aktuelle Artikel</h3>
|
<h3>Aktuelle Artikel</h3>
|
||||||
<div class="flex flex-col gap-4">
|
<div class="flex flex-col gap-4">
|
||||||
{{range .}}
|
{{range .}}
|
||||||
<div class="border px-2 py-1 rounded-md">
|
<div class="border border-slate-200 dark:border-slate-800 px-2 py-1 rounded-md">
|
||||||
<h1 class="font-bold text-2xl">{{.Title}}</h1>
|
<h1 class="font-bold text-2xl">{{.Title}}</h1>
|
||||||
<p>{{.Description}}</p>
|
<p>{{.Description}}</p>
|
||||||
</div>
|
</div>
|
||||||
@ -17,20 +17,14 @@
|
|||||||
|
|
||||||
<div>
|
<div>
|
||||||
<h3>Cover</h3>
|
<h3>Cover</h3>
|
||||||
<div class="flex">
|
<div class="grid grid-cols-2 gap-4 items-center">
|
||||||
|
<input class="h-full" name="issue-title" placeholder="Titel" type="text" />
|
||||||
<label class="btn text-center" for="image-upload">Bild hochladen</label>
|
<label class="btn text-center" for="image-upload">Bild hochladen</label>
|
||||||
<input class="hidden" id="image-upload" name="issue-image" type="file" required
|
<input class="hidden" id="image-upload" name="issue-image" type="file" required
|
||||||
hx-post="/issue/upload-image" />
|
hx-post="/issue/upload-image" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
|
||||||
<h3>Titel</h3>
|
|
||||||
<div class="flex flex-col gap-y-1">
|
|
||||||
<input name="issue-title" type="text" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<h3>Über diese Ausgabe</h3>
|
<h3>Über diese Ausgabe</h3>
|
||||||
<div>
|
<div>
|
||||||
|
@ -3,24 +3,24 @@
|
|||||||
|
|
||||||
<div>
|
<div>
|
||||||
<span>Titel</span>
|
<span>Titel</span>
|
||||||
<div class="bg-white border mb-3 px-2 py-2 rounded-md w-full">
|
<div class="bg-white border border-slate-200 dark:border-slate-800 mb-3 px-2 py-2 rounded-md w-full">
|
||||||
{{.Title}}
|
{{.Title}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<span>Beschreibung</span>
|
<span>Beschreibung</span>
|
||||||
<div class="bg-white border mb-3 px-2 py-2 rounded-md w-full">
|
<div class="bg-white border border-slate-200 dark:border-slate-800 mb-3 px-2 py-2 rounded-md w-full">
|
||||||
{{.Description}}
|
{{.Description}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<span>Artikel</span>
|
<span>Artikel</span>
|
||||||
<div class="bg-white border mb-3 px-2 py-2 rounded-md w-full">
|
<div class="bg-white border border-slate-200 dark:border-slate-800 mb-3 px-2 py-2 rounded-md w-full">
|
||||||
<div class="prose">
|
<div class="prose">
|
||||||
{{.Content}}
|
{{.Content}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<span>Tags</span>
|
<span>Tags</span>
|
||||||
<div class="bg-white border mb-3 px-2 py-2 rounded-md w-full">
|
<div class="bg-white border border-slate-200 dark:border-slate-800 mb-3 px-2 py-2 rounded-md w-full">
|
||||||
{{range .Tags}}
|
{{range .Tags}}
|
||||||
{{.Name}}
|
{{.Name}}
|
||||||
<br>
|
<br>
|
||||||
|
@ -3,24 +3,24 @@
|
|||||||
|
|
||||||
<div>
|
<div>
|
||||||
<span>Titel</span>
|
<span>Titel</span>
|
||||||
<div class="bg-white border mb-3 px-2 py-2 rounded-md w-full">
|
<div class="bg-white border border-slate-200 dark:border-slate-800 mb-3 px-2 py-2 rounded-md w-full">
|
||||||
{{.Article.Title}}
|
{{.Article.Title}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<span>Beschreibung</span>
|
<span>Beschreibung</span>
|
||||||
<div class="bg-white border mb-3 px-2 py-2 rounded-md w-full">
|
<div class="bg-white border border-slate-200 dark:border-slate-800 mb-3 px-2 py-2 rounded-md w-full">
|
||||||
{{.Article.Description}}
|
{{.Article.Description}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<span>Artikel</span>
|
<span>Artikel</span>
|
||||||
<div class="bg-white border mb-3 px-2 py-2 rounded-md w-full">
|
<div class="bg-white border border-slate-200 dark:border-slate-800 mb-3 px-2 py-2 rounded-md w-full">
|
||||||
<div class="prose">
|
<div class="prose">
|
||||||
{{.Content}}
|
{{.Content}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<span>Tags</span>
|
<span>Tags</span>
|
||||||
<div class="bg-white border mb-3 px-2 py-2 rounded-md w-full">
|
<div class="bg-white border border-slate-200 dark:border-slate-800 mb-3 px-2 py-2 rounded-md w-full">
|
||||||
{{if .Article.IsInIssue}}
|
{{if .Article.IsInIssue}}
|
||||||
<span>Orient Express</span>
|
<span>Orient Express</span>
|
||||||
<br>
|
<br>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user