More extensive implementation of history browsing + integration with GUI

Change-Id: I78f810a0a87714322a20514bd3d1da2cc1839780
diff --git a/gui/html/index.html b/gui/html/index.html
index 66f039f..0b21c61 100644
--- a/gui/html/index.html
+++ b/gui/html/index.html
@@ -22,8 +22,8 @@
 
       <nav>
         <ul>
-          <li><a href="#fileList">File list</a></li>
-          <li><a href="#fileHistory?x=1">History</a></li>
+          <li><a class="needs-get-url" href="#fileList">File list</a></li>
+          <li><a class="needs-get-url" href="#folderHistory">Folder history</a></li>
         </ul>
       </nav>
     </header>
@@ -31,35 +31,18 @@
     <article>
       <!-- <img id="loader" src="load.gif" /> -->
       <div id="content" class="hidden">
-
-        <table class="file-list">
-          <thead>
-            <tr>
-              <th class="filename border-left" scope="col">Filename</th>
-              <th class="version" scope="col">Version</th>
-              <th class="modified" scope="col">Modified</th>
-              <th class="modified-by border-right" scope="col">Modified By</th>
-            </tr>
-          </thead>
-
-          <tbody id="files">
-          </tbody>
-
-          <tfoot><tr><td colspan="4" class="border-right border-left"></td></tr></tfoot>
-        </table>
-
-        <div class="hidden" id="loader">
-          <img src="load.gif" />
-        </div>
-
-
-        <red class="hidden" id="error">
-        </red>
-
-        <pre class="hidden" id="json">
-        </pre>
       </div>
 
+      <div class="hidden" id="loader">
+        <img src="load.gif" />
+      </div>
+
+      <red class="hidden" id="error">
+      </red>
+
+      <pre class="hidden" id="json">
+      </pre>
+
 
 
       <div id="no-support">
@@ -80,9 +63,6 @@
          if (detect ()) {
              $("#no-support").remove ();
              $("#content").removeClass ("hidden");
-
-             folder=new ChronoShare ("/ndn/ucla.edu/alex/macbook", "testing7");
-             folder.run ();
          }
       });
     </script>