-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing group template (fix v0.2 issue for group management)
- Loading branch information
1 parent
98a5de4
commit f2ff44d
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{% extends "base.html" %} | ||
{% block body %} | ||
<div class="containter"> | ||
<div class="col-lg-6 col-lg-offset-3"> | ||
<div class="row"> </div> | ||
<div class="row"> | ||
<form class="form-horizontal centered" method="POST" action=""> | ||
<fieldset class="change-password"> | ||
|
||
<legend>Change groups of user {{ username }}</legend> | ||
<div class="row"> | ||
<div class="form-group col-md-12"> | ||
{% for group, active in groups.items() %} | ||
<label class="col-md-6 control-label" for="group_{{ group }}">{{ group }}</label> | ||
<div class="col-md-6"> | ||
<input id="group_{{ group }}" name="group_{{ group }}" type="checkbox" {% if active %}checked{% endif %} class="form-control input-md"> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="form-group col-md-12"> | ||
<label class="col-md-6 control-label" for="singlebutton"></label> | ||
<div class="col-md-6"> | ||
<button id="singlebutton" name="singlebutton" class="btn btn-primary">Validate</button> | ||
</div> | ||
</div> | ||
</div> | ||
</fieldset> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} |