summaryrefslogtreecommitdiffstats
path: root/idrop-web/grails-app/views/rule/delayExecQueue.gsp
diff options
context:
space:
mode:
authormconway <michael_conway@unc.edu>2013-10-31 20:32:30 (GMT)
committer mconway <michael_conway@unc.edu>2013-10-31 20:32:30 (GMT)
commitaea45b0d3747163e5466630a6a5d8e989b85dfdc (patch)
treecfc52ad18f90bba948bb9c7d7467b59e84a93c1d /idrop-web/grails-app/views/rule/delayExecQueue.gsp
parentc7ee3e425ae7b77524265d57e1e49db044724ae4 (diff)
downloadQCG-Data-aea45b0d3747163e5466630a6a5d8e989b85dfdc.zip
QCG-Data-aea45b0d3747163e5466630a6a5d8e989b85dfdc.tar.gz
QCG-Data-aea45b0d3747163e5466630a6a5d8e989b85dfdc.tar.bz2
[#1776] add rule queue processing views
Diffstat (limited to 'idrop-web/grails-app/views/rule/delayExecQueue.gsp')
-rw-r--r--idrop-web/grails-app/views/rule/delayExecQueue.gsp39
1 files changed, 39 insertions, 0 deletions
diff --git a/idrop-web/grails-app/views/rule/delayExecQueue.gsp b/idrop-web/grails-app/views/rule/delayExecQueue.gsp
new file mode 100644
index 0000000..8ad4dec
--- /dev/null
+++ b/idrop-web/grails-app/views/rule/delayExecQueue.gsp
@@ -0,0 +1,39 @@
+<head>
+<meta name="layout" content="mainNoSidebar" />
+</head>
+<div id="delayExecQueueDiv">
+ <g:render template="ruleDelayExecQueueDetails" />
+</div>
+<script>
+$(document).ready(function() {
+
+ $.ajaxSetup({
+ cache : false
+ });
+ $("#topbarTools").addClass("active");
+ });
+
+
+function deleteRulesBulkAction() {
+
+ var formData = $("#delayExecForm").serializeArray();
+ showBlockingPanel();
+
+ var jqxhr = $.post(context + "/rule/deleteDelayExecQueue", formData, "html")
+ .success(function(returnedData, status, xhr) {
+ var continueReq = checkForSessionTimeout(returnedData, xhr);
+ if (!continueReq) {
+ return false;
+ }
+
+ setMessage("Delete action successful");
+ $("#delayExecQueueDiv").html(returnedData);
+ unblockPanel();
+ }).error(function(xhr, status, error) {
+ setErrorMessage(xhr.responseText);
+ unblockPanel();
+ });
+
+}
+
+</script> \ No newline at end of file