wip
This commit is contained in:
30
hub/templates/admin-peer-create.html
Normal file
30
hub/templates/admin-peer-create.html
Normal file
@@ -0,0 +1,30 @@
|
||||
{{define "body" -}}
|
||||
<h2>New Peer</h2>
|
||||
|
||||
<form method="POST">
|
||||
<input type="hidden" name="CSRF" value="{{.Session.CSRF}}">
|
||||
<p>
|
||||
<label>Name</label><br>
|
||||
<input type="text" name="Name">
|
||||
</p>
|
||||
<p>
|
||||
<label>IP</label><br>
|
||||
<input type="text" name="IP">
|
||||
</p>
|
||||
<p>
|
||||
<label>Port</label><br>
|
||||
<input type="number" name="Port" value="515">
|
||||
</p>
|
||||
<p>
|
||||
<label>
|
||||
<input type="checkbox" name="Mediator">
|
||||
Mediator
|
||||
</label>
|
||||
</p>
|
||||
<p>
|
||||
<button type="submit">Save</button>
|
||||
<a href="/admin/config/">Cancel</a>
|
||||
</p>
|
||||
</form>
|
||||
|
||||
{{- end}}
|
||||
Reference in New Issue
Block a user