-<?xml version="1.0"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
+<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>MKWS demo: Mike's playground</title>
- <link rel="stylesheet" type="text/css" href="http://x.mkws.indexdata.com/mkws.css" />
- <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
- <script type="text/javascript" src="http://x.mkws.indexdata.com/jquery.json-2.4.js"></script>
- <script type="text/javascript" src="http://x.mkws.indexdata.com/handlebars-v1.1.2.js"></script>
- <script type="text/javascript" src="http://x.mkws.indexdata.com/pazpar2/js/pz2.js"></script>
- <script type="text/javascript" src="http://x.mkws.indexdata.com/mkws.js"></script>
- <script id="mkwsTemplateSummary" type="text/x-handlebars-template">
- <a href="#" id="{{_id}}" onclick="{{_onclick}}">
- {{#each md-thumburl}}
- <img src="{{this}}" alt="{{../md-title}}"/>
- {{/each}}
- <br/>
- {{md-title}}
- {{#if md-title-remainder}}
- <span>{{md-title-remainder}}</span>
- {{/if}}
- {{#if md-title-responsibility}}
- <span><i>{{md-title-responsibility}}</i></span>
- {{/if}}
- </a>
+ <title>MKWS demo</title>
+ <link rel="stylesheet" type="text/css" href="tools/htdocs/mkws.css" />
+ <script type="text/javascript">
+ var mkws_config = {
+ // For now, we have to provide known-bad credentials to skip user/pw login: see bug MKSP-125
+ service_proxy_auth: undefined,
+ // Was: //sp-mkws.indexdata.com/service-proxy/?command=auth&action=perconfig&username=XXX&password=XXX
+ pp2_hostname: "x.sp-mkws.indexdata.com",
+ sp_path: "service-proxy/",
+ credentials: "XXX/XXX",
+ // ### This should automatically follow pp2_hostname
+ pazpar2_url: "//x.sp-mkws.indexdata.com/service-proxy/",
+ };
</script>
+ <script type="text/javascript" src="tools/htdocs/jquery-1.10.0.min.js"></script>
+ <script type="text/javascript" src="tools/htdocs/jquery.json-2.4.js"></script>
+ <script type="text/javascript" src="tools/htdocs/handlebars-v1.1.2.js"></script>
+ <script type="text/javascript" src="tools/htdocs/pz2.js"></script>
+ <script type="text/javascript" src="src/mkws-handlebars.js"></script>
+ <script type="text/javascript" src="src/mkws-core.js"></script>
+ <script type="text/javascript" src="src/mkws-team.js"></script>
+ <script type="text/javascript" src="src/mkws-filter.js"></script>
+ <script type="text/javascript" src="src/mkws-widget.js"></script>
+ <script type="text/javascript" src="src/mkws-widget-main.js"></script>
+ <script type="text/javascript" src="src/mkws-widget-termlists.js"></script>
+ <script type="text/javascript" src="src/mkws-widget-authname.js"></script>
+ <script type="text/javascript" src="src/mkws-widget-categories.js"></script>
+ <script type="text/javascript" src="src/mkws-widget-log.js"></script>
+ <script type="text/javascript" src="src/mkws-widget-record.js"></script>
+ <script type="text/javascript" src="src/mkws-widget-reference.js"></script>
+ <script type="text/javascript" src="src/mkws-widget-builder.js"></script>
+ <script type="text/javascript" src="mkws-widget-credo.js"></script>
</head>
<body>
- <div id='mkwsRecords'
- autosearch='!param!q'
- sort='relevance'
- targets='pz:id=lui.indexdata.com:8080/solr4/#5853'
- >results will appear here</div>
+ <div class="mkwsAuthname"></div>
+ <div class="mkwsSwitch"></div>
+ <div class="mkwsLang"></div>
+ <div class="mkwsProgress"></div>
+ <div class="mkwsSearch"></div>
+ <div class="mkwsResults"></div>
+ <div class="mkwsTargets"></div>
+ <div class="mkwsStat"></div>
+ <div class="mkwsBuilder"></div>
</body>
</html>