mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Add color to login error for better visability (#478)
This commit is contained in:
		
				
					committed by
					
						 Otto Winter
						Otto Winter
					
				
			
			
				
	
			
			
			
						parent
						
							23df5d8af7
						
					
				
				
					commit
					c4ada8c9f0
				
			| @@ -235,3 +235,10 @@ ul.stepper:not(.horizontal) .step.active::before, ul.stepper:not(.horizontal) .s | |||||||
|   vertical-align: middle; |   vertical-align: middle; | ||||||
|   color: #666 !important; |   color: #666 !important; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | .error { | ||||||
|  |   background: #e53935; | ||||||
|  |   color: #fff; | ||||||
|  |   padding: 10px 15px; | ||||||
|  |   margin-top: 15px; | ||||||
|  | } | ||||||
|   | |||||||
| @@ -35,7 +35,7 @@ | |||||||
|             Please login using your Home Assistant credentials. |             Please login using your Home Assistant credentials. | ||||||
|           </p> |           </p> | ||||||
|           {% if error is not None %} |           {% if error is not None %} | ||||||
|             <p> |             <p class="error"> | ||||||
|               {{ escape(error) }} |               {{ escape(error) }} | ||||||
|             </p> |             </p> | ||||||
|           {% end %} |           {% end %} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user