List scanned flakes
This commit is contained in:
14
templates/base.html
Normal file
14
templates/base.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<title>Flake Tracker</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
12
templates/flakes.html
Normal file
12
templates/flakes.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1>All scanned flakes</h1>
|
||||
|
||||
<ul>
|
||||
{% for flake in flakes %}
|
||||
<li><a href="/f/{{ flake.uri_encoded() }}">{{ flake.uri }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
{% endblock %}
|
@@ -1 +1,10 @@
|
||||
Hello World!
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Flake Tracker</h1>
|
||||
|
||||
<ul>
|
||||
<li><a href="/flakes">All scanned flakes</a></li>
|
||||
</ul>
|
||||
{% endblock %}
|
||||
|
||||
|
Reference in New Issue
Block a user