Not sure what happened to ref-bootstrap.html, but when I went to fix
authorMike Taylor <mike@indexdata.com>
Wed, 1 Oct 2014 06:56:15 +0000 (07:56 +0100)
committerMike Taylor <mike@indexdata.com>
Wed, 1 Oct 2014 06:56:15 +0000 (07:56 +0100)
its authentication, it was gone from the master branch. Perhaps it
somehow got annihilated in the merge from templateallthemarkup.
Anyway, I have restored it from the live version on caliban.

examples/htdocs/ref-bootstrap.html [new file with mode: 0644]

diff --git a/examples/htdocs/ref-bootstrap.html b/examples/htdocs/ref-bootstrap.html
new file mode 100644 (file)
index 0000000..503a8fe
--- /dev/null
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+    <title>MKWS demo: Compound reference widget</title>
+    <!-- <link rel="stylesheet" type="text/css" href="mkws&#45;widget&#45;credo.css" /> -->
+    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> 
+    <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
+    <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css">
+    <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+      var mkws_config = { service_proxy_auth: "//mkws.indexdata.com/service-proxy-credoauth" };
+    </script>
+    <script class="mkwsTemplate_FacetBootstrap" type="text/x-handlebars-template">
+      <h3>Results from Reference Universe</h3>
+      {{#each hits}}
+        <div class="refinement">
+          {{#mkws-first md-electronic-url}}
+          <a href="{{this}}">
+          {{/mkws-first}}
+            {{md-title}}
+          </a>
+        {{#if md-title-remainder}}
+          <span>{{md-title-remainder}}</span>
+        {{/if}}
+        {{#if md-title-responsibility}}
+          <span><i>{{md-title-responsibility}}</i></span>
+        {{/if}}
+        </div>
+      {{/each}}
+    </script>
+    <script type="text/javascript" src="//mkws.indexdata.com/mkws-complete.js"></script>
+    <script type="text/javascript" src="mkws-widget-credo-bs.js"></script>
+    <style>
+      .mkwsCredo {
+        max-width: 1440px;
+      }
+      .mkwsGoogleImage img {
+        max-width: 95%;
+      }
+    </style>
+  </head>
+  <body>
+    <div class='mkwsCredo page-header container-fluid' autosearch='!param!q'></div>
+  </body>
+</html>