diff options
author | Malf Furious <m@lfurio.us> | 2016-03-13 16:54:17 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2016-03-27 20:16:32 -0400 |
commit | d60706acd0ac810783a24d2e33b76f6955d72599 (patch) | |
tree | 57d62e895cd2c3c2f12f451e00997971a962be2a | |
parent | 2936f0d151fb52bd2649edc37abd2e1d559d1f0f (diff) | |
download | scrott-d60706acd0ac810783a24d2e33b76f6955d72599.tar.gz scrott-d60706acd0ac810783a24d2e33b76f6955d72599.zip |
Add view for setting modal, all users admin tab
-rw-r--r-- | app/view/common/setting.modal.view.php | 54 |
1 files changed, 53 insertions, 1 deletions
diff --git a/app/view/common/setting.modal.view.php b/app/view/common/setting.modal.view.php index d9a834b..88a933d 100644 --- a/app/view/common/setting.modal.view.php +++ b/app/view/common/setting.modal.view.php @@ -129,7 +129,59 @@ </div> <div class="tab-pane fade" id="settUsersTab"> - all users' schings + <p> </p> + + <div class="panel-group" id="common-setting-allusers"> + <div class="panel panel-default"> + <div class="panel-heading"> + <h4 class="panel-title"> + <a href="#common-setting-allusers-add-collapse" data-toggle="collapse" data-parent="#common-setting-allusers" aria-expanded="false"> + <span class="glyphicon glyphicon-plus"></span> Add New User + </a> + </h4> + </div> + + <div class="panel-collapse collapse" id="common-setting-allusers-add-collapse"> + <div class="panel-body"> + <form method="post" action="<?=$mod->ap()?>"> + <input type="hidden" name="input[action]" value="common-setting-allusers-adduser" /> + <div class="form-group"> + <label>Username</label> + <input type="text" name="input[username]" class="form-control" required="true" /> + </div> + + <div class="form-group"> + <label>Password</label> + <input type="password" name="input[password]" class="form-control" /> + </div> + + <div class="form-group"> + <label>Confirm Password</label> + <input type="password" name="input[cPassword]" class="form-control" /> + </div> + + <div class="checkbox"> + <label> + <input type="checkbox" name="input[admin]" value="1" /> Administrator + </label> + </div> + + <div class="form-group"> + <label>Alias</label> + <input type="text" name="input[alias]" class="form-control" /> + </div> + + <div class="form-group"> + <label>Email</label> + <input type="text" name="input[email]" class="form-control" /> + </div> + + <button type="submit" class="btn btn-success pull-right">Add</button> + </form> + </div> + </div> + </div> + </div> </div> <?php } ?> </div> |