Fix error pages

This commit is contained in:
Chris Blanchard 2015-08-27 13:20:19 +01:00
parent ead2f4073e
commit 704f0da649
2 changed files with 40 additions and 10 deletions

View file

@ -1,10 +1,25 @@
<div id="page-wrapper" style="min-height: 750px;">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Four Oh Four</h1>
<p>Page not found</p>
<div class="row" id="authenticating">
<div class="col-lg-6 col-lg-offset-3">
<div class="jumbotron jumbo-auth text-center">
<div>
<img src="/images/ensl_logo.png" class="jumbo-img" alt="ENSL Logo" />
</div>
<br />
<h3>Can't find the page you're looking for (404)</h3>
<br />
<h3><span id="admin">Prommah</span> lost it!</h3>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
var admins = ["Simple", "Yaluzan", "Lome", "Lambo", "Prommah", "Vindaloo"];
$("#admin").html(function () {
var i = Math.floor(Math.random() * admins.length);
return admins[i];
}());
</script>

View file

@ -1,10 +1,25 @@
<div id="page-wrapper" style="min-height: 750px;">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Something went wrong )-:</h1>
<p>Find an ENSL admin and get them to fix it!</p>
<div class="row" id="authenticating">
<div class="col-lg-6 col-lg-offset-3">
<div class="jumbotron jumbo-auth text-center">
<div>
<img src="/images/ensl_logo.png" class="jumbo-img" alt="ENSL Logo" />
</div>
<br />
<h3>Something went wrong )-: (Server Error)</h3>
<br />
<h3>It's <span id="admin">Prommah</span>'s fault!</h3>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
var admins = ["Simple", "Yaluzan", "Lome", "Lambo", "Prommah", "Vindaloo"];
$("#admin").html(function () {
var i = Math.floor(Math.random() * admins.length);
return admins[i];
}());
</script>