|
From: <bri...@us...> - 2008-12-05 18:49:45
|
Revision: 905
http://equanda.svn.sourceforge.net/equanda/?rev=905&view=rev
Author: brian_reynolds
Date: 2008-12-05 18:49:40 +0000 (Fri, 05 Dec 2008)
Log Message:
-----------
Add group level list, summary and print boxes.
Improve checkbox javascript.
Modified Paths:
--------------
trunk/equanda-generate/src/main/velocity/t5gui/pages/AuthAndConfigGroup.tml.vm
Modified: trunk/equanda-generate/src/main/velocity/t5gui/pages/AuthAndConfigGroup.tml.vm
===================================================================
--- trunk/equanda-generate/src/main/velocity/t5gui/pages/AuthAndConfigGroup.tml.vm 2008-12-05 18:49:22 UTC (rev 904)
+++ trunk/equanda-generate/src/main/velocity/t5gui/pages/AuthAndConfigGroup.tml.vm 2008-12-05 18:49:40 UTC (rev 905)
@@ -8,18 +8,22 @@
<legend>
- $!{group.Name}
+ $!{group.Name} |
#set ($readBox="${group.Name}_groupReadCheck")
#set ($writeBox="${group.Name}_groupWriteCheck")
+#set ($listBox="${group.Name}_groupListCheck")
+#set ($sumBox="${group.Name}_groupSumCheck")
+#set ($printBox="${group.Name}_groupPrintCheck")
+
<input t:id="${readBox}" name="${readBox}" value="${readBox}"
- onclick="eqHandlePageReadBox( ${readBox}, '$!{group.Name}', '_readCheck')"
+ onclick="eqHandlePageBox( ${readBox}, '$!{group.Name}', '_readCheck', '${writeBox}', ${listBox}, ${sumBox}, ${printBox} )"
t:type="CheckBox"/>
<t:if test="roleName">
- <t:label for="${readBox}"> ${dollar}{equanda-message:authAndConfig.label.Read} </t:label>
+ <t:label for="${readBox}"> ${dollar}{equanda-message:authAndConfig.label.Read} | </t:label>
<t:parameter name="else">
- <t:label for="${readBox}"> ${dollar}{equanda-message:authAndConfig.label.Visible} </t:label>
+ <t:label for="${readBox}"> ${dollar}{equanda-message:authAndConfig.label.Visible} | </t:label>
</t:parameter>
</t:if>
@@ -30,6 +34,18 @@
</t:if>
-->
+ <input t:id="${listBox}" name="${listBox}" value="${listBox}"
+ onclick="eqHandlePageBox( this, '$!{group.Name}', '_listCheck')" t:type="CheckBox"/>
+ <t:label for="${listBox}"> ${dollar}{equanda-message:authAndConfig.label.List} | </t:label>
+
+ <input t:id="${sumBox}" name="${sumBox}" value="${sumBox}"
+ onclick="eqHandlePageBox( this, '$!{group.Name}', '_sumCheck')" t:type="CheckBox"/>
+ <t:label for="${sumBox}"> ${dollar}{equanda-message:authAndConfig.label.Summary} | </t:label>
+
+ <input t:id="${printBox}" name="${printBox}" value="${printBox}"
+ onclick="eqHandlePageBox( this, '$!{group.Name}', '_printCheck')" t:type="CheckBox"/>
+ <t:label for="${printBox}"> ${dollar}{equanda-message:authAndConfig.label.Print} | </t:label>
+
</legend>
<div>
@@ -78,17 +94,20 @@
<div class="listCol">
<input t:id="${listBox}" name="${listBox}" value="${listBox}"
- onclick="eqEnableBoxes( ${readBox}, ${listBox}, false)" t:type="CheckBox"/>
+ onclick="eqHandleFieldBox( ${group.Name}_groupListCheck, ${readBox}, this, '$!{group.Name}', '_listCheck' )"
+ t:type="CheckBox"/>
</div>
<div class="summaryCol">
<input t:id="${summaryBox}" name="${summaryBox}" value="${summaryBox}"
- onclick="eqEnableBoxes( ${readBox}, ${summaryBox}, false)" t:type="CheckBox"/>
+ onclick="eqHandleFieldBox( ${group.Name}_groupSumCheck, ${readBox}, this, '$!{group.Name}', '_sumCheck' )"
+ t:type="CheckBox"/>
</div>
<div class="printCol">
<input t:id="${printBox}" name="${printBox}" value="${printBox}"
- onclick="eqEnableBoxes( ${readBox}, ${printBox}, false)" t:type="CheckBox"/>
+ onclick="eqHandleFieldBox( ${group.Name}_groupPrintCheck, ${readBox}, this, '$!{group.Name}', '_printCheck' )"
+ t:type="CheckBox"/>
</div>
</div>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|