New layout with one facet separated from the others.
authorMike Taylor <mike@indexdata.com>
Tue, 8 Apr 2014 15:39:22 +0000 (16:39 +0100)
committerMike Taylor <mike@indexdata.com>
Tue, 8 Apr 2014 15:39:22 +0000 (16:39 +0100)
examples/htdocs/mike.html

index bf7c598..88a2531 100644 (file)
     <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>
   </head>
-  <body>
-    <div id="mkwsSwitch"></div>
-    <div id="mkwsLang"></div>
-    <div id="mkwsSearch"></div>
-    <div id="mkwsResults"></div>
-    <div id="mkwsTargets"></div>
-    <div id="mkwsStat"></div>
-  </body>
 <!--
   <body>
     <svg width="100" height="100">
@@ -39,7 +31,6 @@
     </svg>
   </body>
 -->
-<!--
   <body>
     <div id="mkwsSwitch"></div>
     <div id="mkwsLang"></div>
     <table width="100%" border="0" cellpadding="6" cellspacing="0">
       <tr>
        <td class="mkwsTermlistContainer1" width="250" valign="top">
-         <div class="mkwsTermlists" data-mkws-config='{ "facets": ["xtargets", "author", "subject"] }'></div>
+         <div>
+           <div class="title">Termlists</div>
+           <div class="mkwsFacet mkwsTeam_AUTO" data-mkws-facet="subject"></div>
+           <div class="mkwsFacet mkwsTeam_AUTO" data-mkws-facet="xtargets"></div>
+         </div>
        </td>
        <td class="mkwsMOTDContainer" valign="top">
          <div class="mkwsRanking"></div>
@@ -56,6 +51,9 @@
          <div class="mkwsNavi"></div>
          <div class="mkwsRecords"></div>
        </td>
+       <td width="250" valign="top">
+         <div class="mkwsFacet mkwsTeam_AUTO" data-mkws-facet="author"></div>
+       </td>
       </tr>
       <tr>
        <td colspan="2">
     <div id="mkwsTargets"></div>
     <div id="mkwsStat"></div>
     <div id="mkwsMOTD">Speak, friend, and enter!</div>
-    <div style="background: #ffffe0; border: 1px solid #e0e080; padding: 0.2em 1em;">
-      <h2>Logging</h2>
-      <p class="mkwsLog"/>
-    </div>
   </body>
--->
 <!--
   <body>
     <table width="100%" border="1">