blob: ffa46a012455dbef403434d687156ea39158c00b [file] [log] [blame]
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -08001<!DOCTYPE html>
2<html>
3 <head>
4 <meta http-equiv="x-ua-compatible" content="ie=edge" />
5 <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
6 <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
Zhenkai Zhu5c2475b2013-02-26 22:57:31 -08007
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -08008 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9 <title>ChronoShare</title>
Zhenkai Zhu5c2475b2013-02-26 22:57:31 -080010
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -080011 <!-- Load styles -->
12 <link rel="stylesheet" href="style.css" type="text/css" />
13 <script type="text/javascript" src="jquery.min.js"></script>
14 <script type="text/javascript" src="jquery.class.min.js"></script>
15 <script type="text/javascript" src="ndn-js-uncomp.js"></script>
16 </head>
Zhenkai Zhu5c2475b2013-02-26 22:57:31 -080017
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -080018 <body>
19 <header>
Alexander Afanasyev3c95c852013-03-01 18:58:50 -080020 <h1>ChronoShare <green id="folder-name"></green> for <grey id="user-name"></grey></h1>
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -080021 <h2 id="folderName"></h2>
Zhenkai Zhu5c2475b2013-02-26 22:57:31 -080022
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -080023 <nav>
Zhenkai Zhu5c2475b2013-02-26 22:57:31 -080024 <ul>
Alexander Afanasyev3c95c852013-03-01 18:58:50 -080025 <li><a class="needs-get-url" href="#fileList">All files</a></li>
26 <li><a class="needs-get-url" href="#folderHistory">Recent actions</a></li>
Zhenkai Zhu5c2475b2013-02-26 22:57:31 -080027 </ul>
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -080028 </nav>
29 </header>
30
31 <article>
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -080032 <div id="content" class="hidden">
Zhenkai Zhu5c2475b2013-02-26 22:57:31 -080033 </div>
Zhenkai Zhu5c2475b2013-02-26 22:57:31 -080034
Alexander Afanasyev3c95c852013-03-01 18:58:50 -080035 <content-nav id="content-nav" style="display: none">
36 <ul>
37 <li><a id="get-less" class="ajax-action">&lt;&lt; Previous</a></li>
38 <li><a id="get-more" class="ajax-action">Next &gt;&gt;</a></li>
39 </ul>
40
41 </content-nav>
42
Alexander Afanasyevf63a5142013-02-28 02:21:42 -080043 <div class="hidden" id="loader">
44 <img src="load.gif" />
45 </div>
46
47 <red class="hidden" id="error">
48 </red>
49
50 <pre class="hidden" id="json">
51 </pre>
52
Zhenkai Zhu5c2475b2013-02-26 22:57:31 -080053
Zhenkai Zhu5c2475b2013-02-26 22:57:31 -080054
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -080055 <div id="no-support">
56 <!-- This block will be removed if jQuery has been loaded -->
57 <h1><green>Oops!</green></h1>
58 <h3><grey>It looks like you're using a browser that is <green>not supported</green>.</grey></h3>
59 </div>
60 </article>
Zhenkai Zhu5c2475b2013-02-26 22:57:31 -080061
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -080062 <footer>
Alexander Afanasyevc15e0162013-02-28 23:38:52 -080063 <grey>Powered by </grey><a target="_blank" href="http://github.com/remap/ndn-js"><green>NDN.JS</green></a><grey>.</grey>
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -080064 </footer>
Zhenkai Zhu5c2475b2013-02-26 22:57:31 -080065
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -080066 <script src="detect.js"></script>
Alexander Afanasyev3c95c852013-03-01 18:58:50 -080067 <script type="text/javascript" src="chronoshare-helpers.js"></script>
68 <script type="text/javascript" src="chronoshare-navigation.js"></script>
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -080069 <script type="text/javascript" src="chronoshare.js"></script>
70 <script type="text/javascript">
71 $(window).ready (function () {
72 if (detect ()) {
73 $("#no-support").remove ();
74 $("#content").removeClass ("hidden");
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -080075 }
76 });
77 </script>
78 </body>
Zhenkai Zhud9429222013-02-25 22:34:09 -080079</html>