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

📄 authority_list.jsp.svn-base

📁 Struts+Hibernate实现MVC
💻 SVN-BASE
字号:
<%@ page contentType="text/html;charset=utf-8" %>
<%@ include file="../../include/include.jsp"%>
<html>
  <head>
    <title><bean:message key="admin.authority.list.view"/></title>
    <link rel="stylesheet" type="text/css" href="css/pub.css">
    <script>
      function add() {
        window.open("moduleAction.do?method=addAuthority&moduleId=<bean:write name='moduleActionForm' property='moduleId' />","","left=250,top=200,width=350,height=220,toolbar=no,menubar=no,scrollbars=auto,resizable=no,location=no,status=no");
      }
      function modify(authorityid) {
        window.open("moduleAction.do?method=modifyAuthority&moduleId=<bean:write name='moduleActionForm' property='moduleId' />&authorityId="+authorityid,"","left=250,top=200,width=350,height=220,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no");
      }
      function del(authorityid) {
        if(window.confirm("<bean:message key="admin.authority.list.del"/>[ID:"+authorityid+"]"))
          window.open("moduleAction.do?method=removeAuthority&authorityId="+authorityid,"","left=200,top=200,width=500,height=400,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no");
      }
      
    </script>
  </head>
  <body>
    <table>
      <tr>
        <td width="300"><b>模块管理 >> 模块列表 >> <bean:message key="admin.authority.list.view"/></b></td>
        <td width="200"><img src="images/addnew.gif" width="52" height="24" onclick="add();" style="cursor:hand"></td>
      </tr>
      <tr>
        <td colspan="2">
          <table width="500" bgcolor="#6DB1DE" cellpadding="2" cellspacing="1">
            <tr align="center" bgcolor="#EFF8FF" class="ajc3">
              <td>ID</td>
              <td width="45%"><bean:message key="admin.authority.modi.name"/></td>
              <td><bean:message key="admin.module.list.edit"/></td>
              <td><bean:message key="admin.module.list.delete"/>?</td>
            </tr>
            <logic:notEmpty name="moduleActionForm" property="authorityList">
            <logic:iterate id="lsAuth" name="moduleActionForm" property="authorityList">
            <tr align="center" bgcolor="white">
              <td><bean:write name="lsAuth" property="authorityId" /></td>
              <td align="left"><bean:write name="lsAuth" property="authorityName" /></td>
              <td><a href="javascript:modify('<bean:write name='lsAuth' property='authorityId' />');" class="ajc4"><bean:message key="admin.module.list.modify"/></a></td>
              <td><a href="javascript:del('<bean:write name='lsAuth' property='authorityId' />');" class="ajc4"><bean:message key="admin.module.list.delete"/></a></td>
            </tr>
            </logic:iterate>
            </logic:notEmpty>
          </table>
        </td>
      </tr>
    </table>
  </body>
</html>

⌨️ 快捷键说明

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