wip
This commit is contained in:
		
							
								
								
									
										20
									
								
								hub/templates/admin-config-edit.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								hub/templates/admin-config-edit.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| {{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}} | ||||
		Reference in New Issue
	
	Block a user