<%@ page title="" language="VB" masterpagefile="~/Template/Master.master" autoeventwireup="false" inherits="RCC_Exchange_CalendarPermissions, MachSol.MachPanel.Web" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Assembly="AjaxControls" Namespace="AjaxControls" TagPrefix="EM" %>
<%@ Register Assembly="MachSol.MachPanel.Utility" Namespace="MachSol.MachPanel.Utility"
    TagPrefix="EM" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CPH_Content" runat="Server">

    <ajax:UpdatePanel ID="UP_CalendarPermissions" runat="server" UpdateMode="Conditional" RenderMode="Block">
        <ContentTemplate>
            <div class="col-xs-12">
                <div class="card">
                    <div class="body">
                        <EM:TabContainer ID="TC_CalendarPermissions" runat="server" OnClientActiveTabChanged="loadTabPanel">
                            <EM:TabPanel ID="Tab_GlobalSettings" runat="server" HeaderText="<%$ Resources:Content,strGlobalSettings %>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab0" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent0" runat="server">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3>
                                                            <%= Resources.Content.strGlobalSettingsforCalendar%>
                                                        </h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Literal ID="Literal11" runat="server" Text="<%$ Resources:Content,strGlobalSettingMsg%>" EnableViewState="false" />:                                                                                                                          
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal3" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strUserGroup %>"></asp:Literal>:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal4" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strPermissions %>"></asp:Literal>:
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal1" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strAnonymous %>"></asp:Literal>:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="Ddl_AnonymousPerm" runat="server" data-label="Anonymous">
                                                                        <asp:ListItem Text="<%$ Resources:Content,GN0000918 %>" Value="none" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,AvailabilityOnly %>" Value="availabilityonly" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,LimitedDetails %>" Value="limiteddetails" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh501 %>" Value="author" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh502 %>" Value="contributor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh503 %>" Value="editor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh504 %>" Value="noneditingauthor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh505 %>" Value="owner" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh507 %>" Value="publishingauthor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh508 %>" Value="publishingeditor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh506 %>" Value="reviewer" />
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal5" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strDefault %>"></asp:Literal>:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_DefaultPerm" runat="server" data-label="Default">
                                                                        <asp:ListItem Text="<%$ Resources:Content,GN0000918 %>" Value="none" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,AvailabilityOnly %>" Value="availabilityonly" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,LimitedDetails %>" Value="limiteddetails" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh501 %>" Value="author" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh502 %>" Value="contributor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh503 %>" Value="editor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh504 %>" Value="noneditingauthor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh505 %>" Value="owner" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh507 %>" Value="publishingauthor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh508 %>" Value="publishingeditor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh506 %>" Value="reviewer" />
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal6" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strDefaultExchangeSGofOrg %>"></asp:Literal>:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_DefaultExchangeSGofOrg" runat="server" data-label="Default Exchange Security Group">
                                                                        <asp:ListItem Text="<%$ Resources:Content,GN0000918 %>" Value="none" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,AvailabilityOnly %>" Value="availabilityonly" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,LimitedDetails %>" Value="limiteddetails" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh501 %>" Value="author" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh502 %>" Value="contributor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh503 %>" Value="editor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh504 %>" Value="noneditingauthor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh505 %>" Value="owner" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh507 %>" Value="publishingauthor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh508 %>" Value="publishingeditor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh506 %>" Value="reviewer" />
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Button ID="Btn_Save" runat="server" SkinID="saveButton" Text="<%$ Resources:Content,strSave%>" CssClass="btn btn-primary btnAction" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_OrganizationSpecificPermissions" runat="server" HeaderText="<%$ Resources:Content,strOrganizationSpecificPermissions %>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab1" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false">

                                        <asp:Panel ID="Pnl_Listing" runat="server">
                                            <div class="row Div_OpsRow" id="Div_OpsRow" runat="server">
                                                <div class="col-xs-12">
                                                    <div class="card">
                                                        <div class="header">
                                                            <h3>
                                                                <%= Resources.Content.SMI0423%>                                                                                                                                 
                                                            </h3>
                                                        </div>
                                                        <div class="body">
                                                            <div class="clearfix">
                                                                <asp:Button ID="Btn_AddOrgPermission" class="btn btn-primary waves-effect btnAction" runat="server"
                                                                    Text='<%$ Resources:Content,strAddOrgPermissions %>' />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <asp:Panel ID="Pnl_Btn_ApplyFilter" runat="server" CssClass="row" DefaultButton="Btn_ApplyFilter">
                                                <div class="panel-group search-panel" id="AS_OrgPermissions" role="tablist" aria-multiselectable="true">
                                                    <div class="col-xs-12" role="tab" id="SH_OrgPermissions">

                                                        <div class="card">
                                                            <div class="header" role="button" data-toggle="collapse" data-parent="#AS_OrgPermissions" href="#<%= CSB_OrgPermissions.ClientID%>" aria-expanded="true" aria-controls="SH_OrgPermissions">
                                                                <h3>
                                                                    <%= Resources.Content.GN0000395%>
                                                                </h3>
                                                            </div>

                                                            <div id="CSB_OrgPermissions" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_OrgPermissions" aria-expanded="false">
                                                                <div class="row">
                                                                    <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Div_Owner">
                                                                        <div class="form-group form-float">
                                                                            <asp:DropDownList ID="DDL_Owner" runat="server" onchange="setOwnerCookie(this)"></asp:DropDownList>
                                                                        </div>
                                                                    </div>

                                                                    <div class="col-md-3 col-sm-6 col-xs-12">
                                                                        <div class="form-group form-float">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_SrchOrganization" runat="server"></asp:TextBox>
                                                                                <asp:Label ID="Label10" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strOrganization%>" class="form-label"></asp:Label>
                                                                            </div>
                                                                        </div>
                                                                    </div>

                                                                    <div class="col-md-3 col-sm-6 col-xs-12">
                                                                        <div class="form-group form-float">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_SrchDomainName" runat="server"></asp:TextBox>
                                                                                <asp:Label ID="Label4" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strDomainName%>" class="form-label"></asp:Label>
                                                                            </div>
                                                                        </div>
                                                                    </div>

                                                                    <div class="col-md-3 col-sm-6 col-xs-12">
                                                                        <div class="form-group form-float">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_SrchCustomerName" runat="server"></asp:TextBox>
                                                                                <asp:Label ID="Label1" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000268%>" class="form-label"></asp:Label>
                                                                            </div>
                                                                        </div>
                                                                    </div>

                                                                    <div class="col-md-3 col-sm-6 col-xs-12">
                                                                        <div class="form-group form-float">
                                                                            <asp:ValidationSummary ID="VS_Search" runat="server" ShowMessageBox="true"
                                                                                ShowSummary="false" ValidationGroup="Search" />
                                                                            <asp:Button ID="Btn_ApplyFilter" ValidationGroup="SearchPhoneNumbers" class="btn btn-primary waves-effect" runat="server" Text="<%$ Resources:Content,GN0000391%>" />
                                                                            <asp:Button ID="Btn_ClearFilter" Visible="false" class="btn btn-primary waves-effect" runat="server" Text="<%$ Resources:Content,String289 %>" />

                                                                        </div>
                                                                    </div>

                                                                </div>
                                                            </div>
                                                        </div>

                                                    </div>
                                                </div>
                                            </asp:Panel>

                                            <div class="row">
                                                <div class="col-xs-12">

                                                    <asp:GridView CssClass="table table-bordered table-striped table-hover" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                                        ID="GV_OrgPermissions" AllowPaging="False" runat="server" AutoGenerateColumns="false">

                                                        <Columns>
                                                            <asp:TemplateField HeaderText='<%$ Resources:Content, strOrganization %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="LB_Organization" runat="server" />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText='<%$ Resources:Content, strCustomer %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="LB_Customer" runat="server" />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText='<%$ Resources:Content, strOwner %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="LB_Owner" runat="server" />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText='<%$ Resources:Content, strGroups %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="LB_Group" runat="server" />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,strPermissions%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="LB_Permission" runat="server"></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000360 %>' HeaderStyle-CssClass="col-xs-2">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="LB_Remove" runat="server" Text="<%$ Resources:Content,strRemove %>"
                                                                        CssClass="btn btn-primary waves-effect btnAction" CommandName="RemovePermission" />
                                                                    <EM:ConfirmButtonExtender ID="CBE_Remove" runat="server" ConfirmText="<%$Resources:Content,strRemovePermissionConfirm%>"
                                                                        TargetControlID="LB_Remove">
                                                                    </EM:ConfirmButtonExtender>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                    </asp:GridView>

                                                </div>
                                            </div>

                                        </asp:Panel>

                                        <asp:Panel ID="Pnl_Add" runat="server" Visible="false">
                                            <div class="row">
                                                <div class="col-xs-12">
                                                    <div class="card">
                                                        <div class="header">
                                                            <h3>
                                                                <%= Resources.Content.strAddCalendarPermissionsSetting%>
                                                            </h3>
                                                        </div>
                                                        <div class="body">
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal2" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strSelectOrganization %>"></asp:Literal>:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <asp:DropDownList ID="Ddl_SelectOrganization" runat="server" AutoPostBack="true" data-label="Organization"></asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal7" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strPermissions %>"></asp:Literal>:
                                                                </div>
                                                            </div>

                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal8" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strAnonymous %>"></asp:Literal>:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_OrgAnonymous" runat="server" data-label="Anonymous">
                                                                            <asp:ListItem Text="<%$ Resources:Content,GN0000918 %>" Value="none" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,AvailabilityOnly %>" Value="availabilityonly" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,LimitedDetails %>" Value="limiteddetails" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh501 %>" Value="author" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh502 %>" Value="contributor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh503 %>" Value="editor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh504 %>" Value="noneditingauthor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh505 %>" Value="owner" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh507 %>" Value="publishingauthor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh508 %>" Value="publishingeditor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh506 %>" Value="reviewer" />
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal9" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strDefault %>"></asp:Literal>:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_OrgDefault" runat="server" data-label="Default">
                                                                            <asp:ListItem Text="<%$ Resources:Content,GN0000918 %>" Value="none" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,AvailabilityOnly %>" Value="availabilityonly" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,LimitedDetails %>" Value="limiteddetails" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh501 %>" Value="author" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh502 %>" Value="contributor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh503 %>" Value="editor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh504 %>" Value="noneditingauthor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh505 %>" Value="owner" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh507 %>" Value="publishingauthor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh508 %>" Value="publishingeditor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh506 %>" Value="reviewer" />
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal10" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strDefaultExchangeSGofOrg %>"></asp:Literal>:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_OrgDefaultExchangeSGofOrg" runat="server" data-label="Default Exchange Security Group">
                                                                            <asp:ListItem Text="<%$ Resources:Content,GN0000918 %>" Value="none" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,AvailabilityOnly %>" Value="availabilityonly" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,LimitedDetails %>" Value="limiteddetails" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh501 %>" Value="author" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh502 %>" Value="contributor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh503 %>" Value="editor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh504 %>" Value="noneditingauthor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh505 %>" Value="owner" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh507 %>" Value="publishingauthor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh508 %>" Value="publishingeditor" />
                                                                            <asp:ListItem Text="<%$ Resources:Content,Exh506 %>" Value="reviewer" />
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal14" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strCustomPermissions %>"></asp:Literal>:
                                                                </div>
                                                                <div class="col-sm-9 col-xs-12">
                                                                    <asp:GridView CssClass="table table-bordered table-striped table-hover" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                                                        ID="GV_CustomOrgPermission" AllowPaging="False" runat="server" AutoGenerateColumns="false">

                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText='<%$ Resources:Content, strGroups %>' HeaderStyle-CssClass="col-xs-4" ItemStyle-CssClass="col-xs-4">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="LB_Group" runat="server" />
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="<%$ Resources:Content,strPermissions%>" HeaderStyle-CssClass="col-xs-4" ItemStyle-CssClass="col-xs-4">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="LB_Permission" runat="server"></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000360 %>' HeaderStyle-CssClass="col-xs-3">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="LB_Remove" runat="server" Text="<%$ Resources:Content,strRemove %>"
                                                                                        CssClass="btn btn-primary waves-effect btnAction" CommandName="RemovePermission" />
                                                                                    <EM:ConfirmButtonExtender ID="CBE_Remove" runat="server" ConfirmText="<%$Resources:Content,strRemovePermissionConfirm%>"
                                                                                        TargetControlID="LB_Remove">
                                                                                    </EM:ConfirmButtonExtender>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="card">
                                                        <div class="header">
                                                            <h3>
                                                                <%= Resources.Content.strAddCustomPermission%>
                                                            </h3>
                                                        </div>
                                                        <div class="body">
                                                            <div class="row">
                                                                <div class="col-sm-2 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal12" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strSelectGroup %>"></asp:Literal>:
                                                                </div>
                                                                <div class="col-sm-3 col-xs-12">
                                                                    <asp:DropDownList ID="DDL_GroupDistributionList" runat="server" data-label="Custom Group Distribution List"></asp:DropDownList>
                                                                </div>
                                                                <div class="col-sm-2 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal13" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strPermission %>"></asp:Literal>:
                                                                </div>
                                                                <div class="col-sm-3 col-xs-12">
                                                                    <asp:DropDownList ID="DDL_OrgCusPermission" runat="server" data-label="Custom Permission">
                                                                        <asp:ListItem Text="<%$ Resources:Content,GN0000918 %>" Value="none" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,AvailabilityOnly %>" Value="availabilityonly" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,LimitedDetails %>" Value="limiteddetails" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh501 %>" Value="author" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh502 %>" Value="contributor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh503 %>" Value="editor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh504 %>" Value="noneditingauthor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh505 %>" Value="owner" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh507 %>" Value="publishingauthor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh508 %>" Value="publishingeditor" />
                                                                        <asp:ListItem Text="<%$ Resources:Content,Exh506 %>" Value="reviewer" />
                                                                    </asp:DropDownList>
                                                                </div>
                                                                <div class="col-sm-2 col-xs-12">
                                                                    <asp:Button ID="Btn_AddOrgCusPermission" runat="server" Text="<%$ Resources:Content,strAdd%>" CssClass="btn btn-primary btnAction" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-xs-12">
                                                    <asp:Button ID="Btn_SavePer" runat="server" Text="<%$ Resources:Content,strSave%>" CssClass="btn btn-primary" />
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                        </EM:TabContainer>
                    </div>
                </div>
            </div>

        </ContentTemplate>
    </ajax:UpdatePanel>

</asp:Content>

