📄 user.jsp
字号:
<%@ page contentType="text/html; charset=GBK"%>
<%@include file="/common/taglibs.jsp"%>
<%@ taglib prefix="ww" uri="webwork"%>
<html>
<head>
<script src='<ww:url value="/dwr/interface/UserUtil.js"/>'></script>
<script src='<ww:url value="/dwr/engine.js"/>'></script>
<script src='<ww:url value="/dwr/util.js"/>'></script>
<script src='<ww:url value="/script/htmlutil.js"/>'></script>
<script src='<ww:url value="/script/list.js"/>'></script>
<title>{*[Users]*}</title>
<link rel="stylesheet"
href="<ww:url value='/resource/css/main.css'/>"
type="text/css">
<script src="<ww:url value="/script/list.js"/>"></script>
<script>
function del(){
var depid=document.all('sm_departments.id').value;
var roleid=document.all('sm_roles.id').value;
if(depid!='')
{ document.forms[0].action='<ww:url action="removeDepartment" />'; document.forms[0].submit();}
else if(roleid!='')
{ document.forms[0].action='<ww:url action="removeRole" />'; document.forms[0].submit();}
}
</script>
</head>
<body leftmargin="25" align="left">
<ww:form name="formList" action="listRole" method="post">
<%@include file="/common/page.jsp"%>
<table width="100%" border=1 cellpadding="0" cellspacing="0"
class="line-position">
<tr id="button">
<td class="line-position2" width="70" valign="top">
<button class="button-image"
onClick="del()"><img
src="<ww:url value="/resource/image/delete1.jpg"/>">{*[Remove]*}</button>
</td>
</table>
</td>
</tr>
</table>
<input type="hidden" name="sm_roles.id" value='<ww:property value="#parameters['sm_roles.id']"/>' />
<input type="hidden" name="sm_departments.id" value='<ww:property value="#parameters['sm_departments.id']"/>' />
<table width="10%">
<tr>
<td width="2" class="image-label"><img
src="<ww:url value="/resource/image/email2.jpg"/>" /></td>
<td width="40" class="text-label">{*[Users]*}</td>
</tr>
</table>
<table class="list-table" border="0" cellpadding="2" cellspacing="0"
width="100%">
<tr>
<td class="column-head2" scope="col"><input type="checkbox"
onclick="selectAll(this.checked)"></td>
<td class="column-head" scope="col">{*[Name]*}</td>
<td class="column-head" scope="col">{*[Loginno]*}</td>
<td class="column-head" scope="col">{*[Email]*}</td>
</tr>
<ww:if test="datas.datas.size==0"><script>button.style.display='none';</script></ww:if>
<ww:iterator value="datas.datas" status="index">
<ww:if test="#index.odd == true">
<tr class="table-text">
</ww:if>
<ww:else>
<tr class="table-text2">
</ww:else>
<td class="table-td"><input type="checkbox" name="_selects"
value="<ww:property value="id"/>"></td>
<td><ww:property value="name" /></td>
<td><ww:property value="loginno" /></td>
<td><ww:property value="email" /></td>
</tr>
</ww:iterator>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="right" class="pagenav"><o:PageNavigation dpName="datas"
css="linktag" /></td>
</tr>
</table>
</ww:form>
<script>
</script>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -