-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path404.html
47 lines (40 loc) · 1.34 KB
/
404.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{% extends "base.html" %}
{% block title %} 404 {% endblock %}
{% block content %}
<!---------------- flashed messages and notifications ---------------->
{% with messages = get_flashed_messages() %}
{% if messages %}
{% for msg in messages %}
<div class="notification is-danger">{{msg}}</div>
{% endfor %}
{% endif %}
{% endwith %}
<hr>
<section class="section">
<div class="container">
<div class="block">
<h1 class="title">Uh oh!</h1>
</div>
<!----------------- content and search field ----------------->
<div class="block">
<p class="subtitle">Sorry, the page you were looking for was not found.</p>
<div class="field">
<div class="control has-icons-right">
<form method="get" action="{{ url_for('search_products') }}">
<input type="text" class="input is-medium is-rounded" placeholder="Search for items and shops" name="query">
<span class="icon is-small is-right has-text-dark">
<i class="fas fa-search"></i>
</span>
</form>
</div>
</div>
</div>
<!--------------------- link to homepage --------------------->
<div class="block">
<h2 class="subtitle">
<a href="{{ url_for('home') }}">Go back to Betsy.com</a>
</h2>
</div>
</div>
</section>
{% endblock %}