Add base HTML template & config

This commit is contained in:
c v t
2020-07-05 14:32:34 +02:00
parent 61a1ae62ab
commit fa9c8ef1a3
8 changed files with 119 additions and 36 deletions

View File

@ -1,16 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Magic App</title>
</head>
<body>
<p>List of apps that can be installed:</p>
<ul>
{% for app in apps %}
<li><a href="/install/{{ app }}">{{ app }}</a></li>
</ul>
{% endfor %}
</body>
</html>
{% extends "base.html" %}
{% block content %}
<h1>Installable apps</h1>
<p>Where the magic h<em>app</em>ens.</p>
<ul>
{% for app in apps %}
<li><a href="/install/{{ app }}">{{ app }}</a></li>
</ul>
{% endfor %}
{% endblock content %}