summaryrefslogtreecommitdiffstats
path: root/examples/newgroup.modal.view.php
diff options
context:
space:
mode:
Diffstat (limited to 'examples/newgroup.modal.view.php')
-rw-r--r--examples/newgroup.modal.view.php49
1 files changed, 49 insertions, 0 deletions
diff --git a/examples/newgroup.modal.view.php b/examples/newgroup.modal.view.php
new file mode 100644
index 0000000..3dd631c
--- /dev/null
+++ b/examples/newgroup.modal.view.php
@@ -0,0 +1,49 @@
+<?php
+
+/*
+ * SCROTT Copyright (C) 2016 Malf Furious
+ *
+ * Scrott is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published
+ * by the Free Software Foundation, either version 3 of the License,
+ * or (at your option) any later version.
+ *
+ * Scrott is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+ * License for more details.
+ */
+
+?>
+
+<div id="newgroupModal" class="modal fade" tabindex="-1" role="dialog">
+ <div class="modal-dialog modal-sm" role="document">
+ <div class="modal-content">
+ <div class="modal-header">
+
+ <button type="button" class="close" data-dismiss="modal">
+ <span aria-hidden="true">&times;</span>
+ </button>
+
+ <h4 class="modal-title"><span class="glyphicon glyphicon-th"></span> Create new Group</h4>
+
+ </div>
+
+ <div class="modal-body">
+ <form method="post" action="<?=$mod->ap()?>">
+ <input type="hidden" name="input[action]" value="common-group-add" />
+ <div class="form-group">
+ <label>Group Name</label>
+ <input type="text" name="input[name]" class="form-control" required="true" maxlength="50" />
+ </div>
+
+ <button type="submit" class="btn btn-success pull-right">
+ <span class="glyphicon glyphicon-plus"></span> Add
+ </button>
+ </form>
+
+ <p>&nbsp;</p>
+ </div>
+ </div>
+ </div>
+</div>