summaryrefslogtreecommitdiffstats
path: root/idrop-web/grails-app/views/rule
diff options
context:
space:
mode:
authormconway <michael.c.conway@gmail.com>2013-10-21 13:05:45 (GMT)
committer mconway <michael.c.conway@gmail.com>2013-10-21 13:05:45 (GMT)
commit2e6c75bfab6ca8fa0a59fe6e0e757427e65847c2 (patch)
treed731e545a2908e523c6ca8e30b6ecbe1b532ff44 /idrop-web/grails-app/views/rule
parentd944a96bb744cba451a7530deb9ebfcde767407e (diff)
downloadQCG-Data-2e6c75bfab6ca8fa0a59fe6e0e757427e65847c2.zip
QCG-Data-2e6c75bfab6ca8fa0a59fe6e0e757427e65847c2.tar.gz
QCG-Data-2e6c75bfab6ca8fa0a59fe6e0e757427e65847c2.tar.bz2
[#1458] rule service
Diffstat (limited to 'idrop-web/grails-app/views/rule')
-rwxr-xr-xidrop-web/grails-app/views/rule/index.gsp76
1 files changed, 50 insertions, 26 deletions
diff --git a/idrop-web/grails-app/views/rule/index.gsp b/idrop-web/grails-app/views/rule/index.gsp
index 2059cbb..806310b 100755
--- a/idrop-web/grails-app/views/rule/index.gsp
+++ b/idrop-web/grails-app/views/rule/index.gsp
@@ -1,28 +1,52 @@
-<head>
-<meta name="layout" content="mainNoSidebar" />
-
-
-</head>
-
-
-<script>
- $(document).ready(function() {
-
- $.ajaxSetup({
- cache : false
- });
- $("#topbarTools").addClass("active");
- $("#topbarRule").addClass("active");
-
- $(window).bind( 'hashchange', function(e) {
- // processTagSearchStateChange( $.bbq.getState());
- });
-
- refreshTagCloud();
-
- $(window).trigger( 'hashchange' );
+<g:javascript library="mydrop/rule" />
+<h3><a ><g:message code="text.rule" /></a></h3>
+<div id="detailsTopSection">
+
+ <div id="detailsToolbar" >
+ <button type="button" id="reloadRuleButton"
+ value="reloadRule"
+ onclick="callReloadForRule()")>
+ <g:message code="default.button.reload.label" />
+ </button>
+ <span id="saveRuleButton"><button type="button" id="saveRuleButton"
+ value="saveRule"
+ onclick="callSaveRule()")>
+ <g:message code="text.save" />
+ </button></span>
+ </div>
+ </div>
+
+ <div id="ruleDetailDiv">
+ <!-- div for audit table -->
+
+<g:form name="ruleDetailsForm" id="ruleDetailsForm">
+ <fieldset>
+ <label><g:message code="text.rule.body" /></label>
+ <g:textArea name="ruleBody" value=" ${rule.ruleBody}" rows="40" cols="200"/>
+
+
+ <table class="table">
+
+ <g:each in="rule.inputPaameters">
+
+ <td>
+ <tr>
+ <g:hidden name="paramName" value="it.uniqueName" id="paramName"/>
+ <td>${it.uniqueName}</td>
+
+
+
+ </tr>
+ </td>
+
- });
-
-</script> \ No newline at end of file
+ </g:each>
+
+ </table>
+
+ </fieldset>
+</g:form>
+
+ </div>
+</div>