first somewhat working version.
[apps/agl-service-data-persistence.git] / ll-auth-binding / htdocs / auth.html
1 <html>
2     <head>
3         <title>ll-auth-binding test</title>
4         <script type="text/javascript" src="AFB-websock.js"></script>
5         <script type="text/javascript" src="IdentityBinding.js"></script>
6     </head>
7     
8     <body onload="init();">
9         <h1>Identity Binding</h1>
10         <button id="connected" onclick="init()">Binder WS Fail</button>
11         <br>
12         <ol>
13             <!--
14             <li><button onclick="callbinder('ll-auth','login', {})">login</button></li>
15             <li><button onclick="callbinder('ll-auth','logout', {})">logout</button></li>
16             -->
17             <li><button onclick="callbinder('ll-auth','getuser', {})">get user</button></li>
18         </ol>
19         <br>
20         <div id="main" style="visibility:hidden">
21             <ol>
22                 <li>Question <div id="question"></div></li>
23                 <li>Response <div id="output"></div></li>
24                 <li>Events: <div id="outevt"></div>
25             </ol>
26         </div>
27     </body>
28 </html>