mirror of
https://github.com/tarampampam/error-pages.git
synced 2024-08-30 18:22:40 +00:00
57 lines
2.0 KiB
HTML
57 lines
2.0 KiB
HTML
<!DOCTYPE html>
|
|
<!--
|
|
Error 500: Internal Server Error
|
|
Description: The server met an unexpected condition
|
|
-->
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="robots" content="noindex, nofollow" />
|
|
<title>Internal Server Error</title>
|
|
<link rel="preconnect" href="https://fonts.bunny.net" crossorigin>
|
|
<link rel="dns-prefetch" href="https://fonts.bunny.net">
|
|
<link href="https://fonts.bunny.net/css?family=Nunito" rel="stylesheet">
|
|
<style>
|
|
html,body {background-color:#222526;color:#fff;font-family:'Nunito',sans-serif;font-weight:100;height:100vh;margin:0;font-size:0}
|
|
.full-height {height:100vh}
|
|
.flex-center {align-items:center;display:flex;justify-content:center}
|
|
.position-ref {position:relative}
|
|
.code {border-right:2px solid;font-size:26px;padding:0 10px 0 15px;text-align:center}
|
|
.message {font-size:18px;text-align:center;padding:10px}
|
|
/* */
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="flex-center position-ref full-height">
|
|
<div>
|
|
<div class="flex-center">
|
|
<div class="code">
|
|
500
|
|
</div>
|
|
<div class="message" data-l10n>
|
|
Internal Server Error
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<script>
|
|
//
|
|
if (navigator.language.substring(0, 2).toLowerCase() !== 'en') {
|
|
((s, p) => { // localize the page (details here - https://github.com/tarampampam/error-pages/tree/master/l10n)
|
|
s.src = 'https://cdn.jsdelivr.net/gh/tarampampam/error-pages@2/l10n/l10n.min.js'; // '../l10n/l10n.js';
|
|
s.async = s.defer = true;
|
|
s.addEventListener('load', () => p.removeChild(s));
|
|
p.appendChild(s);
|
|
})(document.createElement('script'), document.body);
|
|
}
|
|
//
|
|
</script>
|
|
</body>
|
|
<!--
|
|
Error 500: Internal Server Error
|
|
Description: The server met an unexpected condition
|
|
-->
|
|
</html>
|