summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/oauth/htdocs/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/modules/oauth/htdocs/index.html')
-rw-r--r--sca-cpp/trunk/modules/oauth/htdocs/index.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/sca-cpp/trunk/modules/oauth/htdocs/index.html b/sca-cpp/trunk/modules/oauth/htdocs/index.html
index 7d26567214..2ce1ce2b09 100644
--- a/sca-cpp/trunk/modules/oauth/htdocs/index.html
+++ b/sca-cpp/trunk/modules/oauth/htdocs/index.html
@@ -19,6 +19,11 @@
<html>
<head>
+<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0"/>
+<meta name="apple-mobile-web-app-capable" content="yes"/>
+<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
+<link rel="stylesheet" type="text/css" href="/ui.css"/>
+
<script type="text/javascript" src="/component.js"></script>
<script type="text/javascript">
var protected = sca.component("Protected");
@@ -32,6 +37,7 @@ var lastname = userInfo.apply("getlastname");
var realm = userInfo.apply("getrealm");
</script>
</head>
+
<body>
<h1>Protected area - It works!</h1>
<p>The following info is returned by a JSONRPC service:</p>
@@ -42,6 +48,7 @@ var realm = userInfo.apply("getrealm");
<div>Firstname: <span id="firstname"></span></div>
<div>Lastname: <span id="lastname"></span></div>
<div>Realm: <span id="realm"></span></div>
+
<script type="text/javascript">
document.getElementById('user').innerHTML=user;
document.getElementById('email').innerHTML=email;
@@ -51,8 +58,10 @@ document.getElementById('firstname').innerHTML=firstname;
document.getElementById('lastname').innerHTML=lastname;
document.getElementById('realm').innerHTML=realm;
</script>
+
<p><a href="info">User info</a></p>
<p><a href="login">Sign in</a></p>
<p><a href="logout">Sign out</a></p>
<p><a href="public">Public area</a></p>
-</body></html>
+</body>
+</html>