use Orex library, no autosearch
authorMike Taylor <mike@indexdata.com>
Fri, 27 Jun 2014 17:06:14 +0000 (18:06 +0100)
committerMike Taylor <mike@indexdata.com>
Fri, 27 Jun 2014 17:06:14 +0000 (18:06 +0100)
examples/htdocs/mike.html

index 8c29ffd..ec52c16 100644 (file)
@@ -1,13 +1,9 @@
 <html>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <title>MKWS demo: Reference Universe widget</title>
+    <title>MKWS demo: Orex</title>
     <link rel="stylesheet" type="text/css" href="tools/htdocs/mkws.css" />
-    <script type="text/javascript">
-      var mkws_config = {
-        service_proxy_auth: "//mkws.indexdata.com/service-proxy/?command=auth&action=check,login&username=mkwstest&password=mkwstest"
-      };
-    </script>
+    <script type="text/javascript">var mkws_config = { service_proxy_auth: "//mkws.indexdata.com/service-proxy-orexauth" };</script>
     <script type="text/javascript" src="//code.jquery.com/jquery-1.10.0.min.js"></script>
     <script type="text/javascript" src="src/jquery.json-2.4.js"></script>
     <script type="text/javascript" src="src/handlebars-v1.1.2.js"></script>
     <div class="mkwsLang"></div>
     <div class="mkwsProgress"></div>
     <div class="mkwsSearch"></div>
-    <div class="mkwsResults" autosearch="!param!q"></div>
+    <div class="mkwsResults"></div>
     <div class="mkwsTargets"></div>
     <div class="mkwsStat"></div>
     <div class="mkwsBuilder"></div>
   </body>
-  <script class="mkwsTemplate_facetTitle-Sources" type="text/x-handlebars-template">
-    <a href="?q={{query}}">Targets</a>
-  </script>
-  <script class="mkwsTemplate_facet-Sources" type="text/x-handlebars-template">
-    <a href="mike2.html?q={{query}}&t={{field}}">{{term}}</a>
-    <span>{{count}}</span>
-  </script>
 </html>