mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
Base: Use % for keys in templates
The previous character used, @, conflicted with CSS. % is used by other templating engines, and doesn't conflict with language features (e.g. media queries).
This commit is contained in:
committed by
Andreas Kling
parent
634f2f655b
commit
27f3305b87
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Index of @path@</title>
|
||||
<title>Index of %path%</title>
|
||||
<style>
|
||||
header {
|
||||
margin-bottom: 10px;
|
||||
@@ -51,11 +51,11 @@
|
||||
<body>
|
||||
<header>
|
||||
<span class="folder" style="width: 24px; height: 24px;"></span>
|
||||
<h1>Index of @path@</h1>
|
||||
<h1>Index of %path%</h1>
|
||||
</header>
|
||||
<p><a href="@parent_url@"><span class="open-parent"></span>Open Parent Directory</a></p>
|
||||
<p><a href="%parent_url%"><span class="open-parent"></span>Open Parent Directory</a></p>
|
||||
<hr>
|
||||
@contents@
|
||||
%contents%
|
||||
<hr>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
<body>
|
||||
<header>
|
||||
<img src="resource://icons/32x32/msgbox-warning.png" alt="Warning" width="24" height="24">
|
||||
<h1>Failed to load @failed_url@</h1>
|
||||
<h1>Failed to load %failed_url%</h1>
|
||||
</header>
|
||||
<p>@error_message@</p>
|
||||
<p>%error_message%</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>About @browser_name@</title>
|
||||
<title>About %browser_name%</title>
|
||||
<style>
|
||||
img {
|
||||
float: left;
|
||||
@@ -20,32 +20,32 @@
|
||||
<body>
|
||||
<header>
|
||||
<img src="resource://icons/128x128/app-browser.png">
|
||||
<h1>About @browser_name@</h1>
|
||||
<h1>About %browser_name%</h1>
|
||||
</header>
|
||||
<table>
|
||||
<tr>
|
||||
<th>Version:</th>
|
||||
<td>@browser_version@</td>
|
||||
<td>%browser_version%</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Arch:</th>
|
||||
<td>@arch_name@</td>
|
||||
<td>%arch_name%</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Operating System:</th>
|
||||
<td>@os_name@</td>
|
||||
<td>%os_name%</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>User Agent:</th>
|
||||
<td>@user_agent@</td>
|
||||
<td>%user_agent%</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Command Line:</th>
|
||||
<td>@command_line@</td>
|
||||
<td>%command_line%</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Executable Path:</th>
|
||||
<td>@executable_path@</td>
|
||||
<td>%executable_path%</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user