-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(templates): rebuild error templates with error_base.html
- Loading branch information
Showing
2 changed files
with
14 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,11 @@ | ||
{% extends "layout.html" %} | ||
{% extends "errors/error_base.html" %} | ||
|
||
{% block body %} | ||
{% block error_body %} | ||
|
||
<div class="container"> | ||
<div class="logo-container"> | ||
<a href="{{ url_for('main_page') }}"> | ||
<img src="{{ url_for('static', filename='images/logo-grey.png') }}" alt="Logo"> | ||
</a> | ||
</div> | ||
<div class="content-main"> | ||
<main class="intro error-page-intro"> | ||
<h1>Oops, something went wrong</h1> | ||
<p> | ||
Brace yourself till we get the error fixed. <br> | ||
You may also refresh the page or try again later. | ||
</p> | ||
<a href="{{ url_for('main_page') }}">Go Home</a> | ||
</main> | ||
</div> | ||
{% include 'footer.html' %} | ||
</div> | ||
<h1>Oops, something went wrong</h1> | ||
<p> | ||
Brace yourself till we get the error fixed. <br> | ||
You may also refresh the page or try again later. | ||
</p> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,11 @@ | ||
{% extends "layout.html" %} | ||
{% extends "errors/error_base.html" %} | ||
|
||
{% block body %} | ||
{% block error_body %} | ||
|
||
<div class="container"> | ||
<div class="logo-container"> | ||
<a href="{{ url_for('main_page') }}"> | ||
<img src="{{ url_for('static', filename='images/logo-grey.png') }}" alt="Logo"> | ||
</a> | ||
</div> | ||
<div class="content-main"> | ||
<main class="intro error-page-intro"> | ||
<h1>Page Not Found</h1> | ||
<p> | ||
I've searched everywhere for this page,<br/> | ||
but it seems there's no match for the URL you've entered. | ||
</p> | ||
<a href="{{ url_for('main_page') }}">Go Home</a> | ||
</main> | ||
</div> | ||
{% include 'footer.html' %} | ||
</div> | ||
<h1>Page Not Found</h1> | ||
<p> | ||
I've searched everywhere for this page,<br/> | ||
but it seems there's no match for the URL you've entered. | ||
</p> | ||
|
||
{% endblock %} |