Implement login plugin infrastructure
[cascardo/ipsilon.git] / templates / logout.html
diff --git a/templates/logout.html b/templates/logout.html
new file mode 100644 (file)
index 0000000..f6f61ac
--- /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><a href="{{ basepath }}">Ipsilon</a></p>
+        </div>
+        <div id="logout">
+            {% if user.name %}
+                <p>Something prevented a successful logout</p>
+                <p>You are still logged in as {{ user.fullname }}</p>
+            {% else %}
+                <p>Successfully logged out.</p>
+                <p>Return to <a href="{{ basepath }}">Home</a> page</p>
+            {% endif %}
+    </div>
+</body>
+</html>