commit | 007c5a95ec76eed0519709bf9980c274a82755e6 | [log] [tgz] |
---|---|---|
author | genia.likes.science@gmail.com <genia.likes.science@gmail.com> | Mon May 13 03:13:20 2013 -0700 |
committer | genia.likes.science@gmail.com <genia.likes.science@gmail.com> | Mon May 13 03:13:20 2013 -0700 |
tree | 0294c23497a6656de1a9229eb1c50c2582bbb2ab | |
parent | 8e68684b20cae433cc1dc82492c8629e52ce62e9 [diff] |
Added a heading to results output in html
diff --git a/asterix-app/src/main/java/edu/uci/ics/asterix/aql/translator/AqlTranslator.java b/asterix-app/src/main/java/edu/uci/ics/asterix/aql/translator/AqlTranslator.java index 66a3980..9eed10c 100644 --- a/asterix-app/src/main/java/edu/uci/ics/asterix/aql/translator/AqlTranslator.java +++ b/asterix-app/src/main/java/edu/uci/ics/asterix/aql/translator/AqlTranslator.java
@@ -1446,6 +1446,7 @@ } switch (pdf) { case HTML: + out.println("<h3>Results:</h3>"); out.println("<pre>"); ResultUtils.prettyPrintHTML(out, response); out.println("</pre>"); @@ -1556,4 +1557,4 @@ throw new IllegalStateException(rootE); } } -} \ No newline at end of file +}
diff --git a/asterix-app/src/main/resources/webui/querytemplate.html b/asterix-app/src/main/resources/webui/querytemplate.html index b4e8eaa..ba6446b 100644 --- a/asterix-app/src/main/resources/webui/querytemplate.html +++ b/asterix-app/src/main/resources/webui/querytemplate.html
@@ -21,7 +21,7 @@ $("form#queryform").submit(function() { $('#output-message').html(""); $.post("/", $("form#queryform").serialize(), function(data) { - $('#output-message').html(data); + $('#output-message').html(data); }); return false; });