mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-31 16:11:03 +01:00 
			
		
		
		
	Make registration screen easier to use (#1975)
This commit is contained in:
		
							parent
							
								
									1f4b59566a
								
							
						
					
					
						commit
						51676c668b
					
				| @ -58,6 +58,7 @@ after improving the test harness as part of adopting [#1460](https://github.com/ | ||||
| - Log available update as warning [#1877](https://github.com/juanfont/headscale/pull/1877) | ||||
| - Add `autogroup:internet` to Policy [#1917](https://github.com/juanfont/headscale/pull/1917) | ||||
| - Restore foreign keys and add constraints [#1562](https://github.com/juanfont/headscale/pull/1562) | ||||
| - Make registration page easier to use on mobile devices | ||||
| 
 | ||||
| ## 0.22.3 (2023-05-12) | ||||
| 
 | ||||
|  | ||||
| @ -143,6 +143,18 @@ var registerWebAPITemplate = template.Must( | ||||
| <html> | ||||
| 	<head> | ||||
| 		<title>Registration - Headscale</title> | ||||
| 		<meta name=viewport content="width=device-width, initial-scale=1"> | ||||
| 		<style> | ||||
| 			body { | ||||
| 				font-family: sans; | ||||
| 			} | ||||
| 			code { | ||||
| 				display: block; | ||||
| 				padding: 20px; | ||||
| 				border: 1px solid #bbb; | ||||
| 				background-color: #eee; | ||||
| 			} | ||||
| 		</style> | ||||
| 	</head> | ||||
| 	<body> | ||||
| 		<h1>headscale</h1> | ||||
| @ -150,7 +162,7 @@ var registerWebAPITemplate = template.Must( | ||||
| 		<p> | ||||
| 			Run the command below in the headscale server to add this machine to your network: | ||||
| 		</p> | ||||
| 		<pre><code>headscale nodes register --user USERNAME --key {{.Key}}</code></pre> | ||||
| 		<code>headscale nodes register --user USERNAME --key {{.Key}}</code> | ||||
| 	</body> | ||||
| </html> | ||||
| `)) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user