authorize.aspx
上传用户:tiancihang
上传日期:2014-03-12
资源大小:21387k
文件大小:7k
源码类别:

.net编程

开发平台:

C#

  1. <%@ page language="C#" autoeventwireup="true" inherits="SysManage_authorize, App_Web_rlki_npp" theme="Normal" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head id="Head1" runat="server">
  5.  <base target=_self ></base>
  6.     <title>编辑角色</title>
  7.    <script language="javascript" >
  8.    </script>
  9.    <script src="../js/calendar.js" type ="text/javascript"></script>
  10. </head>
  11. <body  bgcolor="#f7f7f7">
  12.     <form id="form1" runat="server" >
  13.     
  14.      <TABLE width="100%" height="100%" border="0" cellPadding="0" cellSpacing="0" >
  15.         <tr valign="middle">
  16.             <td width="17%" > 
  17.              &nbsp;   &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <img src="../Images/assignuser.ico" height="30">
  18.             </td>
  19.             <td  align="left" style="font-size:15px; width: 781px;">
  20.                 <strong>编辑角色权限</strong></td>
  21.         </tr> 
  22.         <tr>
  23.          <td background="../Images/Menu_bg.jpg">
  24.             &nbsp; 
  25.            </td>
  26.           <td  background="../Images/Menu_bg.jpg"  align="left" style="width: 500px">
  27.               &nbsp;</td>
  28.         </tr>
  29.         </TABLE>
  30.        <TABLE width="100%"  border="0" cellPadding="0" cellSpacing="0" >
  31.            <tr width="30%">
  32.                <td style="text-align: left; height: 44px;" colspan="4"><span style="font-size: 10pt"></span>&nbsp;<span style="font-size: 10pt">当前被授权的角色</span>:&nbsp;
  33.                    <asp:Label ID="lbl_RoleName" runat="server" Width="88px" ForeColor="Red"></asp:Label></td>
  34.            </tr>
  35.            <tr>
  36.                <td colspan="4" style="height: 24px; text-align: right" background="image/header_bg.gif">
  37.                </td>
  38.            </tr>
  39.             <tr>
  40.                           <td class="spec" style="text-align: right; width: 162px;">
  41.                               <span style="font-size: 10pt">角色名称</span>:</td>
  42.                           <td style="width: 243px;"><div align="left">
  43.                           <asp:TextBox ID="TB_sRole_Name" runat="server" CssClass="default" Text='<%# Bind("RoleName") %>'   Width="200px"></asp:TextBox>
  44.                             <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="必填" ControlToValidate="TB_sRole_Name" ValidationGroup="SaveButton" Display="Dynamic" Font-Size="Smaller"></asp:RequiredFieldValidator>
  45.                             </div></td>
  46.               <td class="spec" style="text-align: right; width: 158px;">
  47.                               <span style="font-size: 10pt">角色描述</span>:</td>
  48.                           <td ><div align="left">
  49.                             <asp:TextBox ID="TB_sRole_Desc" runat="server" CssClass="default" Text='<%# Bind("RoleDesc") %>'
  50.                                                     Width="200px"></asp:TextBox>
  51.                             </div></td>
  52.                         </tr>
  53.             <tr>
  54.                           <td class="spec" style="text-align: right; width: 162px;">
  55.                               <span style="font-size: 10pt">创建角色</span>:</td>
  56.                           <td align="left" style="width: 243px">
  57.                                                    
  58.                              <asp:DropDownList ID="DDL_CreateRole" runat="server" Width="206px">
  59.                  </asp:DropDownList>
  60.                          
  61.                         </td>
  62.               <td class="spec" style="text-align: right; width: 158px;">
  63.                               <span style="font-size: 10pt">使用角色</span>:</td>
  64.                           <td align="left">
  65.                                <asp:DropDownList ID="DDL_UserRole" runat="server" Width="206px">
  66.                    </asp:DropDownList>
  67.                             </td>
  68.                         </tr>
  69.           <%-- <tr>
  70.                <td style="width: 162px; height: 24px; text-align: right">
  71.                    <span style="font-size: 10pt">开始时间</span>:</td>
  72.                <td style="height: 24px; width: 243px;">
  73.                    <asp:TextBox ID="TextBox1" runat="server" Width="200px" onfocus="setday(this)"></asp:TextBox>&nbsp;</td>
  74.                <td style="width: 158px; height: 24px; text-align: right">
  75.                    <span style="font-size: 10pt">
  76.                    截止时间:</span></td>
  77.                <td colspan="3" style="height: 24px">
  78.                    <asp:TextBox ID="TextBox2" runat="server" Width="200px" onfocus="setday(this)"></asp:TextBox></td>
  79.            </tr>--%>
  80.            <tr>
  81.                <td style="width: 162px; height: 24px; text-align: right">
  82.                    <span style="font-size: 10pt">权限类型</span>:</td>
  83.                <td colspan="3" style="height: 24px">
  84.                    <asp:DropDownList ID="DDL_PermissionType" runat="server" Width="206px">
  85.                        <asp:ListItem Value="1">可分配权限</asp:ListItem>
  86.                        <asp:ListItem Value="2">可使用权限</asp:ListItem>
  87.                    </asp:DropDownList></td>
  88.            </tr>
  89.            <tr>
  90.                <td colspan="4" style="height: 24px; text-align: right">
  91.                <hr color ="gray"/>
  92.                </td>
  93.            </tr>
  94.           <tr>
  95.              <td style="text-align: right; width: 162px;">
  96.                
  97.                 <span style="font-size: 10pt">权限列表</span>:&nbsp;</td>
  98.              <td colspan="3" valign="top">
  99.                   <div style="text-indent:2em;height:220px;overflow-x:hidden;overflow-y:auto; width:100%;text-align:left;">
  100.                    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
  101.                       <tr>
  102.                           <td style="height: 135px; width: 174px;">
  103.                   <asp:CheckBoxList ID="CheckBoxList1" runat="server" Font-Size="Smaller">
  104.                   </asp:CheckBoxList></td>
  105.                           <td valign="top" style="height: 135px; width: 259px;">
  106.                           <table border="0" cellpadding="0" cellspacing="0" style="width:19%; height: 82px;">
  107.                           <tr><td  colspan ="2" style="height: 13px">
  108.                               <span style="font-size: 10pt">关联用户:&nbsp;</span></td></tr>
  109.                           <tr><td style="width: 137px; height: 97px;">
  110.                               <asp:ListBox ID="LB_user" runat="server" Height="200px" Width="100px"></asp:ListBox>
  111.                               </td></tr>
  112.                           </table>
  113.                           </td>                     
  114.                       </tr>
  115.                   </table>
  116.                   </div>
  117.               </td>
  118.           </tr>   
  119.            <tr>
  120.                <td colspan="4" style="height: 24px; text-align: left" background="image/header_bg.gif">
  121.                </td>
  122.                <td style="height: 24px">
  123.                </td>
  124.            </tr>
  125.           <tr>
  126.               <td colspan="4" style="height: 24px; text-align: center">
  127.                   <asp:ImageButton ID="IB_Conform" runat="server" ImageUrl="~/Images/queding.gif" OnClick ="IB_Confirm_Click"/>
  128.                   &nbsp; &nbsp; &nbsp;<asp:ImageButton ID="IB_Cancel" runat="server" ImageUrl="~/Images/quxiao.gif" />
  129.                   &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</td>
  130.           </tr> 
  131.           
  132.         </TABLE>
  133.         
  134.       
  135.     </form>
  136. </body>
  137. </html>