summaryrefslogtreecommitdiffstats
path: root/lib/new-story-dialog.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/new-story-dialog.inc.php38
1 files changed, 38 insertions, 0 deletions
diff --git a/lib/new-story-dialog.inc.php b/lib/new-story-dialog.inc.php
new file mode 100644
index 0000000..ee55e4b
--- /dev/null
+++ b/lib/new-story-dialog.inc.php
@@ -0,0 +1,38 @@
+<?php
+?>
+ <span id="add-new-story-btn" class="floating-action-btn" data-toggle="modal" data-target="#newStoryModal">
+ +
+ </span>
+ <!-- Modal -->
+ <div class="modal fade" id="newStoryModal" role="dialog">
+ <div class="modal-dialog">
+ <!-- Modal content-->
+ <div class="modal-content">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal">&times;</button>
+ <h4 class="modal-title">Neue Kindergeschichte anlegen</h4>
+ </div>
+ <div class="modal-body">
+ <form action="" method="post" enctype="multipart/form-data" id="create-story-form">
+ <div class="form-group">
+ <label for="name">Name der Kindergeschichte:</label>
+ <input type="text" class="form-control" id="story-name" name="story-name">
+ </div>
+ <div class="form-group">
+ <label for="story-description">Beschreibung der Kindergeschichte:</label>
+ <textarea class="form-control" rows="5" id="story-description" name="story-description"></textarea>
+ </div>
+ <div class="form-group">
+ <label for="story-logo">Logo der Kindergeschichte:</label>
+ <input type="file" name="story-logo" id="story-logo">
+ </div>
+ <div class="form-group">
+ <label for="story-header">Header Bild der Kindergeschichte:</label>
+ <input type="file" name="story-header" id="story-header">
+ </div>
+ <button type="submit" class="btn btn-info btn-sm">Anlegen</button>
+ </form>
+ </div>
+ </div>
+ </div>
+ </div>