dokumentation und planung
This commit is contained in:
parent
27807fe064
commit
1c81e41a6f
38
README.MD
38
README.MD
|
@ -1,5 +1,7 @@
|
||||||
# README
|
# README
|
||||||
|
|
||||||
|
**In Arbeit**
|
||||||
|
|
||||||
## Struktur
|
## Struktur
|
||||||
|
|
||||||
| Name | Pfad |
|
| Name | Pfad |
|
||||||
|
@ -9,3 +11,39 @@
|
||||||
| Bilder | /images/ |
|
| Bilder | /images/ |
|
||||||
| CSS | /styles/ |
|
| CSS | /styles/ |
|
||||||
| PHP Scripts | /php/ |
|
| PHP Scripts | /php/ |
|
||||||
|
|
||||||
|
## Einbinden von eigenen Elementen
|
||||||
|
|
||||||
|
Im head-Bereich der jeweiligen Seite:
|
||||||
|
```
|
||||||
|
<?php require 'php/generator.php'; ?>
|
||||||
|
```
|
||||||
|
|
||||||
|
Im Elementbereich:
|
||||||
|
```
|
||||||
|
<?php print_file("elements/element_name.html"); ?>
|
||||||
|
```
|
||||||
|
|
||||||
|
Eigenes CSS kann in der Datei *elements_custom.css* hinzugefügt werden.
|
||||||
|
|
||||||
|
## Erstellen neuer Events
|
||||||
|
|
||||||
|
Datei im Elementverzeichnis Anlegen: *YYYY-MM-DD.html*
|
||||||
|
|
||||||
|
Strukturierung:
|
||||||
|
```
|
||||||
|
<h1 class="title"> Event Titel </h1>
|
||||||
|
<p class="date"> Event Datum </p>
|
||||||
|
<p class="desc"> Event Beschreibung </p>
|
||||||
|
<div class="content">
|
||||||
|
Event Content
|
||||||
|
...
|
||||||
|
</div>
|
||||||
|
```
|
||||||
|
|
||||||
|
Eigenes CSS kann in der Datei *events_custom.css* hinzugefügt werden.
|
||||||
|
|
||||||
|
## Geplantes
|
||||||
|
|
||||||
|
- Markdown für Events
|
||||||
|
- Dockerimage -> Webserver mit regelmäßigem *git pull*
|
|
@ -0,0 +1,7 @@
|
||||||
|
<h1 class="title"> Event Titel </h1>
|
||||||
|
<p class="date"> Event Datum </p>
|
||||||
|
<p class="desc"> Event Beschreibung </p>
|
||||||
|
<div class="content">
|
||||||
|
Event Content
|
||||||
|
...
|
||||||
|
</div>
|
|
@ -1,4 +0,0 @@
|
||||||
<h1 class="title">!EVENTTITLE</h1>
|
|
||||||
<p class="date">!EVENTDATE</p>
|
|
||||||
<p class="desc">!EVENTDESC</p>
|
|
||||||
<p class="content">!EVENTCONTENT</p>
|
|
Loading…
Reference in New Issue