📄 group.jsp
字号:
<%@ include file = "../tiles/include.jsp"%>
<%
/**
* view all group
* @author edgeloner
* 2004-05-25 created
*/
%>
<bean:define id="title">
<bean:message key="security.title"/>
</bean:define>
<bean:define id="accountTitle">
<bean:message key="security.account"/>
</bean:define>
<bean:define id="groupTitle">
<bean:message key="security.group"/>
</bean:define>
<bean:define id="rightTitle">
<bean:message key="security.right"/>
</bean:define>
<center>
<gui:window title = "<%=title%>" prototype = "boWindow" color = "100%">
<gui:tabbedPanel prototype = "boTabbedPanel" followUp = "listAccount.do" color = "#f0f0f0" selectedTab = "tab2"
width = "52">
<gui:tab prototype = "boTab" name = "tab1" title = "<%=accountTitle%>" followUp = "listAccount.do?method=listAccount">
account manager
</gui:tab>
<gui:tab prototype = "boTab" name = "tab2" title = "<%=groupTitle%>" followUp="listGroup.do?method=listRole">
<html:form action = "removeGroupAction?method=removeRole">
<html:errors/>
<table class="sort-table" cellSpacing="1" cellPadding="1" width="100%" border="0">
<thead>
<tr>
<td><bean:message key = "security.group"/></td>
</tr>
</thead>
<logic:iterate name="groups" id="group">
<tr>
<td><input type="checkbox" name="id" value="<bean:write name="group" property="id" />">
<a href="viewGroup.do?method=viewRole&id=<bean:write name="group" property="id" />"><bean:write name="group" property="desc" /></a></td>
</tr>
</logic:iterate>
<tr>
<td align = "right">
<html:submit styleClass="button">
<bean:message key = "button.delete"/></html:submit>
<html:reset styleClass="button">
<bean:message key = "button.reset"/></html:reset>
</td>
</tr>
</html:form>
</table>
<html:form action = "createGroupAction?method=createRole" onsubmit = "return validateGroupForm(this);">
<table class="sort-table" cellSpacing="1" cellPadding="1" width="100%" border="0">
<thead>
<tr>
<td colspan="2"><bean:message key="group.create"/></td>
</tr>
</thead>
<tr>
<td><bean:message key="group.desc"/></td>
<td><html:text property = "group.desc" size = "20" /></td>
</tr>
<tr>
<td colspan="2"><bean:message key="right.title"/></td>
</tr>
<logic:iterate name="rights" id="right" indexId="i">
<tr>
<td><input type="checkbox" name="right" value="<bean:write name="right" property="id" />">
<bean:write name="right" property="box" /></td>
<td><bean:write name="right" property="desc" /></td>
</tr>
</logic:iterate>
<tr>
<td colspan="2" align = "right">
<html:submit styleClass="button">
<bean:message key = "button.save"/></html:submit>
<html:reset styleClass="button">
<bean:message key = "button.reset"/></html:reset>
</td>
</tr>
</html:form>
</table>
</gui:tab>
<gui:tab prototype = "boTab" name = "tab3" title = "<%=rightTitle%>" followUp="listRight.do?method=listRight">
right
</gui:tab>
</gui:tabbedPanel>
</gui:window>
</center>
<html:javascript formName="groupForm"
dynamicJavascript="true"
staticJavascript="false"/>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -