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