mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:22:43 +00:00 
			
		
		
		
	 021d78f8f7
			
		
	
	
		021d78f8f7
		
	
	
	
	
		
			
			Add a simple HTML error page that gets loaded into the HtmlView when loading the page fails. Closes #1210 and #1516
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			479 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			479 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <html>
 | |
|     <head>
 | |
|         <title>Error!</title>
 | |
|         <style>
 | |
|             h1 {
 | |
|                 display: inline;
 | |
|             }
 | |
|             header {
 | |
|                 margin-bottom: 10px;
 | |
|             }
 | |
|         </style>
 | |
|     </head>
 | |
|     <body>
 | |
|         <header>
 | |
|             <img src="file:///res/icons/32x32/msgbox-warning.png" alt="Warning" width="24" height="24">
 | |
|             <h1>Failed to load %s</h1>
 | |
|         </header>
 | |
|         <p>Error: %s</p>
 | |
|     </body>
 | |
| </html>
 |