📄 account.jsp
字号:
<%@ include file = "../tiles/include.jsp"%>
<%
/**
* view all account
* @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 = "tab1"
width = "52">
<gui:tab prototype = "boTab" name = "tab1" title = "<%=accountTitle%>" followUp = "listAccount.do?method=listAccount">
<html:form action = "removeAccountAction?method=removeAccount" onsubmit = "return validateListAccountForm(this);">
<html:errors/>
<table class="sort-table" cellSpacing="1" cellPadding="1" width="100%" border="0">
<thead>
<tr>
<td><bean:message key = "security.account"/></td>
<td><bean:message key = "security.group"/></td>
</tr>
</thead>
<logic:iterate name="accounts" id="account">
<tr>
<td><input type="checkbox" name="id" value="<bean:write name="account" property="id" />">
<bean:write name="account" property="name" /></td>
<td><bean:write name="account" property="group.desc" /></td>
</tr>
</logic:iterate>
<tr>
<td colspan = "2" 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="changeAccountGroup?method=changeAccountGroup" >
<table class="sort-table" cellSpacing="1" cellPadding="1" width="100%" border="0">
<thead>
<tr>
<td><bean:message key = "security.account"/></td>
<td><bean:message key = "security.group"/></td>
</tr>
</thead>
<tr>
<td>
<html:select property="accountId" style="width:200px;">
<html:options collection="accounts" labelProperty="name" property="id"/>
</html:select>
</td>
<td>
<html:select property="groupId" style="width:200px;">
<html:options collection="groups" labelProperty="desc" property="id"/>
</html:select>
</td>
</tr>
<tr>
<td align= "right" colspan= "2">
<html:submit styleClass="button"><bean:message key="button.save"/></html:submit>
</td>
</tr>
</html:form>
</table>
</gui:tab>
<gui:tab prototype = "boTab" name = "tab2" title = "<%=groupTitle%>" followUp="listGroup.do?method=listRole">
group
</gui:tab>
<gui:tab prototype = "boTab" name = "tab2" title = "<%=rightTitle%>" followUp="listRight.do?method=listRight">
right
</gui:tab>
</gui:tabbedPanel>
</gui:window>
</center>
<html:javascript formName="listAccountForm"
dynamicJavascript="true"
staticJavascript="false"/>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -