summaryrefslogblamecommitdiffstats
path: root/app/view/common/newgroup.modal.view.php
blob: 3dd631c947c6e61d96cf439a565797a28c343ce5 (plain) (tree)



































                                                                                                          
                                                                                                                    











                                                                             
<?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>