<!DOCTYPE html>
<html lang="en">
<head>
    <link href="<?cs loop:x = #Request.PathLevel, #2, "-1" ?>../<?cs /loop ?>lib/css/styles.css" media="screen" rel="Stylesheet">
    <title>Error <?cs var:Error.status_code ?></title>
    <meta name="theme-color" content="#3D3E40">
    <meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-title" content="M/Monit" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
    <link rel="apple-touch-icon" href="<?cs loop:x = #Request.PathLevel, #2, "-1" ?>../<?cs /loop ?>img/apple-touch-icon.png"/>
    <link rel="manifest" href="<?cs loop:x = #Request.PathLevel, #2, "-1" ?>../<?cs /loop ?>img/manifest.webmanifest"/>
</head>
<body onclick="history.back();" class="error-page">
    <div id="wrap white">
        <div class="status-bar-spacer"></div>
        <div id="main">
            <?cs if:Error.status_code == 400 ?>
            <h1>Bad Request</h1>
            <?cs elif:Error.status_code == 401 ?>
            <h1>Unauthorized</h1>
            <?cs elif:Error.status_code == 404 ?>
            <h1>Not Found</h1>
            <?cs elif:Error.status_code == 500 ?>
            <h1>Internal Server Error</h1>
            <?cs else ?>
            <h1>Error <?cs var:Error.status_code ?></h1>
            <?cs /if ?>
            <h4><?cs var:Error.message ?></h4>
            <div class="toright">
                <img src="<?cs loop:x = #Request.PathLevel, #2, "-1" ?>../<?cs /loop ?>img/panic.jpg" border="0" alt="error">
            </div>
        </div> <!-- main -->
    </div> <!-- wrap -->
</body>
</html>
