📄 background_userroles.aspx
字号:
<%@ Page Language="C#" Inherits="SiteServer.BackgroundPages.BackgroundUserRoles" %>
<%@ Register TagPrefix="bairong" Namespace="BaiRong.Controls" Assembly="BaiRong.Controls" %>
<html>
<head>
<!--#include file="../inc/html_head.inc"-->
<script language="javascript" src="../Inc/toggle.js"></script>
<style>
.RolesListBox
{
width:200px;
height:250px;
border: solid 1px #000000;
}
</style>
<meta http-equiv="content-type" content="text/html;charset=gb2312">
</head>
<body>
<form id="myForm" runat="server">
<br>
<table width="90%" align="center" cellspacing="0" cellpadding="0">
<tr>
<td class="mframe-t-left"></td>
<td class="mframe-t-mid">
<span class="mframe-t-text">用户角色</span>
</td>
<td class="mframe-t-right"></td>
</tr>
</table>
<table width="90%" align="center" cellspacing="0" cellpadding="0">
<tr>
<td class="mframe-m-left"></td>
<td class="mframe-m-mid"><table border="0" align="center" cellpadding="1" cellspacing="0">
<tr>
<td colspan="3" align="center"><asp:Label width="100%" id="myLabel" style="text-align:center" runat="server"/></td>
</tr>
<tr>
<td width="200" align="center"><bairong:help HelpText="请选择要分配给用户的角色(可多选)" Text="可用角色:" runat="server" ></bairong:help></td>
<td width="50"></td>
<td width="200" align="center"><bairong:help HelpText="当前用户已经拥有的角色(可多选)" Text="用户拥有的角色:" runat="server" ></bairong:help></td>
</tr>
<tr>
<td align="right" valign="top">
<asp:ListBox ID="ListAvailableRoles" runat="server" SelectionMode="Multiple" Rows="14" class="RolesListBox"></asp:ListBox> </td>
<td height="100%"><table height="100%" cols="1" cellpadding="0" width="100%">
<tr>
<td align="center" valign="middle">
<p>
<asp:Button id="AddRole" text=" -> " onclick="AddRole_OnClick" runat="server" /> </p>
<p>
<asp:Button id="DeleteRole" text=" <- " onclick="DeleteRole_OnClick" runat="server" /></p>
<p>
<asp:Button id="AddRoles" text=" >> " onclick="AddRoles_OnClick" runat="server" /> </p>
<p>
<asp:Button id="DeleteRoles" text=" << " onclick="DeleteRoles_OnClick" runat="server" /> </p> </td>
</tr>
</table></td>
<td valign="top" >
<asp:ListBox ID="ListAssignedRoles" runat="server" SelectionMode="Multiple" Rows="14" class="RolesListBox"></asp:ListBox> </td>
</tr>
<tr><td colspan="3" height="30" align="center">
<input type=button onClick="location.href='background_administrator.aspx';" value="返 回" />
</td></tr>
</table></td>
<td class="mframe-m-right"></td>
</tr>
</table>
<table width="90%" align="center" cellspacing="0" cellpadding="0" >
<tr>
<td class="mframe-b-left"></td>
<td class="mframe-b-mid"> </td>
<td class="mframe-b-right"></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -