aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2017-07-26 21:10:12 +1000
committerMichael Palimaka <kensington@gentoo.org>2017-07-26 21:15:43 +1000
commit5507e58fc4c5acf0642fd59cb226d01a4d70b610 (patch)
tree9377a2f92dae2e3f1237b32e186302411ef19b1c /frontend/templates/404.html
parentgitignore: ignore grumpy database (diff)
downloadgrumpy-5507e58fc4c5acf0642fd59cb226d01a4d70b610.tar.gz
grumpy-5507e58fc4c5acf0642fd59cb226d01a4d70b610.tar.bz2
grumpy-5507e58fc4c5acf0642fd59cb226d01a4d70b610.zip
Add 404 error handling.
Diffstat (limited to 'frontend/templates/404.html')
-rw-r--r--frontend/templates/404.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/frontend/templates/404.html b/frontend/templates/404.html
new file mode 100644
index 0000000..c945739
--- /dev/null
+++ b/frontend/templates/404.html
@@ -0,0 +1,16 @@
+{% extends "base.html" %}
+{% block content %}
+
+<div class="jumbotron">
+ <i class="fa fa-question-circle" style="color:#ccc;float:right;font-size:100pt;" id="box-icon"></i>
+ <h1 id="box-title">Not Found <small>(404)</small></h1>
+
+ <p><strong>We couldn't find the resource you were trying to request.</strong></p>
+
+ <p>If you've followed a link <strong>on our websites</strong> that led here, please <a href="https://www.gentoo.org/inside-gentoo/contact/">let us know</a> about the broken link.
+ <hr>
+ <p><small>Maybe something is wrong after all, and there's more information available on our <em>Infrastructure Status</em> website:</small></p>
+ <p><a class="btn btn-primary" role="button" href="https://infra-status.gentoo.org/#pk_campaign=err&pk_kwd=404">Visit Infra Status</a></p>
+</div>
+
+{% endblock %}