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

📄 role_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("roleAction.do?method=addRole","","left=200,top=100,width=480,height=400,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,status=no");
      }
      function modify(roleid) {
        window.open("roleAction.do?method=modifyRole&roleId="+roleid,"","left=200,top=100,width=480,height=400,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,status=no");
      }
      function del(roleid) {
        if(window.confirm("是否确认要永久删除此角色? [ID:"+roleid+"]"))
          window.open("roleAction.do?method=removeRole&roleId="+roleid,"","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>角色管理 >> 角色列表</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%">角色名称</td>
              <td><bean:message key="admin.module.list.edit"/></td>
              <td><bean:message key="admin.module.list.delete"/>?</td>
            </tr>
            <logic:notEmpty name="roleActionForm" property="roleList">
            <logic:iterate id="role" name="roleActionForm" property="roleList">
            <tr align="center" bgcolor="white">
              <td><bean:write name="role" property="roleId" /></td>
              <td align="left"><bean:write name="role" property="roleName" /></td>
              <td><a href="javascript:modify('<bean:write name='role' property='roleId' />');" class="ajc4"><bean:message key="admin.module.list.modify"/></a></td>
              <td><a href="javascript:del('<bean:write name='role' property='roleId' />');" 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 + -