Add user management

This commit is contained in:
2020-10-31 11:46:02 +01:00
parent 1f91686d25
commit 762d43c330
5 changed files with 185 additions and 15 deletions

View File

@@ -0,0 +1,21 @@
{{ define "page-content" }}
<form method="post" class="dialog">
<div class="form-content">
<label for="username">Username</label>
<input name="username" id="username" placeholder="Username"/>
<label for="role">Role</label>
<select name="role" id="role">
<option value="user" selected>User</option>
<option value="admin">Admin</option>
</select>
<label for="password">Password</label>
<input type="password" name="password" id="password" placeholder="Password"/>
</div>
<div class="form-controls">
<input type="submit" value="Create User"/>
</div>
</form>
{{ end }}