31 lines
581 B
HTML
31 lines
581 B
HTML
{{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>Public IP</label><br>
|
|
<input type="text" name="PublicIP">
|
|
</p>
|
|
<p>
|
|
<label>Port</label><br>
|
|
<input type="number" name="Port" value="456">
|
|
</p>
|
|
<p>
|
|
<label>
|
|
<input type="checkbox" name="Relay">
|
|
Relay
|
|
</label>
|
|
</p>
|
|
<p>
|
|
<button type="submit">Save</button>
|
|
<a href="/admin/config/">Cancel</a>
|
|
</p>
|
|
</form>
|
|
|
|
{{- end}}
|