mirror of
				https://github.com/Telecominfraproject/wlan-ap.git
				synced 2025-10-31 02:17:58 +00:00 
			
		
		
		
	uspot: Improve HTML for captive portal UI
Signed-off-by: Simon Kinane <skinane@fb.com>
This commit is contained in:
		 Simon Kinane
					Simon Kinane
				
			
				
					committed by
					
						 John Crispin
						John Crispin
					
				
			
			
				
	
			
			
			 John Crispin
						John Crispin
					
				
			
						parent
						
							26be5ba20e
						
					
				
				
					commit
					956a31db8f
				
			| @@ -3,14 +3,18 @@ Content-Type: text/html | ||||
|  | ||||
| {{ header }} | ||||
| {% if (error): %} | ||||
| <h1> Invalid credentials </h1> | ||||
| <h2> Invalid credentials </h2> | ||||
| {% endif %} | ||||
|  | ||||
| <form action="/hotspot" method="POST"> | ||||
| <label for="fname">Username:</label> | ||||
| <input type="text" name="username"><br> | ||||
| <label for="fname">Password:</label> | ||||
| <input type="password" name="password"> | ||||
| 	<table> | ||||
| 		<tr><td><label for="fname">Username:</label></td> | ||||
| 			<td><input type="text" name="username"></td> | ||||
| 		</tr> | ||||
| 		<tr><td><label for="fname">Password:</label></td> | ||||
| 			<td><input type="password" name="password"></td> | ||||
| 		</tr> | ||||
| 	</table> | ||||
| <input type="hidden" name="action" value="credentials"> | ||||
| <input type="submit" value="Login" class="btn btn-primary btn-block"> | ||||
| </form> | ||||
|   | ||||
| @@ -3,6 +3,7 @@ Content-Type: text/html | ||||
|  | ||||
| {{ header }} | ||||
|  | ||||
| <h1> An Error occured, please try again </h1> | ||||
| <h2> An Error occured </h2> | ||||
| <h2> Please try again </h2> | ||||
|  | ||||
| {{ footer }} | ||||
|   | ||||
| @@ -3,14 +3,18 @@ Content-Type: text/html | ||||
|  | ||||
| {{ header }} | ||||
| {% if (error): %} | ||||
| <h1> Invalid credentials </h1> | ||||
| <h2> Invalid credentials </h2> | ||||
| {% endif %} | ||||
|  | ||||
| <form action="/hotspot" method="POST"> | ||||
| <label for="fname">Username:</label> | ||||
| <input type="text" name="username"><br> | ||||
| <label for="fname">Password:</label> | ||||
| <input type="password" name="password"> | ||||
| 	<table> | ||||
| 		<tr><td><label for="fname">Username:</label></td> | ||||
| 			<td><input type="text" name="username"></td> | ||||
| 		</tr> | ||||
| 		<tr><td><label for="fname">Password:</label></td> | ||||
| 			<td><input type="password" name="password"></td> | ||||
| 		</tr> | ||||
| 	</table> | ||||
| <input type="hidden" name="action" value="radius"> | ||||
| <input type="submit" value="Login" class="btn btn-primary btn-block"> | ||||
| </form> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user