blob: f006cce1653b5deba1e4bc56d81c0f50130c595e [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 -->
Alexander Afanasyevf7c7cde2013-03-02 00:01:32 -080012 <link rel="stylesheet" type="text/css" href="css/style.css" />
13 <link rel="stylesheet" type="text/css" href="css/start/jquery-ui.min.css" />
14 <link rel="stylesheet" type="text/css" href="css/jquery.contextMenu/jquery.contextMenu.css" />
15
16 <script type="text/javascript" src="js/jquery.min.js"></script>
17 <script type="text/javascript" src="js/jquery-ui.min.js"></script>
18 <script type="text/javascript" src="js/jquery.class.min.js"></script>
19 <script type="text/javascript" src="js/jquery.contextMenu.js"></script>
20
21 <script type="text/javascript" src="js/ndn-js.js"></script>
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -080022 </head>
Zhenkai Zhu5c2475b2013-02-26 22:57:31 -080023
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -080024 <body>
25 <header>
Alexander Afanasyev3c95c852013-03-01 18:58:50 -080026 <h1>ChronoShare <green id="folder-name"></green> for <grey id="user-name"></grey></h1>
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -080027 <h2 id="folderName"></h2>
Zhenkai Zhu5c2475b2013-02-26 22:57:31 -080028
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -080029 <nav>
Zhenkai Zhu5c2475b2013-02-26 22:57:31 -080030 <ul>
Alexander Afanasyev3c95c852013-03-01 18:58:50 -080031 <li><a class="needs-get-url" href="#fileList">All files</a></li>
32 <li><a class="needs-get-url" href="#folderHistory">Recent actions</a></li>
Zhenkai Zhu5c2475b2013-02-26 22:57:31 -080033 </ul>
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -080034 </nav>
35 </header>
36
37 <article>
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -080038 <div id="content" class="hidden">
Zhenkai Zhu5c2475b2013-02-26 22:57:31 -080039 </div>
Zhenkai Zhu5c2475b2013-02-26 22:57:31 -080040
Alexander Afanasyev3c95c852013-03-01 18:58:50 -080041 <content-nav id="content-nav" style="display: none">
42 <ul>
43 <li><a id="get-less" class="ajax-action">&lt;&lt; Previous</a></li>
44 <li><a id="get-more" class="ajax-action">Next &gt;&gt;</a></li>
45 </ul>
46
47 </content-nav>
48
Alexander Afanasyevf63a5142013-02-28 02:21:42 -080049 <div class="hidden" id="loader">
50 <img src="load.gif" />
51 </div>
52
53 <red class="hidden" id="error">
54 </red>
55
56 <pre class="hidden" id="json">
57 </pre>
58
Zhenkai Zhu5c2475b2013-02-26 22:57:31 -080059
Zhenkai Zhu5c2475b2013-02-26 22:57:31 -080060
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -080061 <div id="no-support">
62 <!-- This block will be removed if jQuery has been loaded -->
63 <h1><green>Oops!</green></h1>
64 <h3><grey>It looks like you're using a browser that is <green>not supported</green>.</grey></h3>
65 </div>
66 </article>
Zhenkai Zhu5c2475b2013-02-26 22:57:31 -080067
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -080068 <footer>
Alexander Afanasyevc15e0162013-02-28 23:38:52 -080069 <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 -080070 </footer>
Zhenkai Zhu5c2475b2013-02-26 22:57:31 -080071
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -080072 <script src="detect.js"></script>
Alexander Afanasyev3c95c852013-03-01 18:58:50 -080073 <script type="text/javascript" src="chronoshare-helpers.js"></script>
74 <script type="text/javascript" src="chronoshare-navigation.js"></script>
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -080075 <script type="text/javascript" src="chronoshare.js"></script>
76 <script type="text/javascript">
77 $(window).ready (function () {
78 if (detect ()) {
79 $("#no-support").remove ();
80 $("#content").removeClass ("hidden");
Alexander Afanasyevfd5e6272013-02-27 20:25:20 -080081 }
82 });
83 </script>
84 </body>
Zhenkai Zhud9429222013-02-25 22:34:09 -080085</html>