<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_BaseFramework_Security_OrganizationSetup, App_Web_m2a20lm5" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/SuperAdminScreenGroup.ascx" TagName="SuperAdminScreenGroupControl" TagPrefix="SuperAdminScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Src="~/UserControls/Common/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl" TagPrefix="hims" %>
<%@ Register Src="~/UserControls/Common/Alert/AlertDetailBoxControl.ascx" TagName="AlertControl" TagPrefix="Alert" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="IncidentLogUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->
                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <SuperAdminScreenGroup:SuperAdminScreenGroupControl EnableViewState="true" ID="SuperAdminScreenGroupControl" ScreenGroupId="153"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>


                    <div class="whiteboxpaddingleft row">
                        <div class="himssuHeader1WireBox card card-box">
                            <div class="topdisplayContainer">
                                <div class="himsBoxContent messageMessage">
                                    <div class="topdisplayContainer p-l-10">
                                        <table class="fLeft">
                                            <tr>
                                                <td>
                                                    <asp:Label ID="OrgCodeLabelL" runat="server" Text="Code :" Font-Bold="true"></asp:Label>
                                                    &nbsp;&nbsp;<asp:Label ID="OrgCodeLabelT" runat="server" Text="" SkinID="CustomWidthLabel" Width="200px"></asp:Label></td>

                                                <td>
                                                    <asp:Label ID="OrgDisplayTitleLabelL" runat="server" Text="Display Title :" Font-Bold="true"></asp:Label>
                                                    &nbsp;&nbsp;<asp:Label ID="OrgDisplayTitleLabelT" runat="server" Text="" SkinID="CustomWidthLabel" Width="500px"></asp:Label></td>

                                            </tr>
                                        </table>
                                    </div>
                                </div>
                            </div>
                            <div class="himsBoxHeader card-head">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-cog"></i>
                                            <asp:Label ID="Label1" runat="server" Text="Super Admin Configuration"></asp:Label>
                                        </header>
                                    </div>
                                </div>
                                <div class="fRight">
                                </div>
                            </div>
                            <div class="himsBoxContent card-body">
                                <asp:Panel ID="DetailPanel" runat="Server">
                                    <cc1:TabContainer Width="100%" ID="ConfigurationTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox ajax__tab_container ajax__tab_default pTop5"
                                        AutoPostBack="false" meta:resourcekey="ConfigurationTabContainerResource"
                                        ActiveTabIndex="0">
                                        <cc1:TabPanel Width="100%" ID="OrgGroupTabPanel" runat="server" HeaderText="Org Group">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab">
                                                        <a><i class="fas  fa-bars"></i>&nbsp;Org Group</a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="alignCenter pTop5 col-md-12">
                                                    <asp:Button ID="OrgGroupSaveButton" runat="server" Text="&#xf0c7; Save" OnClick="OrgGroupSaveButton_Click" SkinID="0" CssClass="fas btn btn-save" />
                                                </div>
                                                <div class="col-md-12">
                                                    <asp:Panel ID="Panel1" runat="Server" CssClass="table-responsive">
                                                        <asp:GridView ID="OrgGroupConfigurationGridView" runat="server" AutoGenerateColumns="False"
                                                            ShowHeader="true" SkinID="" PagerSettings-Visible="false" DataKeyNames="Id,ValidationTypeId,ItemValue,SourceTypeId,SourceId,DefaultValue" OnRowDataBound="OrgGroupConfigurationGridView_RowDataBound"
                                                            EmptyDataText="No Records Found !!" CssClass="table table-striped table-bordered table-hover">
                                                            <Columns>
                                                                <asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%">
                                                                    <HeaderTemplate>
                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                            <asp:CheckBox ID="HeaderSelectCheckBox" OnCheckedChanged="HeaderSelectCheckBox_OnCheckedChanged" runat="server" AutoPostBack="True" />
                                                                            <span></span>
                                                                        </label>
                                                                    </HeaderTemplate>
                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                    <ItemTemplate>
                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                            <asp:CheckBox ID="SelectCheckBox" runat="server" Checked='<%# Eval("IsObsolete") %>' /><span></span>
                                                                        </label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Module">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="ModuleLabel" runat="server" Text='<%#Eval("Module") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Title">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="TitleLabel" runat="server" Text='<%#Eval("Title") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Key">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="ItemKeyLabel" runat="server" Text='<%#Eval("ItemKey") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Value">
                                                                    <ItemTemplate>
                                                                        <asp:TextBox ID="ItemValueTextBox" runat="server" Text='<%#Eval("ItemValue") %>'></asp:TextBox>
                                                                        <asp:DropDownList ID="drpCustomValidate" runat="server" CssClass="form-control" meta:resourcekey="drpCustomValidateResource1" Visible="false">
                                                                        </asp:DropDownList>
                                                                        <asp:DropDownList ID="ItemValueDropDownList" CssClass="form-control" runat="server">
                                                                            <asp:ListItem Value="-1">- Select -</asp:ListItem>
                                                                            <asp:ListItem Value="True">True</asp:ListItem>
                                                                            <asp:ListItem Value="False">False</asp:ListItem>
                                                                        </asp:DropDownList>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                        </asp:GridView>
                                                    </asp:Panel>
                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                        <cc1:TabPanel Width="100%" ID="OrganizationTabPanel" runat="server" HeaderText="Organization">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab">
                                                        <a><i class="fas  fa-bars"></i>&nbsp;Organization</a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="alignCenter pTop5 col-md-12">
                                                    <asp:Button ID="OrganizationSaveGridView" runat="server" Text="&#xf0c7; Save" OnClick="OrganizationSaveGridView_Click" SkinID="0" CssClass="fas btn btn-save" />
                                                </div>
                                                <div class="col-md-12">
                                                    <asp:Panel ID="Panel2" runat="Server" CssClass="table-responsive">
                                                        <asp:GridView ID="OrganizationConfigurationGridView" runat="server" AutoGenerateColumns="False"
                                                            ShowHeader="true" SkinID="" PagerSettings-Visible="false" DataKeyNames="Id,ValidationTypeId,ItemValue,SourceTypeId,SourceId,DefaultValue" OnRowDataBound="OrganizationConfigurationGridView_RowDataBound"
                                                            EmptyDataText="No Records Found !!" CssClass="table table-striped table-bordered table-hover">
                                                            <Columns>
                                                                <asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%">
                                                                    <HeaderTemplate>
                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                            <asp:CheckBox ID="HeaderSelectCheckBox" OnCheckedChanged="HeaderSelectCheckBox_OnCheckedChanged" runat="server" AutoPostBack="True" />
                                                                            <span></span>
                                                                        </label>
                                                                    </HeaderTemplate>
                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                    <ItemTemplate>
                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                            <asp:CheckBox ID="SelectCheckBox" runat="server" Checked='<%# Eval("IsObsolete") %>' /><span></span>
                                                                        </label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Module">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="ModuleLabel" runat="server" Text='<%#Eval("Module") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Title">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="TitleLabel" runat="server" Text='<%#Eval("Title") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Key">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="ItemKeyLabel" runat="server" Text='<%#Eval("ItemKey") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Value">
                                                                    <ItemTemplate>
                                                                        <asp:TextBox ID="ItemValueTextBox" runat="server" Text='<%#Eval("ItemValue") %>'></asp:TextBox>
                                                                        <asp:DropDownList ID="drpCustomValidate" runat="server" CssClass="form-control" meta:resourcekey="drpCustomValidateResource1" Visible="false">
                                                                        </asp:DropDownList>
                                                                        <asp:DropDownList ID="ItemValueDropDownList" CssClass="form-control" runat="server">
                                                                            <asp:ListItem Value="-1">- Select -</asp:ListItem>
                                                                            <asp:ListItem Value="True">True</asp:ListItem>
                                                                            <asp:ListItem Value="False">False</asp:ListItem>
                                                                        </asp:DropDownList>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                        </asp:GridView>
                                                    </asp:Panel>
                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                        <cc1:TabPanel Width="100%" ID="ApplicationConfigurationTabPanel" runat="server" HeaderText="Application">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab">
                                                        <a><i class="fas  fa-bars"></i>&nbsp;Application</a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="alignCenter pTop5 col-md-12">
                                                    <asp:Button ID="ApplicationSaveGridView" runat="server" Text="&#xf0c7; Save" OnClick="ApplicationSaveGridView_Click" SkinID="0" CssClass="fas btn btn-save" />
                                                </div>
                                                <div class="col-md-12">
                                                    <asp:Panel ID="Panel3" runat="Server" CssClass="table-responsive">
                                                        <asp:GridView ID="ApplicationConfigurationGridView" runat="server" AutoGenerateColumns="False"
                                                            ShowHeader="true" SkinID="" PagerSettings-Visible="false" DataKeyNames="Id,ValidationTypeId,ItemValue,SourceTypeId,SourceId,DefaultValue" OnRowDataBound="ApplicationConfigurationGridView_RowDataBound"
                                                            EmptyDataText="No Records Found !!" CssClass="table table-striped table-bordered table-hover">
                                                            <Columns>
                                                                <asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%">
                                                                    <HeaderTemplate>
                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                            <asp:CheckBox ID="HeaderSelectCheckBox" OnCheckedChanged="HeaderSelectCheckBox_OnCheckedChanged" runat="server" AutoPostBack="True" />
                                                                            <span></span>
                                                                        </label>
                                                                    </HeaderTemplate>
                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                    <ItemTemplate>
                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                            <asp:CheckBox ID="SelectCheckBox" runat="server" Checked='<%# Eval("IsObsolete") %>' /><span></span>
                                                                        </label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Module">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="ModuleLabel" runat="server" Text='<%#Eval("Module") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Title">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="TitleLabel" runat="server" Text='<%#Eval("Title") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Key">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="ItemKeyLabel" runat="server" Text='<%#Eval("ItemKey") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Value">
                                                                    <ItemTemplate>
                                                                        <asp:TextBox ID="ItemValueTextBox" runat="server" Text='<%#Eval("ItemValue") %>'></asp:TextBox>
                                                                        <asp:DropDownList ID="drpCustomValidate" runat="server" CssClass="form-control" meta:resourcekey="drpCustomValidateResource1" Visible="false">
                                                                        </asp:DropDownList>
                                                                        <asp:DropDownList ID="ItemValueDropDownList" CssClass="form-control" runat="server">
                                                                            <asp:ListItem Value="-1">- Select -</asp:ListItem>
                                                                            <asp:ListItem Value="True">True</asp:ListItem>
                                                                            <asp:ListItem Value="False">False</asp:ListItem>
                                                                        </asp:DropDownList>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                        </asp:GridView>
                                                    </asp:Panel>
                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                    </cc1:TabContainer>
                                </asp:Panel>
                            </div>
                        </div>
                    </div>
                </div>
                <%--HEDP History Ends Here--%>
            </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%-- <script data-main="../../../JavaScript/rjs/encrypt/organization-setup-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/organization-setup")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
