javaweb+SSH實現簡單的許可權管理系統
阿新 • • 發佈:2019-02-05
<%@ page contentType="text/html; charset=utf-8"%> <%@ taglib prefix="s" uri="/struts-tags"%> <html> <head> <title>操作功能頁</title> </head> <body> <table width="700" height="400" border="0" align="center"> <tr> <td valign="top"> <table height=28 width="90%" align=center background="<%=request.getContextPath()%>/image/border/border1/topcenter.gif" border=0> <tbody> <tr id=cat> <td vAlign=top align=left width=28 height=28> <IMG height=28 src="<%=request.getContextPath()%>/image/border/border1/topleft.gif" width=28 border=0> </td> <td width="189" height="28" align="left" vAlign="center" background="<%=request.getContextPath()%>/image/border/border1/topbg.gif"> </td> <td vAlign=center align=left width=28> <IMG height=28 src="<%=request.getContextPath()%>/image/border/border1/topend.gif" width=19 border=0> </td> <td vAlign=top align=right width="157"></td> <td vAlign=top align=right width=296 height=28> <IMG height=28 src="<%=request.getContextPath()%>/image/border/border1/topright.gif" width=296 border=0> </td> </tr> </tbody> </table> <table cellSpacing=0 cellPadding=0 width="90%" align=center bgColor=#89959b border=0> <tbody> <tr> <td> <table cellSpacing=1 cellPadding=4 width="100%" border=0> <tbody> <tr vAlign="bottom" align="center"> <td background="<%=request.getContextPath()%> /image/border/border1/greenbarbg.gif" width="20%"> <div align="center"> <FONT face="verdana, arial, helvetica,宋體" color=#ffffff><B>功能序號</B> </FONT> </div> </td> <td background="<%=request.getContextPath()%> /image/border/border1/greenbarbg.gif" width="20%"> <div align="center"> <FONT face="verdana, arial, helvetica,宋體" color=#ffffff><B>所屬模組id</B> </FONT> </div> </td> <td background="<%=request.getContextPath()%> /image/border/border1/greenbarbg.gif" width="20%"> <div align="center"> <FONT face="verdana, arial, helvetica,宋體" color=#ffffff><B>url</B> </FONT> </div> </td> <td background="<%=request.getContextPath()%> /image/border/border1/greenbarbg.gif" width="20%"> <div align="center"> <FONT face="verdana, arial, helvetica,宋體" color=#ffffff><B>功能名</B> </FONT> </div> </td> <td background="<%=request.getContextPath()%> /image/border/border1/greenbarbg.gif" width="20%"> <div align="center"> <FONT face="verdana, arial, helvetica,宋體" color=#ffffff><B>刪除操作</B> </FONT> </div> </td> </tr> <s:iterator value="lf"> <tr align=center> <td onmouseover="this.bgColor='#ffffff'" onmouseout="this.bgColor='#f5f5f5'" align=left bgColor=#f5f5f5> <FONT face="verdana, arial, helvetica,宋體"><s:property value="id" /> </td> <td onmouseover="this.bgColor='#ffffff'" onmouseout="this.bgColor='#f5f5f5'" align=left bgColor=#f5f5f5> <s:property value="module.id" /> </td> <td onmouseover="this.bgColor='#ffffff'" onmouseout="this.bgColor='#f5f5f5'" align=left bgColor=#f5f5f5> <s:property value="url" /> </td> <td onmouseover="this.bgColor='#ffffff'" onmouseout="this.bgColor='#f5f5f5'" align=left bgColor=#f5f5f5> <a href='<s:url action="findSingleFunction"><s:param name="f.id" value="id" /></s:url>' target="content"> <s:property value="functionname" /> </a> </td> <td onmouseover="this.bgColor='#ffffff'" onmouseout="this.bgColor='#f5f5f5'" align=left bgColor=#f5f5f5> <a href='<s:url action="removeFunction"><s:param name="f.id" value="id" /></s:url>' target="content"> 刪除 </a> </td> </tr> </s:iterator> <tr id=cat> <td align="center" background="<%=request.getContextPath()%>/image/border/border1/greenbarbg.gif" colSpan=5> <div align="left"> <img src="<%=request.getContextPath()%>/image/border/border1/radio.gif" width="22" height="18" border="0" align="absmiddle"> <a href='<%=request.getContextPath()%>/page/functions/newFunction.jsp' target="content">新增</a> <s:if test="#request.FNo==0"> <img src="<%=request.getContextPath()%>/image/border/border1/radio.gif" width="22" height="18" border="0" align="absmiddle"> <a href='<s:url action="removeModule"><s:param name="m.id" value="m.id" /></s:url>' target="content"> 刪除所屬模組</a> </s:if> </div> </td> </tr> </tbody> </table> </td> </tr> </table> <table width="90%" height=23 border=0 align="center" cellPadding=0 cellSpacing=0> <tbody> <tr> <td vAlign=top align=left width=100 height=23> <IMG height=23 src="<%=request.getContextPath()%>/image/border/border1/bottomleft.gif" width=100> </td> <td width="100%" background="<%=request.getContextPath()%>/image/border/border1/bottomcenter.gif" height=23> <IMG height=1 src="<%=request.getContextPath()%>/image/border/border1/clear.gif" width="100%"> </td> <td vAlign=top align=right width=100 height=23> <IMG height=23 src="<%=request.getContextPath()%>/image/border/border1/bottomright.gif" width=100 border=0> </td> </tr> </tbody> </table> </td> </tr> </table> </body> </html>