⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 module_list.jsp.svn-base

📁 Struts+Hibernate实现MVC
💻 SVN-BASE
字号:
<%@ page contentType="text/html;charset=utf-8" %>
<%@ include file="../../include/include.jsp"%>
<html>
  <head>
    <title></title>
    <link rel="stylesheet" type="text/css" href="css/pub.css">
    <script>
      function add() {
        window.open("moduleAction.do?method=addModule","","left=250,top=200,width=380,height=280,toolbar=no,menubar=no,scrollbars=auto,resizable=no,location=no,status=no");
      }
      function modify(moduleid) {
        window.open("moduleAction.do?method=modifyModule&moduleId="+moduleid,"","left=250,top=200,width=380,height=280,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no");
      }
      function authority(moduleid) {
        window.navigate("moduleAction.do?method=listAuthority&moduleId="+moduleid);
      }
      function del(moduleid) {
        if(window.confirm("<bean:message key="admin.module.list.del"/> [ID:"+moduleid+"]"))
          window.open("moduleAction.do?method=removeModule&moduleId="+moduleid,"","left=200,top=200,width=500,height=400,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no");
      }
      <logic:notEmpty name="moduleActionForm" property="result">
        window.alert('<bean:write name="moduleActionForm" property="result" />');
      </logic:notEmpty>
    </script>
  </head>
  <body>
    <table>
      <tr>
        <td width="200"><b> <bean:message key="admin.module.list.manage"/>>> <bean:message key="admin.module.list.detail"/></b></td>
        <td width="400"><img src="images/addnew.gif" width="52" height="24" onclick="add();" style="cursor:hand"></td>
      </tr>
      <tr>
        <td colspan="2">
          <table width="600" bgcolor="#6DB1DE" cellpadding="2" cellspacing="1">
            <tr align="center" bgcolor="#EFF8FF" class="ajc3">
              <td>ID</td>
              <td width="45%"><bean:message key="admin.module.list.name"/></td>
              <td><bean:message key="admin.module.list.order"/></td>              
              <td><bean:message key="admin.module.list.edit"/></td>
              <td><bean:message key="admin.module.list.authority"/></td>
              <td><bean:message key="admin.module.list.delete"/>?</td>
            </tr>
            <logic:notEmpty name="moduleActionForm" property="moduleList">
            <logic:iterate id="lsMod" name="moduleActionForm" property="moduleList">
            <tr align="center" bgcolor="#F8FAFF">
              <td ><bean:write name="lsMod" property="moduleId" /></td>
              <td align="left"><bean:write name="lsMod" property="moduleName" /></td>
              <td><bean:write name="lsMod" property="showOrder" /></td>              
              <td><a href="javascript:modify('<bean:write name='lsMod' property='moduleId' />');" class="ajc4"><bean:message key="admin.module.list.modify"/></a></td>
              <td></td>
              <td><a href="javascript:del('<bean:write name='lsMod' property='moduleId' />');" class="ajc4"><bean:message key="admin.module.list.delete"/></a></td>              
            </tr>            
            <logic:notEmpty name="lsMod" property="moduleList">
            <logic:iterate id="dictMod" name="lsMod" property="moduleList">  
            <tr align="center" bgcolor="white">
                <td></td>              
                <td align="left"><bean:write name="dictMod" property="moduleName" /></td>
                <td><bean:write name="dictMod" property="showOrder" /></td>              
                <td><a href="javascript:modify('<bean:write name='dictMod' property='moduleId' />');" class="ajc4"><bean:message key="admin.module.list.modify"/></a></td>
                <td><a href="javascript:authority('<bean:write name='dictMod' property='moduleId' />');" class="ajc4"><bean:message key="admin.module.list.authority"/></a></td>
                <td><a href="javascript:del('<bean:write name='dictMod' property='moduleId' />');" class="ajc4"><bean:message key="admin.module.list.delete"/></a></td>
            </tr>
            </logic:iterate>
            </logic:notEmpty>
            </logic:iterate>
            </logic:notEmpty>
          </table>
        </td>
      </tr>
    </table>
  </body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -