packages/ssoinabox-webui/root/usr/local/share/weblogin/ssoinabox/templates/logout.tmpl
changeset 0 3906ca745819
child 3 a044870a9d3d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/packages/ssoinabox-webui/root/usr/local/share/weblogin/ssoinabox/templates/logout.tmpl	Tue Jan 08 23:13:29 2013 -0500
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<!-- :mode=html: -->
+<html>
+	<head>
+		<meta http-equiv="pragma" content="no-cache" />
+		<title>SSO-in-a-Box Logout</title>
+		<link rel="stylesheet" type="text/css" href="images/bootstrap/css/bootstrap.min.css" />
+		<link rel="stylesheet" type="text/css" href="images/ssoinabox.css" />
+	</head>
+
+	[% IF notdefined %]
+		<!--
+		This is the template for WebAuth logout.  It is displayed whenever the
+		logout.fcgi script is executed.  logout.fcgi deletes the single sign-on
+		cookie.  Variables used:
+		
+		cookies_flag           : found a single sign-on cookie to delete
+		-->
+	[% END %]
+
+	<body>
+		<div class="well login-form">
+			<h1>
+				<img alt="SSO in a Box" src="images/ssoinabox.png" />
+			</h1>
+			<div class="loginbox">
+				[% IF cookies_flag %]
+					<div class="alert alert-success">
+						Your single sign-on cookie has been deleted.
+					</div>
+				[% ELSE %]
+					<div class="alert alert-error">No single sign-on cookies found to delete.</div>
+				[% END %]
+				
+				<p class="links">
+					<a href="/security.html">Account security</a> &bull;
+					<a href="/help.html">Help</a>
+				</p>
+			</div>
+		</div>
+	</body>
+</html>