blob: 78c0e739f7b5e714161a0d065a3630f14696c2d8 [file] [log] [blame]
Alison Craigef12da82015-03-06 09:41:43 -07001<!DOCTYPE html>
2<html lang="en-US">
3
4<head>
Tyler Scott087aef72015-07-14 14:11:59 -06005<title>NDN Query and Retrieval Tool</title>
Alison Craigef12da82015-03-06 09:41:43 -07006
Tyler Scotte815d3e2015-07-09 16:56:17 -06007<script>
Tyler Scottf95a97c2016-06-21 12:09:22 -06008(function(i, s, o, g, r, a, m) {
Tyler Scott7ae6be02016-06-22 15:29:26 -06009 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 Scottf95a97c2016-06-21 12:09:22 -060020})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
Tyler Scottf95a97c2016-06-21 12:09:22 -060021ga('create', 'UA-64984905-1', 'auto');
22ga('send', 'pageview');
Tyler Scotte815d3e2015-07-09 16:56:17 -060023</script>
24
Tyler Scott3c17d5f2015-06-23 17:49:29 -060025<!-- Styles -->
Tyler Scott48f92cd2015-10-16 18:31:20 -060026<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css">
Tyler Scottcdfcde82015-09-14 16:13:29 -060027<link rel="stylesheet" href="css/cubeLoader.css">
Tyler Scott696d38f2015-08-04 22:41:22 -060028<link rel="stylesheet" href="css/theme.min.css">
Tyler Scott696d38f2015-08-04 22:41:22 -060029<link rel="stylesheet" href="css/style.css">
Alison Craigef12da82015-03-06 09:41:43 -070030
Tyler Scottf95a97c2016-06-21 12:09:22 -060031<!-- Scripts -->
Tyler Scott384f37a2016-05-05 16:09:05 -060032<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 Craig1aced7d2015-04-10 12:00:02 -060048
Alison Craigef12da82015-03-06 09:41:43 -070049</head>
50
51<body id="body">
Tyler Scottf355e452015-11-06 21:35:14 -070052
53 <div id="templates">
54 <div class="row" id="timeTemplate">
55 <button class="col-xs-1 close" type="button">&times;</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">&times;</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">&deg; 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">&deg; 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">&deg; 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">&deg; East</span>
85 </div>
86 </div>
87 </div>
88 <div class="row" id="customTemplate">
89 <button class="col-xs-1 close" type="button">&times;</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 Scott3c17d5f2015-06-23 17:49:29 -060099 <header>
Tyler Scott08263852015-07-31 19:05:52 -0600100 <div class="navbar navbar-inverse navbar-static-top container-fluid">
Tyler Scott3c17d5f2015-06-23 17:49:29 -0600101 <div class="navbar-header">
Tyler Scottf95a97c2016-06-21 12:09:22 -0600102 <a class="navbar-brand" data-toggle="tab" href="#filterSearch" id="brand-title">NDN Query and Retrieval Tool</a>
Tyler Scott3c17d5f2015-06-23 17:49:29 -0600103 </div>
Tyler Scotte8dac702015-10-13 14:33:25 -0600104 <ul class="navbar-nav nav">
Tyler Scott7ae6be02016-06-22 15:29:26 -0600105 <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 Scotte8dac702015-10-13 14:33:25 -0600108 </ul>
Tyler Scott3c17d5f2015-06-23 17:49:29 -0600109 </div>
110 </header>
Alison Craigef12da82015-03-06 09:41:43 -0700111
Tyler Scott3c17d5f2015-06-23 17:49:29 -0600112 <div class="container-fluid">
Alison Craigef12da82015-03-06 09:41:43 -0700113
Tyler Scottf65b7102015-06-30 18:40:14 -0600114 <div class="row">
Alison Craigef12da82015-03-06 09:41:43 -0700115
Tyler Scottf355e452015-11-06 21:35:14 -0700116 <div class="col-sm-12 col-md-12">
Alison Craig1aced7d2015-04-10 12:00:02 -0600117
Tyler Scott4d951222015-07-31 14:38:27 -0600118 <div id="alerts"></div>
119
Tyler Scotte8dac702015-10-13 14:33:25 -0600120 <div class="panel panel-info tab-pane fade in active" id="filterSearch">
Tyler Scottf95a97c2016-06-21 12:09:22 -0600121 <div class="panel-heading">Filter Search</div>
Tyler Scott3c17d5f2015-06-23 17:49:29 -0600122 <div class="panel-body">
Tyler Scottf355e452015-11-06 21:35:14 -0700123 <div>
124 <div id="filters"></div>
125 <button id="searchButton" class="btn btn-primary right-fix">Search</button>
126 </div>
127 <div>
Tyler Scotte8dac702015-10-13 14:33:25 -0600128 <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 Scott4d951222015-07-31 14:38:27 -0600137 </div>
138 </div>
139
Tyler Scott7ae6be02016-06-22 15:29:26 -0600140 <div class="tab-pane fade" id="path-search">
Tyler Scottf95a97c2016-06-21 12:09:22 -0600141 <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 Scott7d076e22015-07-06 19:21:50 -0600151 </div>
Tyler Scott93cae872015-07-21 14:58:23 -0600152 </div>
Tyler Scottf95a97c2016-06-21 12:09:22 -0600153 </form>
154 </div>
Tyler Scott3c17d5f2015-06-23 17:49:29 -0600155 </div>
Tyler Scott7ae6be02016-06-22 15:29:26 -0600156 </div>
157
158 <div class="tab-pane fade" id="tree-search">
159 <div class="panel panel-info" id="treeSearchPane">
Tyler Scottf95a97c2016-06-21 12:09:22 -0600160 <div class="panel-heading">Tree Search</div>
161 <div class="panel-body" id="treeSearch">
162 <div></div>
163 </div>
Tyler Scott918210b2015-08-28 13:15:40 -0600164 </div>
165 </div>
166
Tyler Scott3fc05272015-08-17 18:02:35 -0600167 <div id="results" class="panel panel-default hidden">
Tyler Scott3c17d5f2015-06-23 17:49:29 -0600168 <div class="panel-body">
Tyler Scottcdfcde82015-09-14 16:13:29 -0600169 <nav class="navbar navbar-inverse col-md-12 resultMenu">
Tyler Scott3fc05272015-08-17 18:02:35 -0600170 <ul class="nav navbar-nav navbar-left">
Tyler Scottbb42ed22015-10-21 17:02:56 -0600171 <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 Scott3fc05272015-08-17 18:02:35 -0600175 <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 Scottbb42ed22015-10-21 17:02:56 -0600184 <li class="previous disabled">
185 <a href="#">&larr; Previous</a>
186 </li>
Tyler Scott3fc05272015-08-17 18:02:35 -0600187 <li class="next disabled">
188 <a href="#">Next &rarr;</a>
189 </li>
Tyler Scottc55879f2015-07-28 14:56:37 -0600190 </ul>
Tyler Scottbb42ed22015-10-21 17:02:56 -0600191 <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 Scottbb013562015-07-16 15:52:40 -0600192 </nav>
Tyler Scotta1ac69d2015-07-02 17:42:03 -0600193 <table id="resultTable" class="table"></table>
Tyler Scottcdfcde82015-09-14 16:13:29 -0600194 <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 Scott3fc05272015-08-17 18:02:35 -0600206 <ul class="nav navbar-nav navbar-left">
Tyler Scottbb42ed22015-10-21 17:02:56 -0600207 <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 Scott3fc05272015-08-17 18:02:35 -0600212 <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 Scottbb42ed22015-10-21 17:02:56 -0600220 <li class="previous disabled">
221 <a href="#">&larr; Previous</a>
222 </li>
Tyler Scott3fc05272015-08-17 18:02:35 -0600223 <li class="next disabled">
224 <a href="#">Next &rarr;</a>
225 </li>
Tyler Scottc55879f2015-07-28 14:56:37 -0600226 </ul>
Tyler Scottbb42ed22015-10-21 17:02:56 -0600227 <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 Scottc55879f2015-07-28 14:56:37 -0600228 </nav>
229 </div>
Tyler Scott3c17d5f2015-06-23 17:49:29 -0600230 </div>
Alison Craig1aced7d2015-04-10 12:00:02 -0600231
Tyler Scott3c17d5f2015-06-23 17:49:29 -0600232 </div>
Alison Craig1aced7d2015-04-10 12:00:02 -0600233
Alison Craigef12da82015-03-06 09:41:43 -0700234 </div>
Alison Craigef12da82015-03-06 09:41:43 -0700235
Tyler Scott3c17d5f2015-06-23 17:49:29 -0600236 </div>
Alison Craigef12da82015-03-06 09:41:43 -0700237
Tyler Scottcdfcde82015-09-14 16:13:29 -0600238 <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 Scottb59e6de2015-09-18 14:46:30 -0600246 <span id="requestDropText">Destination<span>
Tyler Scottcdfcde82015-09-14 16:13:29 -0600247 <span class="caret"></span>
248 </button>
249 <ul id="requestDest" class="dropdown-menu"></ul>
250 </div>
Tyler Scottf355e452015-11-06 21:35:14 -0700251 <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 Scottcdfcde82015-09-14 16:13:29 -0600264 <!-- 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 Scottf355e452015-11-06 21:35:14 -0700272 <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 Scottcdfcde82015-09-14 16:13:29 -0600277 </div>
278 </form>
Tyler Scott384f37a2016-05-05 16:09:05 -0600279 <div>
Tyler Scott7ae6be02016-06-22 15:29:26 -0600280 <div class="list-group" id="direct-download-list"></div>
Tyler Scott384f37a2016-05-05 16:09:05 -0600281 </div>
Tyler Scottcdfcde82015-09-14 16:13:29 -0600282 </div>
283 </div>
284 </div>
285
Alison Craigef12da82015-03-06 09:41:43 -0700286</body>
287
288</html>