mirror of https://github.com/lumapu/ahoy.git
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							51 lines
						
					
					
						
							2.2 KiB
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							51 lines
						
					
					
						
							2.2 KiB
						
					
					
				| <!doctype html> | |
| <html> | |
|     <head> | |
|         <title>Setup - {DEVICE}</title> | |
|         <link rel="stylesheet" type="text/css" href="style.css"/> | |
|         <meta name="viewport" content="width=device-width, initial-scale=1"> | |
|     </head> | |
|     <body> | |
|         <h1>Setup</h1> | |
|         <div id="setup" class="content"> | |
|             <div id="content"> | |
|                 <p> | |
|                     Enter the credentials to your prefered WiFi station. After rebooting the device tries to connect with this information. | |
|                 </p> | |
|                 <form method="post" action="/save"> | |
|                     <p class="des">WiFi</p> | |
|                     <div class="inputWrp"> | |
|                         <input type="text" class="inputText" name="ssid" value="{SSID}" required/> | |
|                         <span class="floating_label">SSID</span> | |
|                     </div> | |
|                     <div class="inputWrp"> | |
|                         <input type="password" class="inputText" name="pwd" value="{PWD}" required/> | |
|                         <span class="floating_label">PASSWORD</span> | |
|                     </div> | |
|                     <p class="des">Device Host Name</p> | |
|                     <div class="inputWrp"> | |
|                         <input type="text" class="inputText" name="device" value="{DEVICE}" required/> | |
|                         <span class="floating_label">DEVICE NAME</span> | |
|                     </div> | |
| 
 | |
|                     <p class="des">General</p> | |
| 
 | |
|                     <div class="inputWrp"> | |
|                         <input type="text" class="inputText" name="hoy_addr" value="{HOY_ADDR}" required/> | |
|                         <span class="floating_label">HOYMILES ADDRESS (eg. 11:22:33:44:55:66)</span> | |
|                     </div> | |
|                     <input type="checkbox" class="cb" name="reboot"/> | |
|                     <label for="reboot">Reboot device after successful save</label> | |
| 
 | |
|                     <input type="submit" value="save" class="button" /> | |
|                 </form> | |
|             </div> | |
|         </div> | |
| 
 | |
|         <div id="footer"> | |
|             <p class="left"><a href="/">Home</a></p> | |
|             <p class="left"><a href="/update">Update Firmware</a></p> | |
|             <p class="right">AHOY - {VERSION}</p> | |
|         </div> | |
|     </body> | |
| </html>
 | |
| 
 |