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 | |
madhusudancs@gmail.com | 2e1e54c | 2013-03-31 02:31:10 +0000 | [diff] [blame] | 9 | <link href="/webui/static/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> |
| 10 | <link href="/webui/static/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css" /> |
| 11 | |
| 12 | <script src="/webui/static/js/bootstrap.min.js"></script> |
| 13 | |
| 14 | <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] | 15 | |
| 16 | <script type="text/javascript"> |
| 17 | $(document).ready(function(){ |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 18 | $("form#queryform").submit(function() { |
madhusudancs@gmail.com | f56d21d | 2013-04-04 22:54:51 +0000 | [diff] [blame] | 19 | $('#output-message').html(""); |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 20 | $.post("/", $("form#queryform").serialize(), function(data) { |
| 21 | $('#output-message').html(data); |
| 22 | }); |
| 23 | return false; |
| 24 | }); |
| 25 | }); |
| 26 | </script> |
| 27 | |
| 28 | <meta charset=utf-8 /> |
| 29 | <title>ASTERIX Demo</title> |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 30 | </head> |
| 31 | |
| 32 | <body> |
| 33 | <div class="navbar navbar-inverse navbar-fixed-top"> |
| 34 | <div class="navbar-inner"> |
| 35 | <div class="container"> |
| 36 | <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> |
| 37 | <span class="icon-bar"></span> |
| 38 | <span class="icon-bar"></span> |
| 39 | <span class="icon-bar"></span> |
| 40 | </a> |
| 41 | <a class="brand" href="#">ASTERIX</a> |
| 42 | <div class="nav-collapse collapse"> |
| 43 | <ul class="nav"> |
| 44 | <li><a href="http://code.google.com/p/asterixdb/source/browse/">Open source</a></li> |
| 45 | <li><a href="http://code.google.com/p/asterixdb/issues/list">File issues</a></li> |
| 46 | <li><a href="https://groups.google.com/forum/?fromgroups#!forum/asterixdb-userst">Contact</a></li> |
| 47 | </ul> |
| 48 | </div><!--/.nav-collapse --> |
| 49 | </div> |
| 50 | </div> |
| 51 | </div> |
| 52 | |
| 53 | <div class="content"> |
| 54 | <div class="container"> |
| 55 | <div class="row-fluid"> |
| 56 | <div class="span6"> |
| 57 | <form id="queryform" class="form-horizontal" method="post"> |
| 58 | <div> |
| 59 | <label class="query">Query</label> |
madhusudancs@gmail.com | 833aea7 | 2013-04-04 22:38:29 +0000 | [diff] [blame] | 60 | <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] | 61 | </div> |
| 62 | <div> |
madhusudancs@gmail.com | 833aea7 | 2013-04-04 22:38:29 +0000 | [diff] [blame] | 63 | <label class="checkbox"><input type="checkbox" checked="checked" name="print-expr-tree" value="true" /> Print parsed expressions</label> |
| 64 | <label class="checkbox"><input type="checkbox" checked="checked" name="print-rewritten-expr-tree" value="true" /> Print rewritten expressions</label> |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 65 | </div> |
| 66 | <div> |
madhusudancs@gmail.com | 833aea7 | 2013-04-04 22:38:29 +0000 | [diff] [blame] | 67 | <label class="checkbox"><input type="checkbox" checked="checked" name="print-logical-plan" value="true" /> Print logical plan</label> |
| 68 | <label class="checkbox"><input type="checkbox" checked="checked" name="print-optimized-logical-plan" value="true" /> Print optimized logical plan</label> |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 69 | </div> |
| 70 | <div> |
madhusudancs@gmail.com | 833aea7 | 2013-04-04 22:38:29 +0000 | [diff] [blame] | 71 | <label class="checkbox"><input type="checkbox" checked="checked" name="print-job" value="true" /> Print hyracks job</label> |
madhusudancs@gmail.com | 99e82c6 | 2013-03-31 00:26:34 +0000 | [diff] [blame] | 72 | </div> |
| 73 | <button type="submit" class="btn btn-danger">Execute</button> |
| 74 | </form> |
| 75 | </div> |
| 76 | |
| 77 | <div class="span6"> |
| 78 | <div class="output"> |
| 79 | <label class="heading">Output</label> |
| 80 | <div id="output-message" class="message"> |
| 81 | </div> |
| 82 | </div> |
| 83 | </div> |
| 84 | </div> |
| 85 | </div> |
| 86 | </div> |
| 87 | <div class="footer"> |
| 88 | <section class="line"><hr></section> |
| 89 | <section class="content"> |
| 90 | <section class="left"> |
| 91 | Developed by ASTERIX group |
| 92 | </section> |
| 93 | <section class="right"> |
| 94 | © Copyright 2013 University of California, Irvine |
| 95 | </section> |
| 96 | </section> |
| 97 | </div> |
| 98 | </body> |
| 99 | </html> |
| 100 | |