📄 module_list.jsp
字号:
<%@page contentType="text/html; charset=GBK"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/tops.tld" prefix="tops"%>
<html:html>
<head>
<html:base/>
<LINK REL="stylesheet" TYPE="text/css" href="<%=request.getContextPath()%>/_normal/css/style.css">
<script language="javascript" src="<%=request.getContextPath()%>/_normal/script/common.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
function addNew() {
window.location = '<%=request.getContextPath()%>/actTopsSystemModule.do?method=add';
}
function del() {
var isSelected = false;
if (document.all.del_checkbox_id.checked) {
isSelected = true;
}
else {
for (var i = 0; i < document.all.del_checkbox_id.length; i++) {
if (document.all.del_checkbox_id[i].checked == true) {
isSelected = true;
break;
}
}
}
if (isSelected) {
if (!confirm("确定删除所选记录?")) {
return false;
}
document.forms[0].action ='<%=request.getContextPath()%>/actTopsSystemModule.do?method=delete';
document.forms[0].submit();
}
else {
alert("请至少选择一条!");
return false;
}
}
</script>
</head>
<title>系统管理</title>
<body>
<form action="" method="post">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="70%" nowrap class="location">您的位置:系统管理</td>
<td nowrap class="location"> </td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="7%" id="addNew" align="center" valign="middle" nowrap class="toolbar" onMouseOver="OMO()" onMouseOut="OMOU()" onClick="addNew()">
<img src="<%=request.getContextPath()%>/_normal/toolbar_pic/page_add.gif" alt="新增">
新增系统
</td>
<td width="1%" align="center" valign="middle" nowrap class="toolbar">|</td>
<td width="7%" align="center" valign="middle" nowrap class="toolbar" onMouseOver="OMO()" onMouseOut="OMOU()" onclick="del()">
<img src="<%=request.getContextPath()%>/_normal/toolbar_pic/page_delete.gif" alt="删除">
删除
</td>
<td width="82%" align="center" valign="middle" nowrap class="toolbar"> </td>
</tr>
</table>
<table cellpadding="0" cellspacing="1" border="0" width="100%" id="PowerTable">
<tr align="center">
<td height="20" width="5%" nowrap class="title">
<input type="checkbox" style="cursor:hand;border:0" onclick="selectAll(this)" title="全选"/>
</td>
<td width="5%" nowrap class="title">序号</td>
<td width="10%" nowrap class="title">系统编号</td>
<td width="15%" nowrap class="title">系统名称</td>
<td width="15%" nowrap class="title">图片</td>
<td width="25%" nowrap class="title">主页链接</td>
<td width="15%" nowrap class="title">说明</td>
<td width="10%" nowrap class="title">新模块</td>
</tr>
<logic:notEmpty name="objlist">
<logic:iterate id="obj" name="objlist" indexId="index">
<tr align="center">
<td height="20">
<input type="checkbox" name="del_checkbox_id" value="<bean:write name="obj" property="id"/>" style="border:0">
</td>
<td><%=(index.intValue() + 1)%> </td>
<td align="center">
<bean:write name="obj" property="moduleCode"/>
</td>
<td>
<tops:link action="actTopsSystemModule" captionbeanproperty="page-obj-moduleName" method="modify" argname1="id" argbeanproperty1="page-obj-id" caption="dd"/>
</td>
<td>
<bean:write name="obj" property="moduleImage"/>
</td>
<td>
<bean:write name="obj" property="indexUrl"/>
</td>
<td>
<bean:write name="obj" property="remark"/>
</td>
<td>
<html:link action="/actTopsSystemFuncitonGroup.do?method=init" paramId="moduleId" paramName="obj" paramProperty="id">模块</html:link>
</td>
</tr>
</logic:iterate>
</logic:notEmpty>
<logic:empty name="objlist">
<tr>
<td colspan="9" height="20" align="center">没有数据</td>
</tr>
</logic:empty>
</table>
</form>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -