37 lines
1.5 KiB
HTML
37 lines
1.5 KiB
HTML
|
|
||
|
<ul class="list-group">
|
||
|
{{for user in users}}
|
||
|
|
||
|
<li class="list-group-item">
|
||
|
{{user.propername}} ({{user.name}})
|
||
|
<form action="./manage" method="post" enctype="application/x-www-form-urlencoded">
|
||
|
<input type="hidden" name="name" value="{{user.nameattr}}">
|
||
|
<div class="form-check">
|
||
|
<input class="form-check-input" type="checkbox" id="flexCheckVerified{{user.i}}" name="verified" {{if user.isverified}} checked {{end}}>
|
||
|
<label class="form-check-label" for="flexCheckVerified{{user.i}}">
|
||
|
Is Verified
|
||
|
</label>
|
||
|
</div>
|
||
|
<br>
|
||
|
<div class="form-check">
|
||
|
<input class="form-check-input" type="checkbox" id="flexCheckInvited{{user.i}}" name="invited" {{if user.isinvited}} checked {{end}}>
|
||
|
<label class="form-check-label" for="flexCheckInvited{{user.i}}">
|
||
|
Is Invited
|
||
|
</label>
|
||
|
</div>
|
||
|
<br>
|
||
|
<div class="form-check">
|
||
|
<input class="form-check-input" type="checkbox" id="flexCheckAdmin{{user.i}}" name="admin" {{if user.isadmin}} checked {{end}}>
|
||
|
<label class="form-check-label" for="flexCheckAdmin{{user.i}}">
|
||
|
Is Admin
|
||
|
</label>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<input type="submit" class="btn btn-primary" value="Save">
|
||
|
<a href="{{user.impersonate}}" class="btn btn-primary">Impersonate</a>
|
||
|
</form>
|
||
|
|
||
|
</li>
|
||
|
{{end}}
|
||
|
</ul>
|