Added headings to all templates
This commit is contained in:
parent
822ca2b8ab
commit
f98ab149a2
@ -1,5 +1,6 @@
|
|||||||
{{define "page-content"}}
|
{{define "page-content"}}
|
||||||
<h2>Neuer Benutzer</h2>
|
<h2>Neuer Benutzer</h2>
|
||||||
|
|
||||||
<form>
|
<form>
|
||||||
<div class="grid grid-cols-3 gap-4">
|
<div class="grid grid-cols-3 gap-4">
|
||||||
<div>
|
<div>
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
{{define "page-content"}}
|
{{define "page-content"}}
|
||||||
|
<h2>Aktuelle Artikel</h2>
|
||||||
|
|
||||||
<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 px-2 py-1 rounded-md">
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
{{define "page-content"}}
|
{{define "page-content"}}
|
||||||
|
<h2>Benutzerdaten bearbeiten</h2>
|
||||||
|
|
||||||
<form>
|
<form>
|
||||||
<div class="grid grid-cols-3 gap-4">
|
<div class="grid grid-cols-3 gap-4">
|
||||||
<div>
|
<div>
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{{define "page-content"}}
|
{{define "page-content"}}
|
||||||
<h2>Editor</h2>
|
<h2>Editor</h2>
|
||||||
|
|
||||||
<form>
|
<form>
|
||||||
<div class="flex flex-col gap-y-1">
|
<div class="flex flex-col gap-y-1">
|
||||||
<label for="article-title">Titel</label>
|
<label for="article-title">Titel</label>
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
{{define "page-content"}}
|
|
||||||
{{.}}
|
|
||||||
{{end}}
|
|
@ -1,5 +1,6 @@
|
|||||||
{{define "page-content"}}
|
{{define "page-content"}}
|
||||||
<h2>Anmeldung</h2>
|
<h2>Anmeldung</h2>
|
||||||
|
|
||||||
<form>
|
<form>
|
||||||
<div class="btn-area">
|
<div class="btn-area">
|
||||||
<input class="w-full" name="username" placeholder="Benutzername" type="text" />
|
<input class="w-full" name="username" placeholder="Benutzername" type="text" />
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
{{define "page-content"}}
|
{{define "page-content"}}
|
||||||
|
<h2>Abgelehnte Artikel</h2>
|
||||||
|
|
||||||
<div class="flex flex-col gap-4">
|
<div class="flex flex-col gap-4">
|
||||||
{{range .RejectedArticles}}
|
{{range .RejectedArticles}}
|
||||||
{{if index $.MyIDs .ID}}
|
{{if index $.MyIDs .ID}}
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{{define "page-content"}}
|
{{define "page-content"}}
|
||||||
<h2>Editor</h2>
|
<h2>Editor</h2>
|
||||||
|
|
||||||
<form>
|
<form>
|
||||||
<div class="flex flex-col gap-y-1">
|
<div class="flex flex-col gap-y-1">
|
||||||
<label for="article-title">Titel</label>
|
<label for="article-title">Titel</label>
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
{{define "page-content"}}
|
{{define "page-content"}}
|
||||||
|
<h2>Artikel veröffentlichen</h2>
|
||||||
|
|
||||||
<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 mb-3 px-2 py-2 rounded-md w-full">
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
{{define "page-content"}}
|
{{define "page-content"}}
|
||||||
|
<h2>Unveröffentlichte Artikel</h2>
|
||||||
|
|
||||||
<div class="flex flex-col gap-4">
|
<div class="flex flex-col gap-4">
|
||||||
{{range .}}
|
{{range .}}
|
||||||
<button class="btn" hx-get="/review-unpublished-article/{{.ID}}" hx-target="#page-content">
|
<button class="btn" hx-get="/review-unpublished-article/{{.ID}}" hx-target="#page-content">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user