Refined look of rejected and unpublished articles
This commit is contained in:
parent
ae90f693f6
commit
7fc115bcc3
@ -1,11 +1,14 @@
|
|||||||
{{define "page-content"}}
|
{{define "page-content"}}
|
||||||
<form>
|
<form>
|
||||||
<div>
|
<div class="flex flex-col gap-4">
|
||||||
{{range .RejectedArticles}}
|
{{range .RejectedArticles}}
|
||||||
<div>
|
<div class="border px-2 py-1 rounded-md flex gap-2">
|
||||||
{{if index $.MyIDs .ID}}
|
{{if index $.MyIDs .ID}}
|
||||||
<input required id="{{.ID}}" name="id" type="radio" value="{{.ID}}" />
|
<input required id="{{.ID}}" name="id" type="radio" value="{{.ID}}" />
|
||||||
<label for="{{.ID}}">{{.Title}}</label>
|
<label class="w-full" for="{{.ID}}">
|
||||||
|
<h1 class="font-bold text-2xl">{{.Title}}</h1>
|
||||||
|
<p>{{.Description}}</p>
|
||||||
|
</label>
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
@ -1,10 +1,13 @@
|
|||||||
{{define "page-content"}}
|
{{define "page-content"}}
|
||||||
<form>
|
<form>
|
||||||
<div class="grid grid-cols-4 gap-4">
|
<div class="flex flex-col gap-4">
|
||||||
{{range .}}
|
{{range .}}
|
||||||
<div>
|
<div class="border px-2 py-1 rounded-md flex gap-2">
|
||||||
<input required id="{{.ID}}" name="id" type="radio" value="{{.ID}}" />
|
<input required id="{{.ID}}" name="id" type="radio" value="{{.ID}}" />
|
||||||
<label for="{{.ID}}">{{.Title}}</label>
|
<label class="w-full" for="{{.ID}}">
|
||||||
|
<h1 class="font-bold text-2xl">{{.Title}}</h1>
|
||||||
|
<p>{{.Description}}</p>
|
||||||
|
</label>
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user