71 lines
		
	
	
		
			4.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
		
		
			
		
	
	
			71 lines
		
	
	
		
			4.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
| 
								 | 
							
								<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RolePower.aspx.cs" Inherits="FineUIPro.Web.common.SysManage.RolePower" %>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!DOCTYPE html>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<html>
							 | 
						||
| 
								 | 
							
								<head runat="server">
							 | 
						||
| 
								 | 
							
								    <title>角色分配</title>
							 | 
						||
| 
								 | 
							
								</head>
							 | 
						||
| 
								 | 
							
								<body>
							 | 
						||
| 
								 | 
							
								    <form id="form1" runat="server">
							 | 
						||
| 
								 | 
							
								        <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
							 | 
						||
| 
								 | 
							
								        <f:Panel ID="Panel1" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region">
							 | 
						||
| 
								 | 
							
								            <Items>
							 | 
						||
| 
								 | 
							
								                <f:Panel runat="server" ID="panelLeftRegion" RegionPosition="Left" RegionSplit="true"
							 | 
						||
| 
								 | 
							
								                    EnableCollapse="true" Width="250px" Title="Role" ShowBorder="true" Layout="VBox"
							 | 
						||
| 
								 | 
							
								                    ShowHeader="true" AutoScroll="true" BodyPadding="5px" IconFont="ArrowCircleLeft">
							 | 
						||
| 
								 | 
							
								                    <Toolbars>
							 | 
						||
| 
								 | 
							
								                        <f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
							 | 
						||
| 
								 | 
							
								                            <Items>
							 | 
						||
| 
								 | 
							
								                                <f:TextBox ID="txtRoleName" runat="server" Label="Role" EmptyText="query condition" AutoPostBack="true"
							 | 
						||
| 
								 | 
							
								                                    OnTextChanged="TextBox_TextChanged" Width="200px" LabelWidth="50px" LabelAlign="Right">
							 | 
						||
| 
								 | 
							
								                                </f:TextBox>
							 | 
						||
| 
								 | 
							
								                            </Items>
							 | 
						||
| 
								 | 
							
								                        </f:Toolbar>
							 | 
						||
| 
								 | 
							
								                    </Toolbars>
							 | 
						||
| 
								 | 
							
								                    <Items>
							 | 
						||
| 
								 | 
							
								                        <f:Tree ID="tvRole" ShowHeader="false" OnNodeCommand="tvRole_NodeCommand" runat="server"
							 | 
						||
| 
								 | 
							
								                            ShowBorder="false" EnableCollapse="true" EnableSingleClickExpand="true"
							 | 
						||
| 
								 | 
							
								                            AutoLeafIdentification="true" EnableSingleExpand="true" EnableTextSelection="true">
							 | 
						||
| 
								 | 
							
								                        </f:Tree>
							 | 
						||
| 
								 | 
							
								                    </Items>
							 | 
						||
| 
								 | 
							
								                </f:Panel>
							 | 
						||
| 
								 | 
							
								                <f:Panel runat="server" ID="panelCenterRegion" RegionPosition="Center" ShowBorder="true"
							 | 
						||
| 
								 | 
							
								                    Layout="VBox" ShowHeader="false" BodyPadding="5px" IconFont="PlusCircle" Title="Role Authorization"
							 | 
						||
| 
								 | 
							
								                    TitleToolTip="Role Authorization" AutoScroll="true">
							 | 
						||
| 
								 | 
							
								                    <Toolbars>
							 | 
						||
| 
								 | 
							
								                        <f:Toolbar ID="Toolbar3" Position="Top" ToolbarAlign="Right" runat="server">
							 | 
						||
| 
								 | 
							
								                            <Items>
							 | 
						||
| 
								 | 
							
								                                <f:Label ID="lblRoleName" runat="server"></f:Label>
							 | 
						||
| 
								 | 
							
								                                <f:ToolbarFill ID="ToolbarFill1" runat="server">
							 | 
						||
| 
								 | 
							
								                                </f:ToolbarFill>
							 | 
						||
| 
								 | 
							
								                                <f:Button ID="btnSave" ToolTip="Save" Text="Save" Icon="SystemSave" EnablePostBack="true"
							 | 
						||
| 
								 | 
							
								                                    runat="server" OnClick="btnSave_Click">
							 | 
						||
| 
								 | 
							
								                                </f:Button>
							 | 
						||
| 
								 | 
							
								                            </Items>
							 | 
						||
| 
								 | 
							
								                        </f:Toolbar>
							 | 
						||
| 
								 | 
							
								                    </Toolbars>
							 | 
						||
| 
								 | 
							
								                    <Items>
							 | 
						||
| 
								 | 
							
								                        <f:Grid ID="Grid1" IsFluid="true" CssClass="blockpanel" ShowBorder="true" ShowHeader="false" Title="Role Authorization"
							 | 
						||
| 
								 | 
							
								                            runat="server" EnableCollapse="false" DataKeyNames="MenuId,SuperMenu" OnRowDataBound="Grid1_RowDataBound"
							 | 
						||
| 
								 | 
							
								                            EnableTree="true" ExpandAllTreeNodes="true" TreeColumn="MenuName" DataIDField="MenuId" DataParentIDField="SuperMenu">
							 | 
						||
| 
								 | 
							
								                            <Columns>
							 | 
						||
| 
								 | 
							
								                                <f:RowNumberField />
							 | 
						||
| 
								 | 
							
								                                <f:BoundField ColumnID="MenuName" ExpandUnusedSpace="true" DataField="MenuName" HeaderText="Menu Name" />
							 | 
						||
| 
								 | 
							
								                                <f:TemplateField ColumnID="ButtonPower" Width="700px" HeaderText="Button permissions" HeaderTextAlign="Left" TextAlign="Left">
							 | 
						||
| 
								 | 
							
								                                    <ItemTemplate>
							 | 
						||
| 
								 | 
							
								                                        <asp:CheckBoxList runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal"
							 | 
						||
| 
								 | 
							
								                                            ID="cblButtonPower">
							 | 
						||
| 
								 | 
							
								                                        </asp:CheckBoxList>
							 | 
						||
| 
								 | 
							
								                                    </ItemTemplate>
							 | 
						||
| 
								 | 
							
								                                </f:TemplateField>
							 | 
						||
| 
								 | 
							
								                            </Columns>
							 | 
						||
| 
								 | 
							
								                        </f:Grid>
							 | 
						||
| 
								 | 
							
								                    </Items>
							 | 
						||
| 
								 | 
							
								                </f:Panel>
							 | 
						||
| 
								 | 
							
								            </Items>
							 | 
						||
| 
								 | 
							
								        </f:Panel>
							 | 
						||
| 
								 | 
							
								    </form>
							 | 
						||
| 
								 | 
							
								</body>
							 | 
						||
| 
								 | 
							
								</html>
							 |