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