-<?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" />
- <meta name="copyright" content="(c) 1999-2013 IndexData ApS, http://indexdata.com" />
- <title>MKWS demo: Mike's playground</title>
- <link rel="stylesheet" type="text/css" href="http://x.mkws.indexdata.com/mkws.css" />
+ <title>MKWS demo</title>
+ <link rel="stylesheet" type="text/css" href="tools/htdocs/mkws.css" />
<script type="text/javascript">
- var mkws_config = {
- language_Klingon: {}
- };
+ 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="http://code.jquery.com/jquery-1.10.0.min.js"></script>
- <script type="text/javascript" src="http://mkws.indexdata.com/libjs-pz2/pz2api.1.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/mkws.js"></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="mkwsSwitch"></div>
- <div id="mkwsLang"></div>
- <div id="mkwsSearch"></div>
- <script id="mkwsTemplateRecord" type="text/x-handlebars-template">
- <table>
- <tr>
- <th>Title</th>
- <td>
- {{md-title}}
- {{#if md-title-remainder}}
- ({{md-title-remainder}})
- {{/if}}
- {{#if md-title-responsibility}}
- <i>{{md-title-responsibility}}</i>
- {{/if}}
- </td>
- </tr>
- {{#if md-date}}
- <tr>
- <th>Date</th>
- <td>{{md-date}}</td>
- </tr>
- {{/if}}
- {{#if md-author}}
- <tr>
- <th>Author</th>
- <td>{{md-author}}</td>
- </tr>
- {{/if}}
- {{#if md-electronic-url}}
- <tr>
- <th>URL</th>
- <td>
- {{#each md-electronic-url}}
- <a href="{{this}}">{{this}}</a><br/>
- {{/each}}
- </td>
- </tr>
- {{/if}}
- {{#if-any location having="md-subject"}}
- <tr>
- <th>Subject</th>
- <td>
- {{#first location having="md-subject"}}
- {{#if md-subject}}
- {{md-subject}}
- {{/if}}
- {{/first}}
- </td>
- </tr>
- {{/if-any}}
- <tr>
- <th>Locations</th>
- <td>
- {{#each location}}
- {{#if '@name'}}
- {{attr '@name'}}<br/>
- {{/if}}
- {{/each}}
- </td>
- </tr>
- </table>
- </script>
- <div id="mkwsMOTD"></div>
-
- <table width="100%" border="0" cellpadding="6" cellspacing="0">
- <tr>
- <td id="mkwsTermlistContainer1" width="250" valign="top">
- <div id="mkwsTermlists"></div>
- </td>
- <td id="mkwsMOTDContainer" valign="top">
- <div id="mkwsRanking"></div>
- <div id="mkwsPager"></div>
- <div id="mkwsNavi"></div>
- <div id="mkwsRecords"></div>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <div id="mkwsTermlistContainer2"></div>
- </td>
- </tr>
- </table>
-
- <div id="mkwsTargets"></div>
- <div id="mkwsStat"></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>