New example file using local authentication (MKWS-38)
authorMike Taylor <mike@indexdata.com>
Thu, 12 Dec 2013 17:21:20 +0000 (17:21 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 12 Dec 2013 17:21:20 +0000 (17:21 +0000)
examples/htdocs/localauth.html [new file with mode: 0644]

diff --git a/examples/htdocs/localauth.html b/examples/htdocs/localauth.html
new file mode 100644 (file)
index 0000000..91793ea
--- /dev/null
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <title>MKWS demo client</title>
+    <link rel="stylesheet" type="text/css" href="http://mkws.indexdata.com/mkws.css" />
+    <script type="text/javascript">
+      var mkws_config = {
+        pazpar2_url: "http://mkws.indexdata.com/service-proxy/",
+        service_proxy_auth: "http://x.example.indexdata.com/service-proxy-auth/",
+        service_proxy_auth_domain : "mkws.indexdata.com"
+      };
+    </script>
+    <script type="text/javascript" src="http://x.mkws.indexdata.com/mkws-complete.js"></script>
+  </head>
+  <body>
+    <div id="mkwsSwitch"></div>
+    <div id="mkwsLang"></div>
+    <div id="mkwsSearch"></div>
+    <div id="mkwsResults"></div>
+    <div id="mkwsTargets"></div>
+    <div id="mkwsStat"></div>
+  </body>
+</html>