blob: 42a3bc337b7fff7d6acc888e9a7b11b3bbd7e5a6 [file] [log] [blame]
genia.likes.science@gmail.coma362b4d2013-04-26 08:29:25 -07001<!DOCTYPE html>
2<html style="width: 100%; height: 100%;">
3 <head>
4 <title>ASTERIX Demo</title>
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
7 <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/themes/base/jquery-ui.css"
8 rel="stylesheet" type="text/css"/>
9 <link href="../css/jquery.dataTables.css" rel="stylesheet" type="text/css"/>
10 <link href="../css/bootstrap.min.css" rel="stylesheet" media="screen">
11
12 <script src="http://maps.googleapis.com/maps/api/js?sensor=false&libraries=places"
13 type="text/javascript"></script>
14 <script src="http://code.jquery.com/jquery.min.js" type="text/javascript"></script>
15 <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"
16 type="text/javascript"></script>
17
18 <script src="../js/bootstrap.min.js"></script>
19 <script type="text/javascript" src="../js/geostats.js" ></script>
20 <script src="../js/asterix-api-core.js" type="text/javascript"></script>
21 <script src="../js/cherry.js" type="text/javascript"></script>
22 <style type="text/css">
23 .column-section {
24 border-top: 2px solid #aaa;
25 margin-top: 10px;
26 }
27
28 .section-title {
29 background: #ddd;
30 padding: 5px 0;
31 }
32
33 .section-title span {
34 margin-left: 10px;
35 font-weight: bold;
36 }
37
38 .control {
39 margin: 0;
40 }
41
42 #map_canvas img {
43 max-width: none;
44 }
45
46 #legend-holder {
47 background: white;
48 padding: 10px;
49 margin: 10px;
50 text-align: center;
51 }
52
53 #review-handles-dropdown {
54 padding: 10px;
55 }
56
57 </style>
58 </head>
59 <body style="width: 100%; height: 100%;">
60
61 <!-- Nav -->
62 <div class="navbar">
63 <div class="navbar-inner">
64 <a class="brand" href="#" style="padding: 0.25em;"><img src="../img/asterixlogo.png" height="30" width="72"></a>
65 <ul class="nav">
66 <li id="explore-active" class="active"><a id="explore-mode" href="#">Explore</a></li>
67 <li id="review-active" ><a id="review-mode" href="#">Review</a></li>
68 </ul>
69 </div>
70 </div>
71
72 <!-- Search Box -->
73 <div class="container-fluid">
74
75 <div class="row">
76
77 <!-- Search Bar -->
78 <div class="span4 well" id="explore-well">
79 <div class="column-section" id="location">
80 <div class="section-title"><span>Location</span></div>
81 <!--<div class="section-controls">-->
82 <input class="textbox" type="text" id="location-text-box">
83 <div class="btn-group" data-toggle="buttons-radio">
84 <button type="button" class="btn" id="location-button">Location</button>
85 <button type="button" class="btn" id="selection-button">Selection</button>
86 </div>
87 <!-- </div>-->
88 </div><!-- end #location-->
89
90 <div class="column-section" id="date">
91 <div class="section-title"><span>Date</span></div>
92 <div class="section-controls">
93 <span style="white-space:nowrap; display: block; overflow:hidden;">
94 <label for="start-date">Start Date</label><input type="text" class="textbox" id="start-date">
95 </span>
96 <input type="text" class="textbox" id="end-date">
97 <label for="end-date">End Date</label>
98 </div>
99 </div><!-- end #date-->
100
101 <div class="column-section" id="keyword">
102 <div class="section-title"><span>Keyword</span></div>
103 <div class="section-controls">
104 <input type="text" class="textbox" id="keyword-textbox" value="verizon">
105 </div>
106 </div><!-- end #keyword-->
107
108 <div class="column-section" id="grid">
109 <div class="section-title"><span>Grid: Latitude &amp; Longitude</span></div>
110 <div class="section-controls">
111
112 <div class="grid-slider" id="grid-lat-slider"></div>
113 <div class="control-label">Latitude: <span id="gridlat">3.0</span></div>
114
115 <div class="grid-slider" id="grid-lng-slider"></div>
116 <div class="control-label">Longitude: <span id="gridlng">3.0</span></div>
117 </div>
118 </div><!-- end #grid-->
119
120 <div class="column-section" style="border: none;" id="submit-query">
121 <div class="section-controls">
122 <button id="submit-button">Submit</button>
123 <button id="clear-button">Clear</button>
124 <button id="show-query-button">Show Query</button><br />
125 <input type="checkbox" value="Submit Asynchronously" name="async" id="asbox" />
126 Submit asynchronously?
127 </div>
128 </div><!-- end #submit-query -->
129
130 </div><!--/span-->
131
132 <!-- Drilldown Modal -->
133 <div id="drilldown_modal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
134 <div class="modal-header">
135 <button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
136 <h3 id="myModalLabel">Explore Tweets</h3>
137 </div>
138 <div class="modal-body" id="drilldown_modal_body"></div>
139 <div class="modal-footer">
140 <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
141 </div>
142 </div>
143
144 <div class="span4 well" id="review-well" style="display:none;">
145 <div class="btn-group" style="margin-bottom: 10px;" id="group-tweetbooks">
146 <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
147 Tweetbooks
148 <span class="caret"></span>
149 </a>
150 <ul class="dropdown-menu" id="review-tweetbook-dropdown">
151 <li><a href="#" class="holdmenu">
152 <input type="text" id="new-tweetbook-entry" placeholder="Name a new tweetbook">
153 <button type="button" class="btn" id="new-tweetbook-button">Add</button>
154 </a></li>
155 <li class="divider"></li>
156 <div id="review-tweetbook-titles">
157 </div>
158 </ul>
159 </div><br/>
160
161 <div class="btn-group" id="group-background-query" style="margin-bottom: 10px;">
162 <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
163 Background Queries
164 <span class="caret"></span>
165 </a>
166 <ul class="dropdown-menu" id="review-handles-dropdown">
167 </ul>
168 </div>
169
170 <div id="query-preview-window" style="overflow: auto; width: 100%; background: white; border: 2px solid black;">
171 </div>
172 </div>
173
174 <!-- Map -->
175 <div class="span8 well" >
176 <div id="map_canvas" style="width: 100%; height: 100%;"></div>
177 </div><!--/span-->
178 <div id="map_canvas_legend">
179 </div>
180
181 </div><!--/row-->
182 <div class="row">
183
184 <div id="dialog">
185 <h4>You must submit a query first.</h4>
186 </div></div>
187 </div><!-- container -->
188 <hr>
189
190 </body>
191</html>