tesses-cms/Tesses.CMS/Assets/ManageHtml.html

37 lines
1.5 KiB
HTML
Raw Normal View History

2024-01-04 02:53:13 +00:00
<ul class="list-group">
{{for user in users}}
<li class="list-group-item">
{{user.propername}} ({{user.name}})
2024-07-28 22:59:28 +00:00
<form action="./manage?csrf={{csrf}}" method="post" enctype="application/x-www-form-urlencoded">
2024-01-04 02:53:13 +00:00
<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>