small fixes
This commit is contained in:
parent
85c269cdf9
commit
ff4053e9d3
|
@ -4,3 +4,6 @@ date: 2021-06-22T23:00:00+02:00
|
||||||
description: "generator"
|
description: "generator"
|
||||||
type: "tools"
|
type: "tools"
|
||||||
---
|
---
|
||||||
|
Hier kannst du einen neuen Artikel generieren.
|
||||||
|
|
||||||
|
**Einträge mit * sind minimal erforderlich.**
|
|
@ -8,6 +8,10 @@
|
||||||
background: url(/images/logo_back_full.svg);
|
background: url(/images/logo_back_full.svg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
form label {
|
form label {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 100px;
|
width: 100px;
|
||||||
|
@ -117,7 +121,7 @@ article #readmore {
|
||||||
article {
|
article {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 2rem;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -130,8 +134,7 @@ article h3 {
|
||||||
}
|
}
|
||||||
|
|
||||||
#articlemeta {
|
#articlemeta {
|
||||||
margin-top: .5rem;
|
margin-bottom: 1.5rem;
|
||||||
margin-bottom: 2rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#articlemeta div:first-child {
|
#articlemeta div:first-child {
|
||||||
|
|
|
@ -2,23 +2,11 @@
|
||||||
<link rel="stylesheet" href="/css/visibleIf.css" type="text/css" />
|
<link rel="stylesheet" href="/css/visibleIf.css" type="text/css" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<h1>Artikelgenerator</h1>
|
<h1>Artikelgenerator</h1>
|
||||||
<article>
|
<article style="width: calc(100vw - 5rem); max-width: 800px;">
|
||||||
|
<div style="flex-direction: row;">
|
||||||
<p>
|
{{ .Content }}
|
||||||
Hier kannst du einen neuen Artikel generieren.<br><br>
|
</div >
|
||||||
Wenn du einen Event erstellen willst, schreibe den zB. "Sonntag, 13.2.2022, 19Uhr - 20Uhr" in die Fläche "Termin".<br>
|
<noscript><p><b>Bitte aktiviere Javascript, sonst funktioniert der Generator nicht.</b></p></noscript>
|
||||||
Ist es ein Termin, ist es sinnvoll diesen zu Kategoriesieren:<br>Wähle aus den gegebenen aus oder erstelle neue, indem du
|
|
||||||
im Feld "Neu" unter "Kategorie" neue Kategorien, mit Komma getrennt, eingibst. ZB. "Workshop,Externer Termin".
|
|
||||||
<br><br>
|
|
||||||
Jeder Artikel kann getaggt werden. Das Vorgehen ist dabei Analog zu den Kategorien.
|
|
||||||
<br>
|
|
||||||
Soll der Artikel auf der Homepage ganz vorne erscheinen, dann gib "Wichtige Neuigkeiten" einen Haken.
|
|
||||||
</p>
|
|
||||||
<p><b>Einträge mit * sind minimal erforderlich.</b></p>
|
|
||||||
<noscript><p><b>Bitte aktiviere Javascript, sonst funktioniert der Generator nicht.</b></p></noscript>
|
|
||||||
|
|
||||||
<div id='display' class="result" style="white-space: pre; display: none; background: var(--background-body); padding: .6rem 0 1rem 1rem;">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<form id="myform" style="display: flex; flex-shrink: 0; flex-grow: 1; flex-direction: column; max-width: 950px; margin-top: 1rem;">
|
<form id="myform" style="display: flex; flex-shrink: 0; flex-grow: 1; flex-direction: column; max-width: 950px; margin-top: 1rem;">
|
||||||
{{ partial "orga/generator/partials/input_line" (dict "name" "title" "mandatory" "true") }}
|
{{ partial "orga/generator/partials/input_line" (dict "name" "title" "mandatory" "true") }}
|
||||||
|
@ -38,6 +26,10 @@
|
||||||
{{ partial "orga/generator/partials/categories_and_tags.html" (dict "name" "tags" "new" "true") }}
|
{{ partial "orga/generator/partials/categories_and_tags.html" (dict "name" "tags" "new" "true") }}
|
||||||
<!-- {{ partial "orga/generator/partials/input_line" (dict "name" "covid" "mandatory" "false" "eg" "3G") }} -->
|
<!-- {{ partial "orga/generator/partials/input_line" (dict "name" "covid" "mandatory" "false" "eg" "3G") }} -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div id='display' class="result" style="white-space: pre; display: none; background: var(--background-body); padding: .6rem 0 1rem 1rem;">
|
||||||
|
</div>
|
||||||
|
|
||||||
{{ partial "orga/generator/submit" }}
|
{{ partial "orga/generator/submit" }}
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<div id="articletitle">
|
<div id="articletitle">
|
||||||
<h1>{{- .Title -}}</h1>
|
<h1>{{- .Title -}}</h1>
|
||||||
</div>
|
</div>
|
||||||
{{- $pic := index (.Resources.ByType "image") 0 -}}
|
{{- $pic := index (.Resources.ByType "image") 0 -}}
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user