Implement login plugin infrastructure
[cascardo/ipsilon.git] / templates / login / index.html
diff --git a/templates/login/index.html b/templates/login/index.html
new file mode 100644 (file)
index 0000000..6b2e2cd
--- /dev/null
@@ -0,0 +1,24 @@
+<!doctype html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8"></meta>
+    <title>{{ title }}</title>
+    <link href="{{ basepath }}/ui/ipsilon.css" type="text/css" rel="stylesheet"></link>
+    <link href="{{ basepath }}/ui/favicon.ico" type="image/ico" rel="icon"></link>
+</head>
+<body>
+    <div id="container">
+        <div id="logo">
+            <p>Ipsilon</p>
+        </div>
+        <div id="admin">
+            {% if user.is_admin %}
+                <a href="admin">admin</a>
+            {% endif %}
+        </div>
+        <div id="login">
+            <p>Redirecting ... {{ redirect }}</p>
+        </div>
+    </div>
+</body>
+</html>