75 lines
No EOL
3.4 KiB
PHP
75 lines
No EOL
3.4 KiB
PHP
<?php
|
|
function getError500()
|
|
{
|
|
return <<<EOF
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>500 - Internal Server error</title>
|
|
<link href="/css/error.css" rel="stylesheet">
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
|
|
<script src="https://www.mattboldt.com/demos/typed-js/js/typed.custom.js"></script>
|
|
</head>
|
|
<body>
|
|
<!-- Matomo Image Tracker-->
|
|
<img src="https://matomo.jonasled.de/matomo.php?idsite=1&rec=1" style="border:0" alt="" />
|
|
<!-- End Matomo -->
|
|
<div id="particles-js"></div>
|
|
<div class="terminal-window">
|
|
<header>
|
|
<div class="button green"></div>
|
|
<div class="button yellow"></div>
|
|
<div class="button red"></div>
|
|
</header>
|
|
<section class="terminal">
|
|
<div class="history"></div>
|
|
$ <span class="prompt"></span>
|
|
<span class="typed-cursor"></span>
|
|
</section>
|
|
</div>
|
|
<!-- data -->
|
|
<div class="terminal-data mimik-run-output">
|
|
<br>Found 1 feature<br>
|
|
----------------------------------------------<br>
|
|
Feature: Bottles <span class="gray"># ./features/bottles.feature</span><br><br>
|
|
Scenario: A bottle falls from the wall<br>
|
|
<span class="green">✓</span> <span class="gray">Given 100 green bottles are standing</span><br>
|
|
<span class="green">✓</span> <span class="gray">when 1 green bottle accidentally falls</span><br>
|
|
<span class="green">✓</span> <span class="gray">then there are 99 green bottles standing</span><br>
|
|
<br>
|
|
<span class="gray"> ---------- ----------- ------- -------- --------</span><br>
|
|
Features Scenarios Steps Passed Failed<br>
|
|
<span class="gray"> ---------- ----------- ------- -------- --------</span><br>
|
|
1 1 4 <span class="green">✓ 4</span> 0 <br>
|
|
<br>
|
|
Completed 1 feature in 0.01s<br>
|
|
<br>
|
|
</div>
|
|
<script>
|
|
var data = [
|
|
{
|
|
action: 'type',
|
|
strings: ["Accessing restricted files.."],
|
|
output: 'grabbing files..<br><br>',
|
|
postDelay: 1000
|
|
},
|
|
{
|
|
action: 'type',
|
|
strings: ["500 Internal Error"],
|
|
output: '<span class="gray">It looks like there is a bug</><br> ',
|
|
postDelay: 1000
|
|
},
|
|
{
|
|
action: 'type',
|
|
strings: ["These are not the error codes you're looking for.", 'Please either report this error to an administrator or return back and forget you were here...'],
|
|
postDelay: 2000
|
|
}
|
|
|
|
];
|
|
</script>
|
|
<script src="/js/error.js"></script>
|
|
</body>
|
|
</html>
|
|
EOF;
|
|
} |