?? resource_list.jsp
字號:
<%@ page contentType="text/html; charset=GBK" language="java" errorPage="" %>
<%@ taglib uri="/cms4j" prefix="cms4j" %>
<script src="../../js/common.js"></script>
<script src="../../js/page_init.js"></script>
<script src="js/resource.js"></script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title>CMS4J </title>
<link href="../skin/blue/css/oper_area.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.STYLE4 {font-size: 13px}
-->
</style>
</head>
<script>
//頁面初始化
function pageInit(){
selectInit("module_list","${param.module}");
selectInit("type_list","${param.type}");
selectInit("scope_list","${param.scope}");
selectInit("oper_type_list","${param.oper}");
selectInit("module_domain","${param.domain}");
}
</script>
<body onLoad="pageInit()">
<form action="" method="post" name="cms4j">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="title-bar"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="26" class="title-bar-title-icon"> </td>
<td width="745" class="title-bar-text">資源維護</td>
</tr>
</table></td>
</tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="oper-bar">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="28%" align="left" class="title_bar"><select name="module_list" class="form_select" id="module_list" onChange="module_filter()">
<option selected>所有模塊</option>
<cms4j:module>
<option value="<%=module_info.getMODULE_ID()%>">└<%=module_info.getMODULE_NAME()%></option>
<cms4j:module parent_module_id="<%=module_info.getMODULE_ID()%>">
<option value="<%=module_info.getMODULE_ID()%>"> └<%=module_info.getMODULE_NAME()%></option>
<cms4j:module parent_module_id="<%=module_info.getMODULE_ID()%>">
<option value="<%=module_info.getMODULE_ID()%>"> └<%=module_info.getMODULE_NAME()%></option>
<cms4j:module parent_module_id="<%=module_info.getMODULE_ID()%>">
<option value="<%=module_info.getMODULE_ID()%>"> └<%=module_info.getMODULE_NAME()%></option>
</cms4j:module>
</cms4j:module>
</cms4j:module>
</cms4j:module>
</select></td>
<td width="49%" align="center" class="title_bar"><select name="type_list" class="form_select" id="type_list" onChange="type_filter()">
<option value="" selected>所有類別</option>
<option value="type_menu">菜單</option>
<option value="type_common">普通</option>
</sclect>
</select>
<select name="scope_list" class="form_select" id="scope_list" onChange="scope_filter()">
<option value="" selected>所有來源</option>
<option value="scope_inside">CMS4J</option>
<option value="scope_outside">外部鏈接</option>
</select>
<select name="oper_type_list" class="form_select" id="oper_type_list" onChange="oper_filter()">
<option value="" selected>操作類型</option>
<option value="oper_type_execute">執行命令</option>
<option value="oper_type_list">列表頁</option>
<option value="oper_type_oper">操作頁</option>
</select>
<select name="module_domain" class="form_select" onChange="dataFilter('domain')">
<option value="">所有域</option>
<option value="domain_site">前臺</option>
<option value="domain_admin">后臺</option>
</select></td>
<td width="23%" align="left" class="title_bar"><input name="Submit" type="button" class="form-buttun" onClick="location.href='resource_add.jsp'" value="添加新資源"></td>
</tr>
<tr height="4">
<td height="4" colspan="3"></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="5" background="../../images/admin/oper_table_left_bg.gif"><img src="../../images/admin/oper_table_left_bg.gif" width="5" height="2"></td>
<td background="../../images/admin/oper_table_bg.gif"><table width="1700" border="0" cellpadding="0" cellspacing="0" class="table-frame">
<tr class="table_title">
<td width="10%" class="table-titlebar">操作</td>
<td width="5%" align="center" class="table-titlebar">ID</td>
<td width="14%" class="table-titlebar">資源名稱</td>
<td width="8%" align="center" class="table-titlebar">所屬模塊</td>
<td width="4%" align="center" class="table-titlebar">域</td>
<td width="4%" align="center" class="table-titlebar">類型</td>
<td width="5%" class="table-titlebar">來源</td>
<td width="5%" class="table-titlebar">狀態</td>
<td width="15%" class="table-titlebar">ACTION</td>
<td width="30%" class="table-titlebar">資源實現類</td>
</tr>
<cms4j:resource state="all" module="${param.module}" type="${param.type}" scope="${param.scope}" oper="${param.oper}" domain="${param.domain}">
<tr class="table_border_cell_bg">
<td align="center" class="table-cell"><a href="../../do?action=orderRes&id=<%=res_info.getRES_ID()%>&type=up&orderNum=<%=res_info.getORDER_NUM()%>">↑升</a> <a href="../../do?action=orderRes&id=<%=res_info.getRES_ID()%>&type=down&orderNum=<%=res_info.getORDER_NUM()%>">↓降</a> <a href="resource_modify.jsp?id=<%=res_info.getRES_ID()%>">改</a> <a href="../../do?action=delRes&delItem=<%=res_info.getRES_ID()%>">刪</a> <a href="../../do?action=setResState&operItem=<%=res_info.getRES_ID()%>&state=<%=res_info.getSTATE_OPER_STATE()%>"><%=res_info.getSTATE_OPER_NAME()%></a></td>
<td align="center" class="table-cell"><%=res_info.getRES_ID()%></td>
<td align="left" class="table-cell"><%=res_info.getNAME()%> [<%=res_info.getRES_OPER_TYPE_NAME()%>]</td>
<td align="center" class="table-cell"><%=res_info.getMODULE_ID_NAME()%></td>
<td align="center" class="table-cell"><%=res_info.getMODULE_DOMAIN_NAME()%></td>
<td align="center" class="table-cell"><%=res_info.getRES_TYPE_NAME()%></td>
<td align="center" class="table-cell"><%=res_info.getRES_SOURCE_TYPE_NAME()%></td>
<td align="center" class="table-cell"><%=res_info.getSTATE_NAME()%></td>
<td align="left" class="table-cell"><%=res_info.getRES_ACTION_2()%></td>
<td align="left" class="table-cell"><%=res_info.getCOMMAND()%></td>
</tr>
</cms4j:resource>
</table></td>
<td width="5" background="../../images/admin/oper_table_right_bg.gif"><img src="../../images/admin/oper_table_right_bg.gif" width="5" height="2"></td>
</tr>
</table>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -