]> git.mar77i.info Git - hublib/blobdiff - webroot/index.html.j2
serve other hubapps too, consolidate and a lot more...
[hublib] / webroot / index.html.j2
diff --git a/webroot/index.html.j2 b/webroot/index.html.j2
new file mode 100644 (file)
index 0000000..8203a3d
--- /dev/null
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html lang="en">
+    <head>
+        <meta charset="UTF-8">
+        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+        <meta http-equiv="X-UA-Compatible" content="ie=edge">
+        <title>Hubapp Index</title>
+        <link rel="stylesheet" href="{% static 'style.css' %}">
+    </head>
+    <body>
+        <h1>App list</h1>
+        <ul>
+        {% for hubapp in hubapp.app.hubapps %}
+            <li>
+                <span>{{ hubapp.name }}</span>
+                <span><a href="{% static 'master.html', hubapp %}">master</a></span>
+                <span><a href="/{{ hubapp.name }}">/{{ hubapp.name }}</a></span>
+            </li>
+        {% endfor %}{# hubapps #}
+        </ul>
+    </body>
+</html>