blob: cebb9355415dcd637499ba4877ccbc971fa84a55 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
@use super::statics::*;
@use actix_web::http::StatusCode;
@(code: StatusCode, message: &str)
<!doctype html>
<html lang="en" class="error">
<head>
<title>Error @code.as_u16(): @code.canonical_reason().unwrap_or("error")</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" href="/static/@style_css.name" />
</head>
<body>
<main>
<h1>@code.canonical_reason().unwrap_or("error")</h1>
<p>@message</p>
<p>oopsie!</p>
</main>
</body>
</html>
|