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