erste article-Implementation

article-Interface & -Klasse
+ createArticle.php mit article.css (Editor)
+ neuer "Beitrag erstellen"-Button in Navbar
This commit is contained in:
NOrtmann1
2026-05-26 10:36:56 +02:00
parent c41302d046
commit a1184299b1
6 changed files with 187 additions and 4 deletions
+36
View File
@@ -0,0 +1,36 @@
<!--
Seite: Beitrag erstellen
Inhalt: Formular für die Erstellung eines neuen Beitrags
-->
<form id="editor-form" class="wp-editor-scope editor-container">
<main class="editor-main">
<input type="text" id="post-title" name="title" placeholder="Titel hier eingeben" required>
<textarea id="post-content" name="content" placeholder="Schreibe deinen Beitrag..."></textarea>
</main>
<!-- Seitenleiste -->
<aside class="editor-sidebar">
<div class="sidebar-block">
<button type="submit" class="btn-publish">Veröffentlichen</button>
</div>
<div class="sidebar-block">
<label for="post-category">Kategorie <span class="required">*</span></label>
<select id="post-category" name="category" required>
<option value="" disabled selected>Kategorie wählen...</option>
<option value="allgemein">Allgemein</option>
<option value="technik">Technik</option>
<option value="lifestyle">Lifestyle</option>
</select>
</div>
<div class="sidebar-block">
<label for="post-tags">Schlagwörter</label>
<input type="text" id="post-tags" name="tags" placeholder="z.B. Webdesign, HTML, CSS (mit Komma trennen)">
</div>
</aside>
</form>