Refactoring in progress, needs cleanup.
This commit is contained in:
		
							
								
								
									
										28
									
								
								static/login.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								static/login.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| <!DOCTYPE html> | ||||
| <html> | ||||
| <head> | ||||
|     <title>Login - Passkey Authentication</title> | ||||
|     <link rel="stylesheet" href="/static/style.css"> | ||||
|     <script src="/static/simplewebauthn-browser.min.js"></script> | ||||
|     <script src="/static/awaitable-websocket.js"></script> | ||||
| </head> | ||||
| <body> | ||||
|     <div class="container"> | ||||
|         <!-- Login View --> | ||||
|         <div id="loginView" class="view active"> | ||||
|             <h1>🔐 Passkey Login</h1> | ||||
|             <div id="loginStatus"></div> | ||||
|             <form id="authenticationForm"> | ||||
|                 <button type="submit" class="btn-primary">Login with Your Device</button> | ||||
|             </form> | ||||
|             <p class="toggle-link" onclick="window.location.href='/auth/register'"> | ||||
|                 Don't have an account? Register here | ||||
|             </p> | ||||
|         </div> | ||||
|     </div> | ||||
|  | ||||
|     <script src="/static/app.js"></script> | ||||
|     <script src="/static/util.js"></script> | ||||
|     <script src="/static/login.js"></script> | ||||
| </body> | ||||
| </html> | ||||
		Reference in New Issue
	
	Block a user
	 Leo Vasanko
					Leo Vasanko