]> git.sesse.net Git - remoteglot/blobdiff - www/index.html
Allow sorting refutation lines by score instead of move.
[remoteglot] / www / index.html
index 4f44105d1e317835998f2fe4efb666f4fd0ae0aa..ce8cb42053120fce8d44436da52b350af8ce615c 100644 (file)
 </head>
 <body>
 <h1 id="headline">Analysis</h1>
-<div id="board"></div>
+<div id="boardcontainer">
+  <div id="board"></div>
+  <p id="numviewers"></p>
+</div>
 <div id="analysis">
   <p id="score">Score:</p>
   <p><strong>PV:</strong> <span id="pv"></span></p>
   <p id="searchstats"></p>
   <h3>Shallow search of all legal moves (multi-PV)</h3>
+  <p id="sortbyscoreholder">Sort by: <span id="sortbyscore0"><a href="javascript:resort_refutation_lines(0)">Move</a></span>
+    <span id="sortbyscore1"><a href="javascript:resort_refutation_lines(1)">Score</a></span></p>
   <table id="refutationlines"></table>
 </div>
 <h2 style="clear: both;">Symbol explanation</h2>