Started a basic Electron app project; adding simple LDAP binding functionality
This commit is contained in:
		
							
								
								
									
										37
									
								
								views/login.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								views/login.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,37 @@ | ||||
| <!DOCTYPE html> | ||||
| <html> | ||||
|   <head> | ||||
|     <meta charset="UTF-8"> | ||||
|     <!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP --> | ||||
|     <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'"> | ||||
|     <link href="../styles/archon.css" rel="stylesheet"> | ||||
|     <title>Hello World!</title> | ||||
|     <script src="../js/login.js"></script> | ||||
|   </head> | ||||
|   <body> | ||||
|     <h1>Login</h1> | ||||
|  | ||||
|     <form id="loginForm"> | ||||
|       <label> | ||||
|         LDAP Host: | ||||
|         <input type="text" name="ldap_host" placeholder="Enter LDAP host..."> | ||||
|       </label> | ||||
|  | ||||
|       <label> | ||||
|         Bind DN: | ||||
|         <input type="text" name="bind_dn" placeholder="Enter bind DN..."> | ||||
|       </label> | ||||
|  | ||||
|       <label> | ||||
|         Bind Password: | ||||
|         <input type="text" name="bind_pw" placeholder="Enter bind DN..."> | ||||
|       </label> | ||||
|  | ||||
|       <input type="submit" name="bind_submit" value="Login"> | ||||
|     </form> | ||||
|  | ||||
|     We are using Node.js <span id="node-version"></span>, | ||||
|     Chromium <span id="chrome-version"></span>, | ||||
|     and Electron <span id="electron-version"></span>. | ||||
|   </body> | ||||
| </html> | ||||
		Reference in New Issue
	
	Block a user