Added headings to all templates

This commit is contained in:
Jason Streifling 2024-04-07 18:57:03 +02:00
parent 822ca2b8ab
commit f98ab149a2
10 changed files with 14 additions and 3 deletions

View File

@ -1,5 +1,6 @@
{{define "page-content"}}
<h2>Neuer Benutzer</h2>
<form>
<div class="grid grid-cols-3 gap-4">
<div>

View File

@ -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">

View File

@ -1,4 +1,6 @@
{{define "page-content"}}
<h2>Benutzerdaten bearbeiten</h2>
<form>
<div class="grid grid-cols-3 gap-4">
<div>

View File

@ -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>

View File

@ -1,3 +0,0 @@
{{define "page-content"}}
{{.}}
{{end}}

View File

@ -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" />

View File

@ -1,4 +1,6 @@
{{define "page-content"}}
<h2>Abgelehnte Artikel</h2>
<div class="flex flex-col gap-4">
{{range .RejectedArticles}}
{{if index $.MyIDs .ID}}

View File

@ -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>

View File

@ -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">

View File

@ -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">