Alison Craig | ef12da8 | 2015-03-06 09:41:43 -0700 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html lang="en-US"> |
| 3 | |
| 4 | <head> |
Tyler Scott | 087aef7 | 2015-07-14 14:11:59 -0600 | [diff] [blame] | 5 | <title>NDN Query and Retrieval Tool</title> |
Alison Craig | ef12da8 | 2015-03-06 09:41:43 -0700 | [diff] [blame] | 6 | |
Tyler Scott | e815d3e | 2015-07-09 16:56:17 -0600 | [diff] [blame] | 7 | <script> |
| 8 | (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
| 9 | (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
| 10 | m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| 11 | })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); |
| 12 | |
| 13 | ga('create', 'UA-64984905-1', 'auto'); |
| 14 | ga('send', 'pageview'); |
| 15 | |
| 16 | </script> |
| 17 | |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 18 | <!-- Styles --> |
Tyler Scott | 48f92cd | 2015-10-16 18:31:20 -0600 | [diff] [blame] | 19 | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css"> |
Tyler Scott | cdfcde8 | 2015-09-14 16:13:29 -0600 | [diff] [blame] | 20 | <link rel="stylesheet" href="css/cubeLoader.css"> |
Tyler Scott | 696d38f | 2015-08-04 22:41:22 -0600 | [diff] [blame] | 21 | <link rel="stylesheet" href="css/theme.min.css"> |
Tyler Scott | 696d38f | 2015-08-04 22:41:22 -0600 | [diff] [blame] | 22 | <link rel="stylesheet" href="css/style.css"> |
Alison Craig | ef12da8 | 2015-03-06 09:41:43 -0700 | [diff] [blame] | 23 | |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 24 | <!-- Scripts --> |
Tyler Scott | e815d3e | 2015-07-09 16:56:17 -0600 | [diff] [blame] | 25 | <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> |
Tyler Scott | b59e6de | 2015-09-18 14:46:30 -0600 | [diff] [blame] | 26 | <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-scrollTo/2.1.0/jquery.scrollTo.min.js"></script> |
Tyler Scott | 0826385 | 2015-07-31 19:05:52 -0600 | [diff] [blame] | 27 | <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> |
| 28 | <script src="../ndn-js/build/ndn.min.js"></script> |
Tyler Scott | 696d38f | 2015-08-04 22:41:22 -0600 | [diff] [blame] | 29 | <script src="js/autocomplete.js"></script> |
Tyler Scott | 918210b | 2015-08-28 13:15:40 -0600 | [diff] [blame] | 30 | <script src="js/treeExplorer.js"></script> |
Tyler Scott | 696d38f | 2015-08-04 22:41:22 -0600 | [diff] [blame] | 31 | <script src="js/catalog.js"></script> |
Alison Craig | 1aced7d | 2015-04-10 12:00:02 -0600 | [diff] [blame] | 32 | |
Alison Craig | ef12da8 | 2015-03-06 09:41:43 -0700 | [diff] [blame] | 33 | </head> |
| 34 | |
| 35 | <body id="body"> |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 36 | <header> |
Tyler Scott | 0826385 | 2015-07-31 19:05:52 -0600 | [diff] [blame] | 37 | <div class="navbar navbar-inverse navbar-static-top container-fluid"> |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 38 | <div class="navbar-header"> |
Tyler Scott | 087aef7 | 2015-07-14 14:11:59 -0600 | [diff] [blame] | 39 | <div class="navbar-brand">NDN Query and Retrieval Tool</div> |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 40 | </div> |
Tyler Scott | e8dac70 | 2015-10-13 14:33:25 -0600 | [diff] [blame] | 41 | <ul class="navbar-nav nav"> |
| 42 | <li class="active"><a data-toggle="tab" href="#filterSearch">Filter Search</a></li> |
| 43 | <li><a data-toggle="tab" href="#pathSearch">Path Search</a></li> |
| 44 | <li><a data-toggle="tab" href="#treeSearchPane">Tree Search</a></li> |
| 45 | </ul> |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 46 | </div> |
| 47 | </header> |
Alison Craig | ef12da8 | 2015-03-06 09:41:43 -0700 | [diff] [blame] | 48 | |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 49 | <div class="container-fluid"> |
Alison Craig | ef12da8 | 2015-03-06 09:41:43 -0700 | [diff] [blame] | 50 | |
Tyler Scott | f65b710 | 2015-06-30 18:40:14 -0600 | [diff] [blame] | 51 | <div class="row"> |
Alison Craig | ef12da8 | 2015-03-06 09:41:43 -0700 | [diff] [blame] | 52 | |
Tyler Scott | e8dac70 | 2015-10-13 14:33:25 -0600 | [diff] [blame] | 53 | <div class="col-sm-12 col-md-12"> |
Alison Craig | 1aced7d | 2015-04-10 12:00:02 -0600 | [diff] [blame] | 54 | |
Tyler Scott | 4d95122 | 2015-07-31 14:38:27 -0600 | [diff] [blame] | 55 | <div id="alerts"></div> |
| 56 | |
Tyler Scott | e8dac70 | 2015-10-13 14:33:25 -0600 | [diff] [blame] | 57 | <div class="panel panel-info tab-pane fade in active" id="filterSearch"> |
Tyler Scott | 4d95122 | 2015-07-31 14:38:27 -0600 | [diff] [blame] | 58 | <div class="panel-heading">Filter Based Search</div> |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 59 | <div class="panel-body"> |
Tyler Scott | e8dac70 | 2015-10-13 14:33:25 -0600 | [diff] [blame] | 60 | <div class="col-sm-3 col-md-2 sidebar"> |
| 61 | <div class="panel panel-primary"> |
| 62 | <div class="panel-heading"> |
| 63 | <span>Filter Categories</span> |
| 64 | </div> |
| 65 | <div class="panel-body"> |
| 66 | <ul id="side-menu" class="nav nav-pills nav-stacked"></ul> |
| 67 | </div> |
| 68 | </div> |
| 69 | </div> |
| 70 | <div class="col-sm-9 col-md-10"> |
| 71 | <div id="filters"></div> |
| 72 | <button id="searchButton" class="btn btn-primary right-fix">Search</button> |
| 73 | </div> |
Tyler Scott | 4d95122 | 2015-07-31 14:38:27 -0600 | [diff] [blame] | 74 | </div> |
| 75 | </div> |
| 76 | |
Tyler Scott | e8dac70 | 2015-10-13 14:33:25 -0600 | [diff] [blame] | 77 | <div class="panel panel-info tab-pane fade" id="pathSearch"> |
Tyler Scott | 4d95122 | 2015-07-31 14:38:27 -0600 | [diff] [blame] | 78 | <div class="panel-heading">Path Based Search</div> |
| 79 | <div class="panel-body"> |
Tyler Scott | 93cae87 | 2015-07-21 14:58:23 -0600 | [diff] [blame] | 80 | <form class="form-inline" id="searchBar"> |
| 81 | <div class="form-group"> |
Tyler Scott | 93cae87 | 2015-07-21 14:58:23 -0600 | [diff] [blame] | 82 | <div class="input-group"> |
Tyler Scott | 9eb6abd | 2015-08-04 14:48:23 -0600 | [diff] [blame] | 83 | <input id="search" placeholder="Enter a path (Ex: /CMIP5)" |
| 84 | type="text" class="form-control" |
Tyler Scott | c55879f | 2015-07-28 14:56:37 -0600 | [diff] [blame] | 85 | title="This bar is for doing a tab completion like path completion. Press tab, enter, or click AutoComplete to begin your search."> |
Tyler Scott | 93cae87 | 2015-07-21 14:58:23 -0600 | [diff] [blame] | 86 | <div class="input-group-btn"> |
Tyler Scott | 0826385 | 2015-07-31 19:05:52 -0600 | [diff] [blame] | 87 | <button id="autoCompleteSearch" type="submit" class="btn btn-primary">Search</button> |
Tyler Scott | 7d076e2 | 2015-07-06 19:21:50 -0600 | [diff] [blame] | 88 | </div> |
Tyler Scott | 93cae87 | 2015-07-21 14:58:23 -0600 | [diff] [blame] | 89 | </div> |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 90 | </div> |
Tyler Scott | 93cae87 | 2015-07-21 14:58:23 -0600 | [diff] [blame] | 91 | </form> |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 92 | </div> |
Alison Craig | 1aced7d | 2015-04-10 12:00:02 -0600 | [diff] [blame] | 93 | </div> |
| 94 | |
Tyler Scott | e8dac70 | 2015-10-13 14:33:25 -0600 | [diff] [blame] | 95 | <div class="panel panel-info tab-pane fade" id="treeSearchPane"> |
| 96 | <div class="panel-heading">Tree Based Search</div> |
| 97 | <div class="panel-body" id="treeSearch"> |
Tyler Scott | 918210b | 2015-08-28 13:15:40 -0600 | [diff] [blame] | 98 | <div></div> |
| 99 | </div> |
| 100 | </div> |
| 101 | |
Tyler Scott | 3fc0527 | 2015-08-17 18:02:35 -0600 | [diff] [blame] | 102 | <div id="results" class="panel panel-default hidden"> |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 103 | <div class="panel-body"> |
Tyler Scott | cdfcde8 | 2015-09-14 16:13:29 -0600 | [diff] [blame] | 104 | <nav class="navbar navbar-inverse col-md-12 resultMenu"> |
Tyler Scott | 3fc0527 | 2015-08-17 18:02:35 -0600 | [diff] [blame] | 105 | <ul class="nav navbar-nav navbar-left"> |
Tyler Scott | bb42ed2 | 2015-10-21 17:02:56 -0600 | [diff] [blame^] | 106 | <li><a href="#" class="requestSelectedButton">Request Selected</a></li> |
| 107 | <li><a href="#" class="clearResults">Clear</a></li> |
| 108 | </ul> |
| 109 | <ul class="nav navbar-nav navbar-right"> |
Tyler Scott | 3fc0527 | 2015-08-17 18:02:35 -0600 | [diff] [blame] | 110 | <li class="dropdown"> |
| 111 | <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">Results Per Page <span class="caret"></span></a> |
| 112 | <ul class="dropdown-menu"> |
| 113 | <li class="active"><a href="#" class="resultsPerPageSelector">25</a></li> |
| 114 | <li><a href="#" class="resultsPerPageSelector">50</a></li> |
| 115 | <li><a href="#" class="resultsPerPageSelector">100</a></li> |
| 116 | <li><a href="#" class="resultsPerPageSelector">200</a></li> |
| 117 | </ul> |
| 118 | </li> |
Tyler Scott | bb42ed2 | 2015-10-21 17:02:56 -0600 | [diff] [blame^] | 119 | <li class="previous disabled"> |
| 120 | <a href="#">← Previous</a> |
| 121 | </li> |
Tyler Scott | 3fc0527 | 2015-08-17 18:02:35 -0600 | [diff] [blame] | 122 | <li class="next disabled"> |
| 123 | <a href="#">Next →</a> |
| 124 | </li> |
Tyler Scott | c55879f | 2015-07-28 14:56:37 -0600 | [diff] [blame] | 125 | </ul> |
Tyler Scott | bb42ed2 | 2015-10-21 17:02:56 -0600 | [diff] [blame^] | 126 | <div class="navbar-text navbar-right">(Page <span class="pageNumber">0</span>) <span class="pageLength">0</span>/<span class="totalResults">0</span> Results</div> |
Tyler Scott | bb01356 | 2015-07-16 15:52:40 -0600 | [diff] [blame] | 127 | </nav> |
Tyler Scott | a1ac69d | 2015-07-02 17:42:03 -0600 | [diff] [blame] | 128 | <table id="resultTable" class="table"></table> |
Tyler Scott | cdfcde8 | 2015-09-14 16:13:29 -0600 | [diff] [blame] | 129 | <div class="sk-cube-grid"> |
| 130 | <div class="sk-cube sk-cube1"></div> |
| 131 | <div class="sk-cube sk-cube2"></div> |
| 132 | <div class="sk-cube sk-cube3"></div> |
| 133 | <div class="sk-cube sk-cube4"></div> |
| 134 | <div class="sk-cube sk-cube5"></div> |
| 135 | <div class="sk-cube sk-cube6"></div> |
| 136 | <div class="sk-cube sk-cube7"></div> |
| 137 | <div class="sk-cube sk-cube8"></div> |
| 138 | <div class="sk-cube sk-cube9"></div> |
| 139 | </div> |
| 140 | <nav class="navbar navbar-inverse col-md-12 resultMenu"> |
Tyler Scott | 3fc0527 | 2015-08-17 18:02:35 -0600 | [diff] [blame] | 141 | <ul class="nav navbar-nav navbar-left"> |
Tyler Scott | bb42ed2 | 2015-10-21 17:02:56 -0600 | [diff] [blame^] | 142 | <li><a href="#" class="requestSelectedButton">Request Selected</a></li> |
| 143 | <li><a href="#" class="clearResults">Clear</a></li> |
| 144 | </ul> |
| 145 | <ul class="nav navbar-nav navbar-right"> |
| 146 | <li class="dropdown"> |
Tyler Scott | 3fc0527 | 2015-08-17 18:02:35 -0600 | [diff] [blame] | 147 | <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">Results Per Page <span class="caret"></span></a> |
| 148 | <ul class="dropdown-menu"> |
| 149 | <li class="active"><a href="#" class="resultsPerPageSelector">25</a></li> |
| 150 | <li><a href="#" class="resultsPerPageSelector">50</a></li> |
| 151 | <li><a href="#" class="resultsPerPageSelector">100</a></li> |
| 152 | <li><a href="#" class="resultsPerPageSelector">200</a></li> |
| 153 | </ul> |
| 154 | </li> |
Tyler Scott | bb42ed2 | 2015-10-21 17:02:56 -0600 | [diff] [blame^] | 155 | <li class="previous disabled"> |
| 156 | <a href="#">← Previous</a> |
| 157 | </li> |
Tyler Scott | 3fc0527 | 2015-08-17 18:02:35 -0600 | [diff] [blame] | 158 | <li class="next disabled"> |
| 159 | <a href="#">Next →</a> |
| 160 | </li> |
Tyler Scott | c55879f | 2015-07-28 14:56:37 -0600 | [diff] [blame] | 161 | </ul> |
Tyler Scott | bb42ed2 | 2015-10-21 17:02:56 -0600 | [diff] [blame^] | 162 | <div class="navbar-text navbar-right">(Page <span class="pageNumber">0</span>) <span class="pageLength">0</span>/<span class="totalResults">0</span> Results</div> |
Tyler Scott | c55879f | 2015-07-28 14:56:37 -0600 | [diff] [blame] | 163 | </nav> |
| 164 | </div> |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 165 | </div> |
Alison Craig | 1aced7d | 2015-04-10 12:00:02 -0600 | [diff] [blame] | 166 | |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 167 | </div> |
Alison Craig | 1aced7d | 2015-04-10 12:00:02 -0600 | [diff] [blame] | 168 | |
Alison Craig | ef12da8 | 2015-03-06 09:41:43 -0700 | [diff] [blame] | 169 | </div> |
Alison Craig | ef12da8 | 2015-03-06 09:41:43 -0700 | [diff] [blame] | 170 | |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 171 | </div> |
Alison Craig | ef12da8 | 2015-03-06 09:41:43 -0700 | [diff] [blame] | 172 | |
Tyler Scott | cdfcde8 | 2015-09-14 16:13:29 -0600 | [diff] [blame] | 173 | <div id="popup"> |
| 174 | <div id="request" class="panel panel-primary"> |
| 175 | <div class="panel-heading">Confirmation</div> |
| 176 | <div class="panel-body"> |
| 177 | <form id="requestForm"> |
| 178 | <p>Select a destination and press submit if you are sure you want to download the selected data to the selected destination.</p> |
| 179 | <div class="dropdown"> |
| 180 | <button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown"> |
Tyler Scott | b59e6de | 2015-09-18 14:46:30 -0600 | [diff] [blame] | 181 | <span id="requestDropText">Destination<span> |
Tyler Scott | cdfcde8 | 2015-09-14 16:13:29 -0600 | [diff] [blame] | 182 | <span class="caret"></span> |
| 183 | </button> |
| 184 | <ul id="requestDest" class="dropdown-menu"></ul> |
| 185 | </div> |
| 186 | <!-- Disabled For Demo |
| 187 | <div class="form-group"> |
| 188 | <label>Authentication Key</label> |
| 189 | <input type="file" class="form-control" placeholder="JSON encoded RSA key"> |
| 190 | <p class="help-block">It is required that you have authentication to move the files, otherwise this will fail.</p> |
| 191 | </div> |
| 192 | <div id="requestDrop" class="well">You can also drop your key here instead of using the input above.</div> |
| 193 | --> |
| 194 | <div class="absBotRight"> |
| 195 | <button type="submit" class="btn btn-primary">Submit</button> |
| 196 | <button id="requestCancel" type="button" class="btn btn-default">Cancel</button> |
| 197 | </div> |
| 198 | </form> |
| 199 | </div> |
| 200 | </div> |
| 201 | </div> |
| 202 | |
Alison Craig | ef12da8 | 2015-03-06 09:41:43 -0700 | [diff] [blame] | 203 | </body> |
| 204 | |
| 205 | </html> |