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