init
This commit is contained in:
commit
a426df12c0
22 changed files with 2819 additions and 0 deletions
19
templates/404.html
Normal file
19
templates/404.html
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<!-- index.html -->
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>404 {{ requested_path }} not found</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>Page Not Found</h2>
|
||||
<hr>
|
||||
<h3>Suggestions</h3>
|
||||
<p>
|
||||
You're looking for {{ requested_path }}, but there's nothing here, here are some suggestions:
|
||||
</p>
|
||||
|
||||
{% for suggestion in suggestions %}
|
||||
<li><a href="{{ suggestion }}">{{ suggestion }}</a> </li>
|
||||
{% endfor %}
|
||||
</body>
|
||||
</html>
|
||||
24
templates/another_example.html
Normal file
24
templates/another_example.html
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<!-- index.html -->
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Example</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>Example</h2>
|
||||
<p>
|
||||
{{ data.message }}
|
||||
</p>
|
||||
|
||||
<h3>Items</h3>
|
||||
<p>
|
||||
there are {{ data.get('items', [])|length }} items in the list
|
||||
</p>
|
||||
<ul>
|
||||
{% for item in data.get('items', []) %}
|
||||
<li>{{ item }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
templates/example.html
Normal file
18
templates/example.html
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<!-- index.html -->
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Example</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>Example</h2>
|
||||
<p>
|
||||
{{ data.message }}
|
||||
</p>
|
||||
|
||||
<h3>Data</h3>
|
||||
|
||||
{{ data.data }}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
7
templates/post_message.html
Normal file
7
templates/post_message.html
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Message Received</title>
|
||||
</head>
|
||||
<body></body>
|
||||
</html>
|
||||
13
templates/sitemap.html
Normal file
13
templates/sitemap.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>siemap</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Sitemap</h1>
|
||||
|
||||
{% for route in data.available_routes %}
|
||||
<li><a href="{{ route }}">{{ route }}</a> </li>
|
||||
{% endfor %}
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue