diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-01-17 07:26:48 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-01-17 07:26:48 +0000 |
commit | 7a003f5bbf49082dcf24105aa6f7bc8c6650c255 (patch) | |
tree | ce7f534a8b74dff0f5c280ccaa7b862a29b27023 /sca-cpp/trunk/modules/oauth/htdocs/index.html | |
parent | f90791f2f7b48d7e08ce08f7ead498e1191a96b8 (diff) |
Use a common stylesheet in all samples.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1059769 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/oauth/htdocs/index.html')
-rw-r--r-- | sca-cpp/trunk/modules/oauth/htdocs/index.html | 11 |
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> |