erste article-Implementation
article-Interface & -Klasse + createArticle.php mit article.css (Editor) + neuer "Beitrag erstellen"-Button in Navbar
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user