diff options
-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> |