initial commit

This commit is contained in:
ston1th 2016-09-05 22:49:40 +02:00
commit 3f79fc8e6c
527 changed files with 373170 additions and 0 deletions

41
templates/userNew.html Normal file
View file

@ -0,0 +1,41 @@
{{define "body"}}
<div class="page-header">
<div class="row">
<h2>{{.BodyTitle}}</h2>
</div>
</div>
<form class="form-horizontal" action="/user/new" method="post">
<input type="hidden" name="token" value="{{.Token}}">
<fieldset>
<div class="form-group">
<label class="col-lg-3 control-label">Username</label>
<div class="col-lg-6">
<input class="form-control input-sm" type="text" name="user" value required>
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label">Password</label>
<div class="col-lg-6">
<input class="form-control input-sm" type="password" name="password" value required>
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label">Repeat</label>
<div class="col-lg-6">
<input class="form-control input-sm" type="password" name="repeat" value required>
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label">Admin Privileges</label>
<div class="col-lg-6">
<input type="checkbox" name="admin" value="0">
</div>
</div>
<div class="form-group">
<div class="col-lg-6 col-lg-offset-3">
<button class="btn btn-sm btn-primary" type="submit" name="submit" value="Submit">Submit</button>
</div>
</div>
</fieldset>
</form>
{{end}}