Simplified SP auth URL that hides credentials.
[mkws-moved-to-github.git] / experiments / spclient / index.html
index bc54bf2..3f7ad0a 100644 (file)
@@ -4,16 +4,21 @@
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <title>MKWS demo client</title>
-    <link rel="stylesheet" href="styles.css" />
-    <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
-    <script type="text/javascript" src="/libjs-pz2/pz2api.1.js"></script>
-    <script type="text/javascript" src="mkws.js"></script>
+    <link rel="stylesheet" href="http://mkws.indexdata.com/mkwsStyle.css" />
+    <script type="text/javascript">
+      var mkws_config = { 
+      service_proxy_url: "http://mkws.indexdata.com/service-proxy/",
+      service_proxy_auth: "http://mkws.indexdata.com/service-proxy/auth/",
+      }; 
+    </script>
+    <script type="text/javascript" src="http://mkws.indexdata.com/mkws-complete.js"></script>
   </head>
   <body>
     <div id="mkwsSwitch"></div>
+    <div id="mkwsLang"></div>
     <div id="mkwsSearch"></div>
     <div id="mkwsRecords"></div>
     <div id="mkwsTargets"></div>
-    <div id="stat"></div>
+    <div id="mkwsStat"></div>
   </body>
 </html>