madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <meta name="description" content="ASTERIX WEB PAGE" /> |
| 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | <link href='http://fonts.googleapis.com/css?family=Bitter|PT+Sans+Caption|Open+Sans' rel='stylesheet' type='text/css'> |
madhusudancs@gmail.com | 2e1e54c | 2013-03-31 02:31:10 +0000 | [diff] [blame] | 7 | <script src="/webui/static/js/jquery.min.js"></script> |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 8 | |
genia.likes.science@gmail.com | bcd0ea1 | 2013-05-13 01:34:31 -0700 | [diff] [blame] | 9 | <link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.no-icons.min.css" rel="stylesheet"> |
| 10 | <link href="//netdna.bootstrapcdn.com/font-awesome/3.1.1/css/font-awesome.css" rel="stylesheet"> |
| 11 | |
madhusudancs@gmail.com | 2e1e54c | 2013-03-31 02:31:10 +0000 | [diff] [blame] | 12 | <link href="/webui/static/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> |
| 13 | <link href="/webui/static/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css" /> |
| 14 | |
| 15 | <script src="/webui/static/js/bootstrap.min.js"></script> |
| 16 | |
| 17 | <link href="/webui/static/css/style.css" rel="stylesheet" type="text/css" /> |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 18 | |
| 19 | <script type="text/javascript"> |
| 20 | $(document).ready(function(){ |
genia.likes.science@gmail.com | 024749d | 2013-05-20 21:33:08 -0700 | [diff] [blame^] | 21 | |
| 22 | $('#checkboxes-on').click(function() { |
| 23 | $('#queryform :input').prop('checked', true); |
| 24 | }); |
| 25 | |
| 26 | $('#checkboxes-off').click(function() { |
| 27 | $('form#queryform :input').removeAttr('checked'); |
| 28 | }); |
| 29 | |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 30 | $("form#queryform").submit(function() { |
madhusudancs@gmail.com | f56d21d | 2013-04-04 22:54:51 +0000 | [diff] [blame] | 31 | $('#output-message').html(""); |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 32 | $.post("/", $("form#queryform").serialize(), function(data) { |
genia.likes.science@gmail.com | 99f019d | 2013-05-13 04:14:46 -0700 | [diff] [blame] | 33 | |
genia.likes.science@gmail.com | 007c5a9 | 2013-05-13 03:13:20 -0700 | [diff] [blame] | 34 | $('#output-message').html(data); |
genia.likes.science@gmail.com | 99f019d | 2013-05-13 04:14:46 -0700 | [diff] [blame] | 35 | |
| 36 | var contentString = data.toString(); |
| 37 | if (contentString.indexOf("<PRE>Duration") !== -1) { |
| 38 | $("<div/>") |
| 39 | .addClass("alert alert-success") |
| 40 | .html("Success: Query Complete") |
| 41 | .appendTo('#output-message'); |
| 42 | } |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 43 | }); |
| 44 | return false; |
| 45 | }); |
| 46 | }); |
| 47 | </script> |
| 48 | |
| 49 | <meta charset=utf-8 /> |
genia.likes.science@gmail.com | 12946c4 | 2013-05-12 12:12:15 -0700 | [diff] [blame] | 50 | <title>AsterixDB Web Interface</title> |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 51 | </head> |
| 52 | |
| 53 | <body> |
genia.likes.science@gmail.com | bcd0ea1 | 2013-05-13 01:34:31 -0700 | [diff] [blame] | 54 | <div class="navbar navbar-fixed-top"> |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 55 | <div class="navbar-inner"> |
| 56 | <div class="container"> |
| 57 | <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> |
| 58 | <span class="icon-bar"></span> |
| 59 | <span class="icon-bar"></span> |
| 60 | <span class="icon-bar"></span> |
| 61 | </a> |
genia.likes.science@gmail.com | bcd0ea1 | 2013-05-13 01:34:31 -0700 | [diff] [blame] | 62 | |
| 63 | <!-- Temporary logo placeholder --> |
genia.likes.science@gmail.com | 6995caf | 2013-05-20 18:05:02 -0700 | [diff] [blame] | 64 | <!-- <a class="brand" href="#"><img src="/webui/static/img/finalasterixlogo.png"></a> --> |
| 65 | <a class="brand" href="#"><img src="http://db.tt/J1MTCdKs"></a> |
genia.likes.science@gmail.com | bcd0ea1 | 2013-05-13 01:34:31 -0700 | [diff] [blame] | 66 | |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 67 | <div class="nav-collapse collapse"> |
| 68 | <ul class="nav"> |
genia.likes.science@gmail.com | f77005c | 2013-05-13 01:42:24 -0700 | [diff] [blame] | 69 | <li><a href="http://code.google.com/p/asterixdb/source/browse/" target="_blank">Open source<i class="icon-external-link"></i></a></li> |
| 70 | <li><a href="http://code.google.com/p/asterixdb/issues/list" target="_blank">File issues<i class="icon-external-link"></i></a></li> |
| 71 | <li><a href="https://groups.google.com/forum/?fromgroups#!forum/asterixdb-userst" target="_blank">Contact<i class="icon-external-link"></i></a></li> |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 72 | </ul> |
| 73 | </div><!--/.nav-collapse --> |
| 74 | </div> |
| 75 | </div> |
| 76 | </div> |
| 77 | |
| 78 | <div class="content"> |
| 79 | <div class="container"> |
| 80 | <div class="row-fluid"> |
genia.likes.science@gmail.com | 024749d | 2013-05-20 21:33:08 -0700 | [diff] [blame^] | 81 | |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 82 | <div class="span6"> |
genia.likes.science@gmail.com | 024749d | 2013-05-20 21:33:08 -0700 | [diff] [blame^] | 83 | <div class="btn-group"> |
| 84 | <button id="checkboxes-on" class="btn">Select All Options</button> |
| 85 | <button id="checkboxes-off" class="btn">Clear All Options</button> |
| 86 | </div> |
| 87 | |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 88 | <form id="queryform" class="form-horizontal" method="post"> |
| 89 | <div> |
| 90 | <label class="query">Query</label> |
madhusudancs@gmail.com | 833aea7 | 2013-04-04 22:38:29 +0000 | [diff] [blame] | 91 | <textarea rows="10" name="query" class="query" value="%s" placeholder="Type your AQL query ..."></textarea> |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 92 | </div> |
genia.likes.science@gmail.com | 024749d | 2013-05-20 21:33:08 -0700 | [diff] [blame^] | 93 | |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 94 | <div> |
genia.likes.science@gmail.com | 024749d | 2013-05-20 21:33:08 -0700 | [diff] [blame^] | 95 | <label class="checkbox"><input type="checkbox" class="btn" checked="checked" name="print-expr-tree" value="true" /> Print parsed expressions</label> |
madhusudancs@gmail.com | 833aea7 | 2013-04-04 22:38:29 +0000 | [diff] [blame] | 96 | <label class="checkbox"><input type="checkbox" checked="checked" name="print-rewritten-expr-tree" value="true" /> Print rewritten expressions</label> |
madhusudancs@gmail.com | 833aea7 | 2013-04-04 22:38:29 +0000 | [diff] [blame] | 97 | <label class="checkbox"><input type="checkbox" checked="checked" name="print-logical-plan" value="true" /> Print logical plan</label> |
| 98 | <label class="checkbox"><input type="checkbox" checked="checked" name="print-optimized-logical-plan" value="true" /> Print optimized logical plan</label> |
genia.likes.science@gmail.com | 7e03f87 | 2013-05-12 12:15:06 -0700 | [diff] [blame] | 99 | <label class="checkbox"><input type="checkbox" |
| 100 | checked="checked" name="print-job" value="true" /> Print Hyracks job</label> |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 101 | </div> |
genia.likes.science@gmail.com | 024749d | 2013-05-20 21:33:08 -0700 | [diff] [blame^] | 102 | <button type="submit" id="run-btn" class="btn btn-custom-darken">Run</button> |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 103 | </form> |
genia.likes.science@gmail.com | 024749d | 2013-05-20 21:33:08 -0700 | [diff] [blame^] | 104 | </div> |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 105 | |
genia.likes.science@gmail.com | 024749d | 2013-05-20 21:33:08 -0700 | [diff] [blame^] | 106 | <div class="span6"> |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 107 | <div class="output"> |
| 108 | <label class="heading">Output</label> |
| 109 | <div id="output-message" class="message"> |
| 110 | </div> |
| 111 | </div> |
| 112 | </div> |
genia.likes.science@gmail.com | 024749d | 2013-05-20 21:33:08 -0700 | [diff] [blame^] | 113 | |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 114 | </div> |
| 115 | </div> |
genia.likes.science@gmail.com | bcd0ea1 | 2013-05-13 01:34:31 -0700 | [diff] [blame] | 116 | </div> |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 117 | <div class="footer"> |
| 118 | <section class="line"><hr></section> |
| 119 | <section class="content"> |
| 120 | <section class="left"> |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 121 | </section> |
| 122 | <section class="right"> |
| 123 | © Copyright 2013 University of California, Irvine |
| 124 | </section> |
| 125 | </section> |
| 126 | </div> |
| 127 | </body> |
| 128 | </html> |
| 129 | |