21 lines
		
	
	
		
			484 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			484 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {{define "body" -}}
 | |
| <h2>Config</h2>
 | |
| 
 | |
| <form method="POST">
 | |
|   <input type="hidden" name="CSRF" value="{{.Session.CSRF}}">
 | |
|   <p>
 | |
|     <label>Hub Address</label><br>
 | |
|     <input type="url" name="HubAddress" value="{{.Config.HubAddress}}">
 | |
|   </p>
 | |
|   <p>
 | |
|     <label>VPN Network</label><br>
 | |
|     <input type="text" name="VPNNetwork" value="{{ipToString .Config.VPNNetwork}}">
 | |
|   </p>
 | |
|   <p>
 | |
|     <button type="submit">Save</button>
 | |
|     <a href="/admin/config/">Cancel</a>
 | |
|   </p>
 | |
| </form>
 | |
| 
 | |
| {{- end}}
 |