/
admin_logout.html
47 lines (34 loc) · 1.03 KB
/
admin_logout.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Log out</title>
<link rel="stylesheet" type="text/css" href="extensions/admin/styles.css">
<link rel="stylesheet" type="text/css" href="extensions/admin/jquery-ui-1.9.2.custom.min.css">
<script>
function getQueryParams(qs) {
qs = qs.split("+").join(" ");
var params = {}, tokens,
re = /[?&]?([^=]+)=([^&]*)/g;
while (tokens = re.exec(qs)) {
params[decodeURIComponent(tokens[1])] = decodeURIComponent(tokens[2]);
}
return params;
}
function showMessage() {
var QP = getQueryParams(document.location.search);
if(QP.msg) {
document.getElementById('logoutMessage').innerHTML = QP.msg;
}
}
</script>
</head>
<body onLoad="showMessage();">
<div id='appLogin' class='ui-widget ui-widget-content stdPadding alignCenter marginTop ui-corner-all'>
<h1 class='marginBottom'>Thank you!</h1>
<h2 class='marginBottom'>You are now logged out</h2>
<p id='logoutMessage'></p>
<h3 class='marginBottom'><a href="app-admin.html">click here to log in</a></h3>
</div>
</body>
</html>