mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:07:44 +00:00
LibWeb+Base: Use AK::SourceGenerator for error pages
Instead of storing a format string in a file, let's be reasonable and use SourceGenerator's template functionality. :^)
This commit is contained in:
parent
edf0b14e23
commit
3857148028
2 changed files with 9 additions and 9 deletions
|
@ -14,8 +14,8 @@
|
|||
<body>
|
||||
<header>
|
||||
<img src="file:///res/icons/32x32/msgbox-warning.png" alt="Warning" width="24" height="24">
|
||||
<h1>Failed to load {}</h1>
|
||||
<h1>Failed to load @failed_url@</h1>
|
||||
</header>
|
||||
<p>Error: {}</p>
|
||||
<p>Error: @error@</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue