|
|
|
@ -30,71 +30,71 @@
|
|
|
|
|
<div class="text-center">
|
|
|
|
|
<button class="btn btn-primary" id="create">New Group</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="{relative_path}/src/forum/admin/groups.js"></script>
|
|
|
|
|
|
|
|
|
|
<div class="modal fade" id="create-modal">
|
|
|
|
|
<div class="modal-dialog">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
|
|
<h4 class="modal-title">Create Group</h4>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<div class="alert alert-danger hide" id="create-modal-error"></div>
|
|
|
|
|
<form>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="group-name">Group Name</label>
|
|
|
|
|
<input type="text" class="form-control" id="create-group-name" placeholder="Group Name" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="group-name">Description</label>
|
|
|
|
|
<input type="text" class="form-control" id="create-group-desc" placeholder="A short description about your group" />
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
|
|
|
<button type="button" class="btn btn-primary" id="create-modal-go">Create</button>
|
|
|
|
|
<div class="modal fade" id="create-modal">
|
|
|
|
|
<div class="modal-dialog">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
|
|
<h4 class="modal-title">Create Group</h4>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<div class="alert alert-danger hide" id="create-modal-error"></div>
|
|
|
|
|
<form>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="group-name">Group Name</label>
|
|
|
|
|
<input type="text" class="form-control" id="create-group-name" placeholder="Group Name" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="group-name">Description</label>
|
|
|
|
|
<input type="text" class="form-control" id="create-group-desc" placeholder="A short description about your group" />
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
|
|
|
<button type="button" class="btn btn-primary" id="create-modal-go">Create</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="modal fade" id="group-details-modal">
|
|
|
|
|
<div class="modal-dialog">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
|
|
<h4 class="modal-title">Manage Group</h4>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<div class="alert alert-danger hide" id="create-modal-error"></div>
|
|
|
|
|
<form>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="group-name">Group Name</label>
|
|
|
|
|
<input type="text" class="form-control" id="change-group-name" placeholder="Group Name" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="group-name">Description</label>
|
|
|
|
|
<input type="text" class="form-control" id="change-group-desc" placeholder="A short description about your group" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label>Members</label>
|
|
|
|
|
<ul class="members" id="group-details-members"></ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="add-member">Add User to Group</label>
|
|
|
|
|
<input type="text" class="form-control" id="group-details-search" placeholder="Search Users" />
|
|
|
|
|
<ul class="members" id="group-details-search-results">
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
|
|
|
<button type="button" class="btn btn-primary" id="create-modal-go">Create</button>
|
|
|
|
|
<div class="modal fade" id="group-details-modal">
|
|
|
|
|
<div class="modal-dialog">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
|
|
<h4 class="modal-title">Manage Group</h4>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<div class="alert alert-danger hide" id="create-modal-error"></div>
|
|
|
|
|
<form>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="group-name">Group Name</label>
|
|
|
|
|
<input type="text" class="form-control" id="change-group-name" placeholder="Group Name" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="group-name">Description</label>
|
|
|
|
|
<input type="text" class="form-control" id="change-group-desc" placeholder="A short description about your group" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label>Members</label>
|
|
|
|
|
<ul class="members" id="group-details-members"></ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="add-member">Add User to Group</label>
|
|
|
|
|
<input type="text" class="form-control" id="group-details-search" placeholder="Search Users" />
|
|
|
|
|
<ul class="members" id="group-details-search-results"></ul>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
|
|
|
<button type="button" class="btn btn-primary" id="group-details-save">Save</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="{relative_path}/src/forum/admin/groups.js"></script>
|