Alexander Afanasyev | fd5e627 | 2013-02-27 20:25:20 -0800 | [diff] [blame] | 1 | <!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 Zhu | 5c2475b | 2013-02-26 22:57:31 -0800 | [diff] [blame] | 7 | |
Alexander Afanasyev | fd5e627 | 2013-02-27 20:25:20 -0800 | [diff] [blame] | 8 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 9 | <title>ChronoShare</title> |
Zhenkai Zhu | 5c2475b | 2013-02-26 22:57:31 -0800 | [diff] [blame] | 10 | |
Alexander Afanasyev | fd5e627 | 2013-02-27 20:25:20 -0800 | [diff] [blame] | 11 | <!-- Load styles --> |
Alexander Afanasyev | f7c7cde | 2013-03-02 00:01:32 -0800 | [diff] [blame] | 12 | <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> |
Alexander Afanasyev | 4c17b48 | 2013-03-02 01:32:35 -0800 | [diff] [blame] | 20 | <script type="text/javascript" src="js/jquery.timer.js"></script> |
Alexander Afanasyev | f7c7cde | 2013-03-02 00:01:32 -0800 | [diff] [blame] | 21 | |
Alexander Afanasyev | 1663a41 | 2013-03-02 13:52:00 -0800 | [diff] [blame] | 22 | <script type="text/javascript" src="js/ndn-js.min.js"></script> |
Alexander Afanasyev | 4c17b48 | 2013-03-02 01:32:35 -0800 | [diff] [blame] | 23 | |
| 24 | <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> |
Alexander Afanasyev | fd5e627 | 2013-02-27 20:25:20 -0800 | [diff] [blame] | 25 | </head> |
Zhenkai Zhu | 5c2475b | 2013-02-26 22:57:31 -0800 | [diff] [blame] | 26 | |
Alexander Afanasyev | fd5e627 | 2013-02-27 20:25:20 -0800 | [diff] [blame] | 27 | <body> |
| 28 | <header> |
Alexander Afanasyev | 3c95c85 | 2013-03-01 18:58:50 -0800 | [diff] [blame] | 29 | <h1>ChronoShare <green id="folder-name"></green> for <grey id="user-name"></grey></h1> |
Alexander Afanasyev | fd5e627 | 2013-02-27 20:25:20 -0800 | [diff] [blame] | 30 | <h2 id="folderName"></h2> |
Zhenkai Zhu | 5c2475b | 2013-02-26 22:57:31 -0800 | [diff] [blame] | 31 | |
Alexander Afanasyev | fd5e627 | 2013-02-27 20:25:20 -0800 | [diff] [blame] | 32 | <nav> |
Zhenkai Zhu | 5c2475b | 2013-02-26 22:57:31 -0800 | [diff] [blame] | 33 | <ul> |
Alexander Afanasyev | 3c95c85 | 2013-03-01 18:58:50 -0800 | [diff] [blame] | 34 | <li><a class="needs-get-url" href="#folderHistory">Recent actions</a></li> |
Alexander Afanasyev | c24db64 | 2013-03-09 16:41:02 -0800 | [diff] [blame] | 35 | <li><a class="needs-get-url" href="#fileList">All files</a></li> |
Alexander Afanasyev | 4c17b48 | 2013-03-02 01:32:35 -0800 | [diff] [blame] | 36 | <li><a class="ajax-action" id="reload-button">Reload current view</a></li> |
Zhenkai Zhu | 5c2475b | 2013-02-26 22:57:31 -0800 | [diff] [blame] | 37 | </ul> |
Alexander Afanasyev | fd5e627 | 2013-02-27 20:25:20 -0800 | [diff] [blame] | 38 | </nav> |
| 39 | </header> |
| 40 | |
| 41 | <article> |
Alexander Afanasyev | fd5e627 | 2013-02-27 20:25:20 -0800 | [diff] [blame] | 42 | <div id="content" class="hidden"> |
Zhenkai Zhu | 5c2475b | 2013-02-26 22:57:31 -0800 | [diff] [blame] | 43 | </div> |
Zhenkai Zhu | 5c2475b | 2013-02-26 22:57:31 -0800 | [diff] [blame] | 44 | |
Alexander Afanasyev | 3c95c85 | 2013-03-01 18:58:50 -0800 | [diff] [blame] | 45 | <content-nav id="content-nav" style="display: none"> |
| 46 | <ul> |
| 47 | <li><a id="get-less" class="ajax-action"><< Previous</a></li> |
| 48 | <li><a id="get-more" class="ajax-action">Next >></a></li> |
| 49 | </ul> |
| 50 | |
| 51 | </content-nav> |
| 52 | |
Alexander Afanasyev | f63a514 | 2013-02-28 02:21:42 -0800 | [diff] [blame] | 53 | <div class="hidden" id="loader"> |
| 54 | <img src="load.gif" /> |
| 55 | </div> |
| 56 | |
| 57 | <red class="hidden" id="error"> |
| 58 | </red> |
| 59 | |
| 60 | <pre class="hidden" id="json"> |
| 61 | </pre> |
| 62 | |
Zhenkai Zhu | 5c2475b | 2013-02-26 22:57:31 -0800 | [diff] [blame] | 63 | |
Zhenkai Zhu | 5c2475b | 2013-02-26 22:57:31 -0800 | [diff] [blame] | 64 | |
Alexander Afanasyev | fd5e627 | 2013-02-27 20:25:20 -0800 | [diff] [blame] | 65 | <div id="no-support"> |
| 66 | <!-- This block will be removed if jQuery has been loaded --> |
| 67 | <h1><green>Oops!</green></h1> |
| 68 | <h3><grey>It looks like you're using a browser that is <green>not supported</green>.</grey></h3> |
| 69 | </div> |
| 70 | </article> |
Zhenkai Zhu | 5c2475b | 2013-02-26 22:57:31 -0800 | [diff] [blame] | 71 | |
Alexander Afanasyev | fd5e627 | 2013-02-27 20:25:20 -0800 | [diff] [blame] | 72 | <footer> |
Alexander Afanasyev | 9e61359 | 2013-03-14 10:14:52 -0700 | [diff] [blame] | 73 | <grey>Powered by </grey><a target="_blank" href="http://github.com/named-data/ndn-js"><green>NDN.JS</green></a><grey>.</grey> |
Alexander Afanasyev | fd5e627 | 2013-02-27 20:25:20 -0800 | [diff] [blame] | 74 | </footer> |
Zhenkai Zhu | 5c2475b | 2013-02-26 22:57:31 -0800 | [diff] [blame] | 75 | |
Alexander Afanasyev | fd5e627 | 2013-02-27 20:25:20 -0800 | [diff] [blame] | 76 | <script src="detect.js"></script> |
Alexander Afanasyev | 3c95c85 | 2013-03-01 18:58:50 -0800 | [diff] [blame] | 77 | <script type="text/javascript" src="chronoshare-helpers.js"></script> |
| 78 | <script type="text/javascript" src="chronoshare-navigation.js"></script> |
Alexander Afanasyev | fd5e627 | 2013-02-27 20:25:20 -0800 | [diff] [blame] | 79 | <script type="text/javascript" src="chronoshare.js"></script> |
| 80 | <script type="text/javascript"> |
| 81 | $(window).ready (function () { |
| 82 | if (detect ()) { |
| 83 | $("#no-support").remove (); |
| 84 | $("#content").removeClass ("hidden"); |
Alexander Afanasyev | fd5e627 | 2013-02-27 20:25:20 -0800 | [diff] [blame] | 85 | } |
| 86 | }); |
| 87 | </script> |
| 88 | </body> |
Zhenkai Zhu | d942922 | 2013-02-25 22:34:09 -0800 | [diff] [blame] | 89 | </html> |