mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 00:56:14 +00:00
The error.html page now uses the resource_directory_url this variable contains the relative path to /Base/res/ on the host system as a file:// url. This is needed for future pages to load resource files like icons. For the error.html page this was not really needed because it lies over this own URL in FrameLoader.cpp.
25 lines
574 B
HTML
25 lines
574 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Error!</title>
|
|
<style>
|
|
h1 {
|
|
display: inline;
|
|
}
|
|
header {
|
|
margin-bottom: 10px;
|
|
}
|
|
img {
|
|
margin-right: 5px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<img src="@resource_directory_url@/icons/32x32/msgbox-warning.png" alt="Warning" width="24" height="24">
|
|
<h1>Failed to load @failed_url@</h1>
|
|
</header>
|
|
<p>Error: @error@</p>
|
|
</body>
|
|
</html>
|