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

📄 findrole.vm

📁 菲律宾的一个大学的图书管理系统 spring+hibernate+velocity
💻 VM
字号:
#include("top.htm")<center >     <table width="778" border="0" cellpadding="0" cellspacing=10 bgcolor="#FFFFFF" class=datatable>       <tbody>    	<tr>    		<td bgcolor="#CBDCE0" height=15 class="td4">    			<font  class="style26">Home > $!{mainMenu} > <a href="findRole.do">Role Module</a></font>    		</td>    	</tr>			         <tr><!--Role begin -->           <td valign=top align=left>             <table width="300" height="80"  border="0" cellpadding="0" cellspacing="0" style="border-color:#CCCCCC; border:1">               <tr>                 <td width="7" height="7"><img src="login_files/rountl.gif" width="7" height="7" border="0"></td>                 <td background="login_files/rountline.gif"></td>                 <td width="7" height="7"><img src="login_files/rountr.gif" width="7" height="7" border="0"></td>               </tr>               <tr>                 <td background="login_files/rounll.gif">&nbsp;</td>                 <td valign="top"><table>                     <tbody>                       <tr>                         <td align=left>							#if(${request.getParameter('roleId')})                           <h2><a href="#" class="style26"><img src="login_files/002.gif" width="16" height="15" border="0">&nbsp;&nbsp;Modify Role</a></h2></td>						    #else							<h2><a href="#" class="style26"><img src="login_files/002.gif" width="16" height="15" border="0">&nbsp;&nbsp;Add Role</a></h2></td>							#end                       </tr>                       <tr>                         <td>                            #if(${request.getParameter('roleId')})                                Please input role name:<br>                                <form action="$link.setAction('addRole')" method=post onSubmit="return checkdata()">                                	<input type=text name="name" value="${request.getParameter('roleName')}">                            		<input type=hidden name="roleId" value="${request.getParameter('roleId')}">                            		<input type=hidden name="mode" value="modify">                                	<input type=submit value="Modify Role" onClick="return checkdata();">                                </form>                                                        #else                                Please input role name:<br>                                <form action="$link.setAction('addRole')" method=post onSubmit="return checkdata()">                                	<input type=text name="name">                            		<input type=hidden name="mode" value="add">                            		<input type=submit value="Add Role" onClick="return checkdata();">                                </form>                            #end                         </td>                       </tr>                     </tbody>                 </table></td>                 <td background="login_files/rounrl.gif">&nbsp;</td>               </tr>               <tr>                 <td width="7" height="7"><img src="login_files/rounbl.gif" width="7" height="7" border="0"></td>                 <td background="login_files/rounbline.gif"></td>                 <td width="7" height="7"><img src="login_files/rounbr.gif" width="7" height="7" border="0"></td>               </tr>          </table>	  <br>    #if($roles.size()>0)      <table width="100%" border=1 cellpadding="0" cellspacing="0" bordercolor="#5B909E" bgcolor="#FFFFFF" class="thin">        <tr>          <td width=50 class="td1">            ID          </td>          <td class="td3">            Role Name          </td>          <td class="td1"  width=250>            Admin          </td>	          </tr>      #foreach($role in $roles)        <tr>          <td class="td2">            $role.roleId          </td>          <td class="td4">            $role.role          </td>          <td class="td2">    		<A href="$link.setAction('deleteRole').addQueryData('roleId',$role.roleId)" onClick="return confirm('Are you sure to delete the role and its permissions?');">Delete</A>    		<A href="$link.setURI('FindRole.vm').addQueryData('roleId',$role.roleId).addQueryData('roleName',$role.role)">Modify</A>    		<A href="$link.setAction('findPermissionOfRole').addQueryData('roleId',$role.roleId)">Permission&Teacher</A>    		<!--<A href="$link.setAction('listPermissionOfRoleNot').addQueryData('roleId',$role.roleId)">Add Permission</A>-->          </td>	          </tr>      #end      </table>    #end	<br>	</td>   </tr> </table>  </center>#include("foot.htm")

⌨️ 快捷键说明

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