blob: 590fcfba3ee9fc214f403e547c0bea46fb919112 [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>
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 Scott3c17d5f2015-06-23 17:49:29 -060018<!-- Styles -->
Tyler Scottcdfcde82015-09-14 16:13:29 -060019<link rel="stylesheet" href="css/cubeLoader.css">
Tyler Scott696d38f2015-08-04 22:41:22 -060020<link rel="stylesheet" href="css/theme.min.css">
Tyler Scott696d38f2015-08-04 22:41:22 -060021<link rel="stylesheet" href="css/style.css">
Alison Craigef12da82015-03-06 09:41:43 -070022
Tyler Scott3c17d5f2015-06-23 17:49:29 -060023<!-- Scripts -->
Tyler Scotte815d3e2015-07-09 16:56:17 -060024<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
Tyler Scott08263852015-07-31 19:05:52 -060025<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
26<script src="../ndn-js/build/ndn.min.js"></script>
Tyler Scott696d38f2015-08-04 22:41:22 -060027<script src="js/autocomplete.js"></script>
Tyler Scott918210b2015-08-28 13:15:40 -060028<script src="js/treeExplorer.js"></script>
Tyler Scott696d38f2015-08-04 22:41:22 -060029<script src="js/catalog.js"></script>
Alison Craig1aced7d2015-04-10 12:00:02 -060030
Alison Craigef12da82015-03-06 09:41:43 -070031</head>
32
33<body id="body">
Tyler Scott3c17d5f2015-06-23 17:49:29 -060034 <header>
Tyler Scott08263852015-07-31 19:05:52 -060035 <div class="navbar navbar-inverse navbar-static-top container-fluid">
Tyler Scott3c17d5f2015-06-23 17:49:29 -060036 <div class="navbar-header">
Tyler Scott087aef72015-07-14 14:11:59 -060037 <div class="navbar-brand">NDN Query and Retrieval Tool</div>
Tyler Scott3c17d5f2015-06-23 17:49:29 -060038 </div>
39 </div>
40 </header>
Alison Craigef12da82015-03-06 09:41:43 -070041
Tyler Scott3c17d5f2015-06-23 17:49:29 -060042 <div class="container-fluid">
Alison Craigef12da82015-03-06 09:41:43 -070043
Tyler Scottf65b7102015-06-30 18:40:14 -060044 <div class="row">
Alison Craigef12da82015-03-06 09:41:43 -070045
Tyler Scottf65b7102015-06-30 18:40:14 -060046 <div class="col-sm-3 col-md-2 sidebar">
Tyler Scott3fc05272015-08-17 18:02:35 -060047 <div class="panel panel-primary">
Tyler Scott9eb6abd2015-08-04 14:48:23 -060048 <div class="panel-heading">
49 <span>Filter Categories</span>
Tyler Scottc55879f2015-07-28 14:56:37 -060050 </div>
Tyler Scottf65b7102015-06-30 18:40:14 -060051 <div class="panel-body">
52 <ul id="side-menu" class="nav nav-pills nav-stacked"></ul>
53 </div>
Tyler Scott3c17d5f2015-06-23 17:49:29 -060054 </div>
55 </div>
Alison Craig1aced7d2015-04-10 12:00:02 -060056
Tyler Scott3c17d5f2015-06-23 17:49:29 -060057 <div class="col-sm-9 col-md-10">
Alison Craig1aced7d2015-04-10 12:00:02 -060058
Tyler Scott4d951222015-07-31 14:38:27 -060059 <div id="alerts"></div>
60
Tyler Scott3fc05272015-08-17 18:02:35 -060061 <div class="panel panel-info">
Tyler Scott4d951222015-07-31 14:38:27 -060062 <div class="panel-heading">Filter Based Search</div>
Tyler Scott3c17d5f2015-06-23 17:49:29 -060063 <div class="panel-body">
Tyler Scotte815d3e2015-07-09 16:56:17 -060064 <div id="filters"></div>
Tyler Scott4d951222015-07-31 14:38:27 -060065 <button id="searchButton" class="btn btn-primary right-fix">Search</button>
66 </div>
67 </div>
68
Tyler Scott3fc05272015-08-17 18:02:35 -060069 <div class="panel panel-info">
Tyler Scott4d951222015-07-31 14:38:27 -060070 <div class="panel-heading">Path Based Search</div>
71 <div class="panel-body">
Tyler Scott93cae872015-07-21 14:58:23 -060072 <form class="form-inline" id="searchBar">
73 <div class="form-group">
Tyler Scott93cae872015-07-21 14:58:23 -060074 <div class="input-group">
Tyler Scott9eb6abd2015-08-04 14:48:23 -060075 <input id="search" placeholder="Enter a path (Ex: /CMIP5)"
76 type="text" class="form-control"
Tyler Scottc55879f2015-07-28 14:56:37 -060077 title="This bar is for doing a tab completion like path completion. Press tab, enter, or click AutoComplete to begin your search.">
Tyler Scott93cae872015-07-21 14:58:23 -060078 <div class="input-group-btn">
Tyler Scott08263852015-07-31 19:05:52 -060079 <button id="autoCompleteSearch" type="submit" class="btn btn-primary">Search</button>
Tyler Scott7d076e22015-07-06 19:21:50 -060080 </div>
Tyler Scott93cae872015-07-21 14:58:23 -060081 </div>
Tyler Scott3c17d5f2015-06-23 17:49:29 -060082 </div>
Tyler Scott93cae872015-07-21 14:58:23 -060083 </form>
Tyler Scott3c17d5f2015-06-23 17:49:29 -060084 </div>
Alison Craig1aced7d2015-04-10 12:00:02 -060085 </div>
86
Tyler Scott918210b2015-08-28 13:15:40 -060087 <div class="panel panel-info">
88 <div class="panel-heading">Tree Based Search<a data-toggle="collapse" class="collapsed" data-target="#treeSearch" href="#treeSearch"></a></div>
89 <div class="panel-body collapse" id="treeSearch">
90 <div></div>
91 </div>
92 </div>
93
Tyler Scott3fc05272015-08-17 18:02:35 -060094 <div id="results" class="panel panel-default hidden">
Tyler Scott3c17d5f2015-06-23 17:49:29 -060095 <div class="panel-body">
Tyler Scottcdfcde82015-09-14 16:13:29 -060096 <nav class="navbar navbar-inverse col-md-12 resultMenu">
Tyler Scott3fc05272015-08-17 18:02:35 -060097 <ul class="nav navbar-nav navbar-left">
98 <li class="previous disabled">
99 <a href="#">&larr; Previous</a>
100 </li>
101 <li class="dropdown">
102 <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">Results Per Page <span class="caret"></span></a>
103 <ul class="dropdown-menu">
104 <li class="active"><a href="#" class="resultsPerPageSelector">25</a></li>
105 <li><a href="#" class="resultsPerPageSelector">50</a></li>
106 <li><a href="#" class="resultsPerPageSelector">100</a></li>
107 <li><a href="#" class="resultsPerPageSelector">200</a></li>
108 </ul>
109 </li>
110 <li><a href="#" class="requestSelectedButton">Request Selected</a></li>
111 </ul>
112 <div class="navbar-text">(Page <span class="pageNumber">0</span>) <span class="pageLength">0</span>/<span class="totalResults">0</span> Results</div>
113 <ul class="nav navbar-nav navbar-right">
114 <li class="next disabled">
115 <a href="#">Next &rarr;</a>
116 </li>
Tyler Scottc55879f2015-07-28 14:56:37 -0600117 </ul>
Tyler Scottbb013562015-07-16 15:52:40 -0600118 </nav>
Tyler Scotta1ac69d2015-07-02 17:42:03 -0600119 <table id="resultTable" class="table"></table>
Tyler Scottcdfcde82015-09-14 16:13:29 -0600120 <div class="sk-cube-grid">
121 <div class="sk-cube sk-cube1"></div>
122 <div class="sk-cube sk-cube2"></div>
123 <div class="sk-cube sk-cube3"></div>
124 <div class="sk-cube sk-cube4"></div>
125 <div class="sk-cube sk-cube5"></div>
126 <div class="sk-cube sk-cube6"></div>
127 <div class="sk-cube sk-cube7"></div>
128 <div class="sk-cube sk-cube8"></div>
129 <div class="sk-cube sk-cube9"></div>
130 </div>
131 <nav class="navbar navbar-inverse col-md-12 resultMenu">
Tyler Scott3fc05272015-08-17 18:02:35 -0600132 <ul class="nav navbar-nav navbar-left">
133 <li class="previous disabled">
134 <a href="#">&larr; Previous</a>
135 </li>
136 <li class="dropup">
137 <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">Results Per Page <span class="caret"></span></a>
138 <ul class="dropdown-menu">
139 <li class="active"><a href="#" class="resultsPerPageSelector">25</a></li>
140 <li><a href="#" class="resultsPerPageSelector">50</a></li>
141 <li><a href="#" class="resultsPerPageSelector">100</a></li>
142 <li><a href="#" class="resultsPerPageSelector">200</a></li>
143 </ul>
144 </li>
145 <li><a href="#" class="requestSelectedButton">Request Selected</a></li>
146 </ul>
147 <div class="navbar-text">(Page <span class="pageNumber">0</span>) <span class="pageLength">0</span>/<span class="totalResults">0</span> Results</div>
148 <ul class="nav navbar-nav navbar-right">
149 <li class="next disabled">
150 <a href="#">Next &rarr;</a>
151 </li>
Tyler Scottc55879f2015-07-28 14:56:37 -0600152 </ul>
153 </nav>
154 </div>
Tyler Scott3c17d5f2015-06-23 17:49:29 -0600155 </div>
Alison Craig1aced7d2015-04-10 12:00:02 -0600156
Tyler Scott3c17d5f2015-06-23 17:49:29 -0600157 </div>
Alison Craig1aced7d2015-04-10 12:00:02 -0600158
Alison Craigef12da82015-03-06 09:41:43 -0700159 </div>
Alison Craigef12da82015-03-06 09:41:43 -0700160
Tyler Scott3c17d5f2015-06-23 17:49:29 -0600161 </div>
Alison Craigef12da82015-03-06 09:41:43 -0700162
Tyler Scottcdfcde82015-09-14 16:13:29 -0600163 <div id="popup">
164 <div id="request" class="panel panel-primary">
165 <div class="panel-heading">Confirmation</div>
166 <div class="panel-body">
167 <form id="requestForm">
168 <p>Select a destination and press submit if you are sure you want to download the selected data to the selected destination.</p>
169 <div class="dropdown">
170 <button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown">
171 Destination
172 <span class="caret"></span>
173 </button>
174 <ul id="requestDest" class="dropdown-menu"></ul>
175 </div>
176 <!-- Disabled For Demo
177 <div class="form-group">
178 <label>Authentication Key</label>
179 <input type="file" class="form-control" placeholder="JSON encoded RSA key">
180 <p class="help-block">It is required that you have authentication to move the files, otherwise this will fail.</p>
181 </div>
182 <div id="requestDrop" class="well">You can also drop your key here instead of using the input above.</div>
183 -->
184 <div class="absBotRight">
185 <button type="submit" class="btn btn-primary">Submit</button>
186 <button id="requestCancel" type="button" class="btn btn-default">Cancel</button>
187 </div>
188 </form>
189 </div>
190 </div>
191 </div>
192
Alison Craigef12da82015-03-06 09:41:43 -0700193</body>
194
195</html>