Repo reset for less crap

This commit is contained in:
Luke Murphy
2020-07-01 19:56:35 +02:00
parent b585217242
commit 0626962785
9 changed files with 7 additions and 76 deletions

16
templates/index.html Normal file
View File

@ -0,0 +1,16 @@
<!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="/{{ app }}">{{ app }}</a></li>
</ul>
{% endfor %}
</body>
</html>

20
templates/install.html Normal file
View File

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Install {{ app_name }}</title>
</head>
<body>
<p>Install {{ app_name }}</p>
<form method="POST" action="/deploy">
{% for field in form %}
<div>
{{ field.label() }}
{{ field() }}
</div>
{% endfor %}
<input type="submit" value="Deploy" />
</form>
</body>
</html>