<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" />
- <script type="text/javascript">
- var mkws_config = {
- language_Klingon: {}
- };
- </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/libjs-pz2/pz2api.1.js"></script>
<script type="text/javascript" src="http://x.mkws.indexdata.com/mkws.js"></script>
+ <style type="text/css">
+ td { vertical-align: top }
+ </style>
</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>
- {{link md-electronic-url}}
- </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">
+ <h1>A site about stuff</h1>
+ <table border="1" width="100%">
<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>
+ <td width="50%">
+ <h2>Welcome</h2>
+ Main site content goes here.
+ </td>
+ <td width="50%">
+ <h2>News</h2>
+ <div id="mkwsRecords" autosearch="dinosaur" sort="title:1"
+ targets="pz:id=connect.indexdata.com:9000/plos_api"><i>News items will appear here</i></div>
+ </td>
</tr>
</table>
-
- <div id="mkwsTargets"></div>
- <div id="mkwsStat"></div>
</body>
</html>