mirror of
				https://github.com/Telecominfraproject/wlan-ap.git
				synced 2025-10-31 18:38:10 +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 }} | {{ header }} | ||||||
| {% if (error): %} | {% if (error): %} | ||||||
| <h1> Invalid credentials </h1> | <h2> Invalid credentials </h2> | ||||||
| {% endif %} | {% endif %} | ||||||
|  |  | ||||||
| <form action="/hotspot" method="POST"> | <form action="/hotspot" method="POST"> | ||||||
| <label for="fname">Username:</label> | 	<table> | ||||||
| <input type="text" name="username"><br> | 		<tr><td><label for="fname">Username:</label></td> | ||||||
| <label for="fname">Password:</label> | 			<td><input type="text" name="username"></td> | ||||||
| <input type="password" name="password"> | 		</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="hidden" name="action" value="credentials"> | ||||||
| <input type="submit" value="Login" class="btn btn-primary btn-block"> | <input type="submit" value="Login" class="btn btn-primary btn-block"> | ||||||
| </form> | </form> | ||||||
|   | |||||||
| @@ -3,6 +3,7 @@ Content-Type: text/html | |||||||
|  |  | ||||||
| {{ header }} | {{ header }} | ||||||
|  |  | ||||||
| <h1> An Error occured, please try again </h1> | <h2> An Error occured </h2> | ||||||
|  | <h2> Please try again </h2> | ||||||
|  |  | ||||||
| {{ footer }} | {{ footer }} | ||||||
|   | |||||||
| @@ -3,14 +3,18 @@ Content-Type: text/html | |||||||
|  |  | ||||||
| {{ header }} | {{ header }} | ||||||
| {% if (error): %} | {% if (error): %} | ||||||
| <h1> Invalid credentials </h1> | <h2> Invalid credentials </h2> | ||||||
| {% endif %} | {% endif %} | ||||||
|  |  | ||||||
| <form action="/hotspot" method="POST"> | <form action="/hotspot" method="POST"> | ||||||
| <label for="fname">Username:</label> | 	<table> | ||||||
| <input type="text" name="username"><br> | 		<tr><td><label for="fname">Username:</label></td> | ||||||
| <label for="fname">Password:</label> | 			<td><input type="text" name="username"></td> | ||||||
| <input type="password" name="password"> | 		</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="hidden" name="action" value="radius"> | ||||||
| <input type="submit" value="Login" class="btn btn-primary btn-block"> | <input type="submit" value="Login" class="btn btn-primary btn-block"> | ||||||
| </form> | </form> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user