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> |
Tyler Scott | f95a97c | 2016-06-21 12:09:22 -0600 | [diff] [blame] | 8 | (function(i, s, o, g, r, a, m) { |
Tyler Scott | 7ae6be0 | 2016-06-22 15:29:26 -0600 | [diff] [blame^] | 9 | i['GoogleAnalyticsObject'] = r; |
| 10 | i[r] = i[r] || function() { |
| 11 | (i[r].q = i[r].q || []).push(arguments) |
| 12 | } |
| 13 | , |
| 14 | i[r].l = 1 * new Date(); |
| 15 | a = s.createElement(o), |
| 16 | m = s.getElementsByTagName(o)[0]; |
| 17 | a.async = 1; |
| 18 | a.src = g; |
| 19 | m.parentNode.insertBefore(a, m) |
Tyler Scott | f95a97c | 2016-06-21 12:09:22 -0600 | [diff] [blame] | 20 | })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); |
Tyler Scott | f95a97c | 2016-06-21 12:09:22 -0600 | [diff] [blame] | 21 | ga('create', 'UA-64984905-1', 'auto'); |
| 22 | ga('send', 'pageview'); |
Tyler Scott | e815d3e | 2015-07-09 16:56:17 -0600 | [diff] [blame] | 23 | </script> |
| 24 | |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 25 | <!-- Styles --> |
Tyler Scott | 48f92cd | 2015-10-16 18:31:20 -0600 | [diff] [blame] | 26 | <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] | 27 | <link rel="stylesheet" href="css/cubeLoader.css"> |
Tyler Scott | 696d38f | 2015-08-04 22:41:22 -0600 | [diff] [blame] | 28 | <link rel="stylesheet" href="css/theme.min.css"> |
Tyler Scott | 696d38f | 2015-08-04 22:41:22 -0600 | [diff] [blame] | 29 | <link rel="stylesheet" href="css/style.css"> |
Alison Craig | ef12da8 | 2015-03-06 09:41:43 -0700 | [diff] [blame] | 30 | |
Tyler Scott | f95a97c | 2016-06-21 12:09:22 -0600 | [diff] [blame] | 31 | <!-- Scripts --> |
Tyler Scott | 384f37a | 2016-05-05 16:09:05 -0600 | [diff] [blame] | 32 | <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.3/jquery.min.js"> |
| 33 | </script> |
| 34 | <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-scrollTo/2.1.2/jquery.scrollTo.min.js"> |
| 35 | </script> |
| 36 | <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/js/bootstrap.min.js"> |
| 37 | </script> |
| 38 | <script src="https://cdnjs.cloudflare.com/ajax/libs/async/1.5.2/async.min.js"> |
| 39 | </script> |
| 40 | <script src="../ndn-js/build/ndn.min.js"> |
| 41 | </script> |
| 42 | <script src="js/autocomplete.js"> |
| 43 | </script> |
| 44 | <script src="js/treeExplorer.js"> |
| 45 | </script> |
| 46 | <script src="js/catalog.js"> |
| 47 | </script> |
Alison Craig | 1aced7d | 2015-04-10 12:00:02 -0600 | [diff] [blame] | 48 | |
Alison Craig | ef12da8 | 2015-03-06 09:41:43 -0700 | [diff] [blame] | 49 | </head> |
| 50 | |
| 51 | <body id="body"> |
Tyler Scott | f355e45 | 2015-11-06 21:35:14 -0700 | [diff] [blame] | 52 | |
| 53 | <div id="templates"> |
| 54 | <div class="row" id="timeTemplate"> |
| 55 | <button class="col-xs-1 close" type="button">×</button> |
| 56 | <div class="col-xs-4"> |
| 57 | <input type="text" class="form-control variable" value="time"> |
| 58 | </div> |
| 59 | <div class="col-xs-7 values"> |
| 60 | <input type="datetime" class="form-control" name="start" placeholder="Start"> |
| 61 | <input type="datetime" class="form-control" name="end" placeholder="End"> |
| 62 | </div> |
| 63 | </div> |
| 64 | <div class="row" id="locationTemplate"> |
| 65 | <button class="col-xs-1 close" type="button">×</button> |
| 66 | <div class="col-xs-4"> |
| 67 | <input type="text" class="form-control variable" value="coord"> |
| 68 | </div> |
| 69 | <div class="col-xs-7 values"> |
| 70 | <div class="input-group"> |
| 71 | <input type="number" class="form-control" name="startLat" placeholder="Start Latitude"> |
| 72 | <span class="input-group-addon">° North</span> |
| 73 | </div> |
| 74 | <div class="input-group"> |
| 75 | <input type="number" class="form-control" name="startLong" placeholder="Start Longitude"> |
| 76 | <span class="input-group-addon">° East</span> |
| 77 | </div> |
| 78 | <div class="input-group"> |
| 79 | <input type="number" class="form-control" name="endLat" placeholder="End Latitude"> |
| 80 | <span class="input-group-addon">° North</span> |
| 81 | </div> |
| 82 | <div class="input-group values"> |
| 83 | <input type="number" class="form-control" name="endLong" placeholder="End Longitude"> |
| 84 | <span class="input-group-addon">° East</span> |
| 85 | </div> |
| 86 | </div> |
| 87 | </div> |
| 88 | <div class="row" id="customTemplate"> |
| 89 | <button class="col-xs-1 close" type="button">×</button> |
| 90 | <div class="col-xs-4"> |
| 91 | <input type="text" class="form-control variable" placeholder="Variable Name"> |
| 92 | </div> |
| 93 | <div class="col-xs-7 values"> |
| 94 | <input type="text" class="form-control" name="value" placeholder="Custom Restriction"> |
| 95 | </div> |
| 96 | </div> |
| 97 | </div> |
| 98 | |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 99 | <header> |
Tyler Scott | 0826385 | 2015-07-31 19:05:52 -0600 | [diff] [blame] | 100 | <div class="navbar navbar-inverse navbar-static-top container-fluid"> |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 101 | <div class="navbar-header"> |
Tyler Scott | f95a97c | 2016-06-21 12:09:22 -0600 | [diff] [blame] | 102 | <a class="navbar-brand" data-toggle="tab" href="#filterSearch" id="brand-title">NDN Query and Retrieval Tool</a> |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 103 | </div> |
Tyler Scott | e8dac70 | 2015-10-13 14:33:25 -0600 | [diff] [blame] | 104 | <ul class="navbar-nav nav"> |
Tyler Scott | 7ae6be0 | 2016-06-22 15:29:26 -0600 | [diff] [blame^] | 105 | <li class="active" id="search-tab"><a data-toggle="tab" href="#filterSearch">Filter Search</a></li> |
| 106 | <li id="path-search-tab"><a data-toggle="tab" href="#path-search">Path Search</a></li> |
| 107 | <li id="tree-search-tab"><a data-toggle="tab" href="#tree-search">Tree Search</a></li> |
Tyler Scott | e8dac70 | 2015-10-13 14:33:25 -0600 | [diff] [blame] | 108 | </ul> |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 109 | </div> |
| 110 | </header> |
Alison Craig | ef12da8 | 2015-03-06 09:41:43 -0700 | [diff] [blame] | 111 | |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 112 | <div class="container-fluid"> |
Alison Craig | ef12da8 | 2015-03-06 09:41:43 -0700 | [diff] [blame] | 113 | |
Tyler Scott | f65b710 | 2015-06-30 18:40:14 -0600 | [diff] [blame] | 114 | <div class="row"> |
Alison Craig | ef12da8 | 2015-03-06 09:41:43 -0700 | [diff] [blame] | 115 | |
Tyler Scott | f355e45 | 2015-11-06 21:35:14 -0700 | [diff] [blame] | 116 | <div class="col-sm-12 col-md-12"> |
Alison Craig | 1aced7d | 2015-04-10 12:00:02 -0600 | [diff] [blame] | 117 | |
Tyler Scott | 4d95122 | 2015-07-31 14:38:27 -0600 | [diff] [blame] | 118 | <div id="alerts"></div> |
| 119 | |
Tyler Scott | e8dac70 | 2015-10-13 14:33:25 -0600 | [diff] [blame] | 120 | <div class="panel panel-info tab-pane fade in active" id="filterSearch"> |
Tyler Scott | f95a97c | 2016-06-21 12:09:22 -0600 | [diff] [blame] | 121 | <div class="panel-heading">Filter Search</div> |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 122 | <div class="panel-body"> |
Tyler Scott | f355e45 | 2015-11-06 21:35:14 -0700 | [diff] [blame] | 123 | <div> |
| 124 | <div id="filters"></div> |
| 125 | <button id="searchButton" class="btn btn-primary right-fix">Search</button> |
| 126 | </div> |
| 127 | <div> |
Tyler Scott | e8dac70 | 2015-10-13 14:33:25 -0600 | [diff] [blame] | 128 | <div class="panel panel-primary"> |
| 129 | <div class="panel-heading"> |
| 130 | <span>Filter Categories</span> |
| 131 | </div> |
| 132 | <div class="panel-body"> |
| 133 | <ul id="side-menu" class="nav nav-pills nav-stacked"></ul> |
| 134 | </div> |
| 135 | </div> |
| 136 | </div> |
Tyler Scott | 4d95122 | 2015-07-31 14:38:27 -0600 | [diff] [blame] | 137 | </div> |
| 138 | </div> |
| 139 | |
Tyler Scott | 7ae6be0 | 2016-06-22 15:29:26 -0600 | [diff] [blame^] | 140 | <div class="tab-pane fade" id="path-search"> |
Tyler Scott | f95a97c | 2016-06-21 12:09:22 -0600 | [diff] [blame] | 141 | <div class="panel panel-info" id="pathSearch"> |
| 142 | <div class="panel-heading">Path Search</div> |
| 143 | <div class="panel-body"> |
| 144 | <form class="form-inline" id="searchBar"> |
| 145 | <div class="form-group"> |
| 146 | <div class="input-group"> |
| 147 | <input id="search" placeholder="Enter a path (Ex: /CMIP5)" type="text" class="form-control"> |
| 148 | <div class="input-group-btn"> |
| 149 | <button id="autoCompleteSearch" type="submit" class="btn btn-primary">Search</button> |
| 150 | </div> |
Tyler Scott | 7d076e2 | 2015-07-06 19:21:50 -0600 | [diff] [blame] | 151 | </div> |
Tyler Scott | 93cae87 | 2015-07-21 14:58:23 -0600 | [diff] [blame] | 152 | </div> |
Tyler Scott | f95a97c | 2016-06-21 12:09:22 -0600 | [diff] [blame] | 153 | </form> |
| 154 | </div> |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 155 | </div> |
Tyler Scott | 7ae6be0 | 2016-06-22 15:29:26 -0600 | [diff] [blame^] | 156 | </div> |
| 157 | |
| 158 | <div class="tab-pane fade" id="tree-search"> |
| 159 | <div class="panel panel-info" id="treeSearchPane"> |
Tyler Scott | f95a97c | 2016-06-21 12:09:22 -0600 | [diff] [blame] | 160 | <div class="panel-heading">Tree Search</div> |
| 161 | <div class="panel-body" id="treeSearch"> |
| 162 | <div></div> |
| 163 | </div> |
Tyler Scott | 918210b | 2015-08-28 13:15:40 -0600 | [diff] [blame] | 164 | </div> |
| 165 | </div> |
| 166 | |
Tyler Scott | 3fc0527 | 2015-08-17 18:02:35 -0600 | [diff] [blame] | 167 | <div id="results" class="panel panel-default hidden"> |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 168 | <div class="panel-body"> |
Tyler Scott | cdfcde8 | 2015-09-14 16:13:29 -0600 | [diff] [blame] | 169 | <nav class="navbar navbar-inverse col-md-12 resultMenu"> |
Tyler Scott | 3fc0527 | 2015-08-17 18:02:35 -0600 | [diff] [blame] | 170 | <ul class="nav navbar-nav navbar-left"> |
Tyler Scott | bb42ed2 | 2015-10-21 17:02:56 -0600 | [diff] [blame] | 171 | <li><a href="#" class="requestSelectedButton">Request Selected</a></li> |
| 172 | <li><a href="#" class="clearResults">Clear</a></li> |
| 173 | </ul> |
| 174 | <ul class="nav navbar-nav navbar-right"> |
Tyler Scott | 3fc0527 | 2015-08-17 18:02:35 -0600 | [diff] [blame] | 175 | <li class="dropdown"> |
| 176 | <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">Results Per Page <span class="caret"></span></a> |
| 177 | <ul class="dropdown-menu"> |
| 178 | <li class="active"><a href="#" class="resultsPerPageSelector">25</a></li> |
| 179 | <li><a href="#" class="resultsPerPageSelector">50</a></li> |
| 180 | <li><a href="#" class="resultsPerPageSelector">100</a></li> |
| 181 | <li><a href="#" class="resultsPerPageSelector">200</a></li> |
| 182 | </ul> |
| 183 | </li> |
Tyler Scott | bb42ed2 | 2015-10-21 17:02:56 -0600 | [diff] [blame] | 184 | <li class="previous disabled"> |
| 185 | <a href="#">← Previous</a> |
| 186 | </li> |
Tyler Scott | 3fc0527 | 2015-08-17 18:02:35 -0600 | [diff] [blame] | 187 | <li class="next disabled"> |
| 188 | <a href="#">Next →</a> |
| 189 | </li> |
Tyler Scott | c55879f | 2015-07-28 14:56:37 -0600 | [diff] [blame] | 190 | </ul> |
Tyler Scott | bb42ed2 | 2015-10-21 17:02:56 -0600 | [diff] [blame] | 191 | <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] | 192 | </nav> |
Tyler Scott | a1ac69d | 2015-07-02 17:42:03 -0600 | [diff] [blame] | 193 | <table id="resultTable" class="table"></table> |
Tyler Scott | cdfcde8 | 2015-09-14 16:13:29 -0600 | [diff] [blame] | 194 | <div class="sk-cube-grid"> |
| 195 | <div class="sk-cube sk-cube1"></div> |
| 196 | <div class="sk-cube sk-cube2"></div> |
| 197 | <div class="sk-cube sk-cube3"></div> |
| 198 | <div class="sk-cube sk-cube4"></div> |
| 199 | <div class="sk-cube sk-cube5"></div> |
| 200 | <div class="sk-cube sk-cube6"></div> |
| 201 | <div class="sk-cube sk-cube7"></div> |
| 202 | <div class="sk-cube sk-cube8"></div> |
| 203 | <div class="sk-cube sk-cube9"></div> |
| 204 | </div> |
| 205 | <nav class="navbar navbar-inverse col-md-12 resultMenu"> |
Tyler Scott | 3fc0527 | 2015-08-17 18:02:35 -0600 | [diff] [blame] | 206 | <ul class="nav navbar-nav navbar-left"> |
Tyler Scott | bb42ed2 | 2015-10-21 17:02:56 -0600 | [diff] [blame] | 207 | <li><a href="#" class="requestSelectedButton">Request Selected</a></li> |
| 208 | <li><a href="#" class="clearResults">Clear</a></li> |
| 209 | </ul> |
| 210 | <ul class="nav navbar-nav navbar-right"> |
| 211 | <li class="dropdown"> |
Tyler Scott | 3fc0527 | 2015-08-17 18:02:35 -0600 | [diff] [blame] | 212 | <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">Results Per Page <span class="caret"></span></a> |
| 213 | <ul class="dropdown-menu"> |
| 214 | <li class="active"><a href="#" class="resultsPerPageSelector">25</a></li> |
| 215 | <li><a href="#" class="resultsPerPageSelector">50</a></li> |
| 216 | <li><a href="#" class="resultsPerPageSelector">100</a></li> |
| 217 | <li><a href="#" class="resultsPerPageSelector">200</a></li> |
| 218 | </ul> |
| 219 | </li> |
Tyler Scott | bb42ed2 | 2015-10-21 17:02:56 -0600 | [diff] [blame] | 220 | <li class="previous disabled"> |
| 221 | <a href="#">← Previous</a> |
| 222 | </li> |
Tyler Scott | 3fc0527 | 2015-08-17 18:02:35 -0600 | [diff] [blame] | 223 | <li class="next disabled"> |
| 224 | <a href="#">Next →</a> |
| 225 | </li> |
Tyler Scott | c55879f | 2015-07-28 14:56:37 -0600 | [diff] [blame] | 226 | </ul> |
Tyler Scott | bb42ed2 | 2015-10-21 17:02:56 -0600 | [diff] [blame] | 227 | <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] | 228 | </nav> |
| 229 | </div> |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 230 | </div> |
Alison Craig | 1aced7d | 2015-04-10 12:00:02 -0600 | [diff] [blame] | 231 | |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 232 | </div> |
Alison Craig | 1aced7d | 2015-04-10 12:00:02 -0600 | [diff] [blame] | 233 | |
Alison Craig | ef12da8 | 2015-03-06 09:41:43 -0700 | [diff] [blame] | 234 | </div> |
Alison Craig | ef12da8 | 2015-03-06 09:41:43 -0700 | [diff] [blame] | 235 | |
Tyler Scott | 3c17d5f | 2015-06-23 17:49:29 -0600 | [diff] [blame] | 236 | </div> |
Alison Craig | ef12da8 | 2015-03-06 09:41:43 -0700 | [diff] [blame] | 237 | |
Tyler Scott | cdfcde8 | 2015-09-14 16:13:29 -0600 | [diff] [blame] | 238 | <div id="popup"> |
| 239 | <div id="request" class="panel panel-primary"> |
| 240 | <div class="panel-heading">Confirmation</div> |
| 241 | <div class="panel-body"> |
| 242 | <form id="requestForm"> |
| 243 | <p>Select a destination and press submit if you are sure you want to download the selected data to the selected destination.</p> |
| 244 | <div class="dropdown"> |
| 245 | <button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown"> |
Tyler Scott | b59e6de | 2015-09-18 14:46:30 -0600 | [diff] [blame] | 246 | <span id="requestDropText">Destination<span> |
Tyler Scott | cdfcde8 | 2015-09-14 16:13:29 -0600 | [diff] [blame] | 247 | <span class="caret"></span> |
| 248 | </button> |
| 249 | <ul id="requestDest" class="dropdown-menu"></ul> |
| 250 | </div> |
Tyler Scott | f355e45 | 2015-11-06 21:35:14 -0700 | [diff] [blame] | 251 | <div class="panel panel-default" id="subsetting"> |
| 252 | <div class="panel-heading"> |
| 253 | <a data-toggle="collapse" href="#subsetMenu">Subsetting</a> |
| 254 | </div> |
| 255 | <div class="panel-collapse collapse" id="subsetMenu"> |
| 256 | <div class="panel-body"> |
| 257 | <div id="subsetVariables" class="well"></div> |
| 258 | <button type="button" class="btn btn-default" id="subsetAddVariableBtn">Add Variable</button> |
| 259 | <button type="button" class="btn btn-default" id="subsetAddTimeVariable">Add Time Variable</button> |
| 260 | <button type="button" class="btn btn-default" id="subsetAddLocVariable">Add Location Variable</button> |
| 261 | </div> |
| 262 | </div> |
| 263 | </div> |
Tyler Scott | cdfcde8 | 2015-09-14 16:13:29 -0600 | [diff] [blame] | 264 | <!-- Disabled For Demo |
| 265 | <div class="form-group"> |
| 266 | <label>Authentication Key</label> |
| 267 | <input type="file" class="form-control" placeholder="JSON encoded RSA key"> |
| 268 | <p class="help-block">It is required that you have authentication to move the files, otherwise this will fail.</p> |
| 269 | </div> |
| 270 | <div id="requestDrop" class="well">You can also drop your key here instead of using the input above.</div> |
| 271 | --> |
Tyler Scott | f355e45 | 2015-11-06 21:35:14 -0700 | [diff] [blame] | 272 | <div class="row"> |
| 273 | <div class="floatRight"> |
| 274 | <button type="submit" class="btn btn-primary">Submit</button> |
| 275 | <button id="requestCancel" type="button" class="btn btn-default">Cancel</button> |
| 276 | </div> |
Tyler Scott | cdfcde8 | 2015-09-14 16:13:29 -0600 | [diff] [blame] | 277 | </div> |
| 278 | </form> |
Tyler Scott | 384f37a | 2016-05-05 16:09:05 -0600 | [diff] [blame] | 279 | <div> |
Tyler Scott | 7ae6be0 | 2016-06-22 15:29:26 -0600 | [diff] [blame^] | 280 | <div class="list-group" id="direct-download-list"></div> |
Tyler Scott | 384f37a | 2016-05-05 16:09:05 -0600 | [diff] [blame] | 281 | </div> |
Tyler Scott | cdfcde8 | 2015-09-14 16:13:29 -0600 | [diff] [blame] | 282 | </div> |
| 283 | </div> |
| 284 | </div> |
| 285 | |
Alison Craig | ef12da8 | 2015-03-06 09:41:43 -0700 | [diff] [blame] | 286 | </body> |
| 287 | |
| 288 | </html> |