mirror of
https://github.com/nikdoof/vapemap.git
synced 2025-12-14 14:52:16 +00:00
Further update to failure templates.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
line-height: 1.25;
|
||||
}
|
||||
</style>
|
||||
<title>Vapour Hunter - Deployment</title>
|
||||
<title>Vapour Hunter - Maintenance</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
|
||||
45
app/vapemap/templates/404.html
Normal file
45
app/vapemap/templates/404.html
Normal file
@@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link href="{% static "css/bootstrap.min.css" %}" rel="stylesheet">
|
||||
<link href="{% static "css/bootstrap-responsive.min.css" %}" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
body {
|
||||
padding-top: 20px;
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
.container {
|
||||
margin: 0 auto;
|
||||
max-width: 1000px;
|
||||
}
|
||||
.jumbotron {
|
||||
margin: 80px 0;
|
||||
text-align: center;
|
||||
}
|
||||
.jumbotron h1 {
|
||||
font-size: 100px;
|
||||
line-height: 1;
|
||||
}
|
||||
.jumbotron .lead {
|
||||
font-size: 24px;
|
||||
line-height: 1.25;
|
||||
}
|
||||
</style>
|
||||
<title>Vapour Hunter - 404</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="jumbotron">
|
||||
<p>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" width="100px" height="100px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve">
|
||||
<path d="M98.692,80.351L58.485,8.793c-1.73-3.077-4.984-4.981-8.515-4.981c-3.527,0-6.783,1.904-8.512,4.981L1.252,80.351 c-1.698,3.024-1.669,6.721,0.085,9.717c1.751,2.992,4.958,4.831,8.428,4.831h80.413c3.468,0,6.674-1.839,8.426-4.831 c0.893-1.525,1.337-3.228,1.337-4.933C99.941,83.484,99.524,81.837,98.692,80.351z M44.045,59.222V34.75v-1.363 c0.085-4.008,2.388-6.652,5.97-6.652c3.58,0,5.968,2.729,5.968,6.652v1.363v24.472v1.281c-0.085,4.092-2.388,6.649-5.968,6.649 c-3.582,0-5.97-2.643-5.97-6.649V59.222z M50.01,84.744c-3.775,0-6.844-3.068-6.844-6.845s3.068-6.765,6.844-6.765 c3.776,0,6.764,2.988,6.764,6.765S53.786,84.744,50.01,84.744z"></path>
|
||||
</svg>
|
||||
</p>
|
||||
|
||||
<h1>404</h1>
|
||||
<p class="lead">Somehow you stumbled onto a missing page. Go back and try again.</p>
|
||||
<p class="muted">Icon by Jardson Araújo, from The Noun Project</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,26 +1,59 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block style %}
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link href="{% static "css/bootstrap.min.css" %}" rel="stylesheet">
|
||||
<link href="{% static "css/bootstrap-responsive.min.css" %}" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
#site-error {
|
||||
body {
|
||||
padding-top: 20px;
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
.container {
|
||||
margin: 0 auto;
|
||||
max-width: 1000px;
|
||||
}
|
||||
.jumbotron {
|
||||
margin: 80px 0;
|
||||
text-align: center;
|
||||
}
|
||||
#site-error h1 {
|
||||
font-size: 70px;
|
||||
line-height: 70px;
|
||||
.jumbotron h1 {
|
||||
font-size: 100px;
|
||||
line-height: 1;
|
||||
}
|
||||
.jumbotron .lead {
|
||||
font-size: 24px;
|
||||
line-height: 1.25;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
<title>Vapour Hunter - Error 500</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="jumbotron">
|
||||
<p>
|
||||
<svg version="1.0" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="300px" height="300px" viewBox="0 0 99.718 100" enable-background="new 0 0 99.718 100" xml:space="preserve">
|
||||
<path id="path2602" d="M43.688,12.481c1.297-4.331-1.131-8.905-5.473-10.228c-4.318-1.337-8.905,1.091-10.242,5.435
|
||||
c-1.323,4.343,1.131,8.917,5.449,10.241C37.765,19.266,42.352,16.824,43.688,12.481"></path>
|
||||
<path id="path2604" d="M59.042,37.706l-3.107-19.199L74.938,7.393c0.901-0.502,1.606-1.311,1.903-2.339
|
||||
c0.604-2.082-0.578-4.267-2.66-4.896c-1.105-0.321-2.262-0.141-3.187,0.438L43.907,16.502c-0.951,0.501-1.773,1.208-2.479,2.031
|
||||
l-11.424,15.33l-15.729-1.876c-1.002,0.347-1.862,1.105-2.312,2.133c-0.874,2.004,0.052,4.317,2.031,5.166
|
||||
c0.834,0.384,1.734,0.436,2.569,0.205l16.011,1.812c0.579-0.231,1.105-0.579,1.529-1.054l6.501-8.16l3.11,17.617
|
||||
c0.578,2.481,2.236,4.665,4.587,5.847l13.954,4.163l2.056,16.036c0.258,1.812,1.518,3.417,3.342,4.073
|
||||
c2.66,0.95,5.577-0.463,6.503-3.123c0.295-0.796,0.347-1.671,0.231-2.479l-2.52-19.622c-0.295-1.438-1.194-2.71-2.531-3.469
|
||||
l-8.688-2.609l14.38-8.712l17.579,7.787c0.114,0.051,0.218,0.103,0.32,0.154c2.66,0.925,5.576-0.462,6.503-3.123
|
||||
c0.873-2.506-0.31-5.217-2.66-6.322l-20.033-8.93c-0.103-0.026-0.166-0.078-0.27-0.103c-1.439-0.501-2.969-0.321-4.188,0.347
|
||||
L59.042,37.706z"></path>
|
||||
<path id="path2606" d="M21.047,44.862H0v5.744h16.203v16.346h16.846v15.226H49.38V100h21.485v-5.744H55.137V76.434H38.793V61.194
|
||||
h-16.82V44.862H21.047z"></path>
|
||||
</svg>
|
||||
</p>
|
||||
|
||||
{% block content %}
|
||||
<div class="row-fluid">
|
||||
<div id="site-error" class="span12">
|
||||
<h1>Oops</h1>
|
||||
<p>It seems we hit a error serving your request. This may be a temporary error, so please try again in a minute or so.</p>
|
||||
<h1>Error 500</h1>
|
||||
<p class="lead">It seems we hit a error serving your request. This may be a temporary error, so please try again in a minute or so.</p>
|
||||
{% if request.sentry %}
|
||||
<p>If you've hit the same issue more than once, please consider using the Feedback tab and informing us what steps you took to produce this error, citing {{ request.sentry.id }} as the Error ID code.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user