<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" title="Security Configuration" autoeventwireup="true" inherits="Pages_BaseFramework_Security_SecurityConfiguration, App_Web_iur12pbz" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="../../../UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/SuperAdminScreenGroup.ascx" TagName="SuperAdminScreenGroupControl" TagPrefix="SuperAdminScreenGroup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="MainUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage">
                <!-- 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">
                        <!-- Sub Container2 Box Start -->
                        <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="himssuHeader2WireBox">
                                <div class="himsBoxHeader card-head">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <header>
                                                <i class="fas fa-lock"></i>
                                                <asp:Label ID="Label4" runat="server" Text="Security Configuration"></asp:Label>
                                                <asp:HiddenField runat="server" ID="ButtonIdHiddenField" />
                                            </header>
                                        </div>
                                    </div>
                                </div>
                                <div class="himsBoxContent card-body">


                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="LicencedUserLabel" runat="server" Text="Licenced User" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="LicencedUserTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                MaxLength="4" onkeypress="return isNumberKey(event)"></asp:TextBox>
                                        </div>
                                    </div>

                                    <div class="outerBox pTop15 col-md-3">
                                        <asp:Button ID="SaveButton" SkinID="0" runat="server" Text="&#xf0c7; Save" OnClick="SaveButton_Click" CssClass="btn-save btn fas" />
                                        <asp:Button ID="ClearButton" SkinID="0" runat="server" Text="&#xf12d; Clear" OnClick="ClearButton_Click" CssClass="btn-clear btn fas" />
                                    </div>


                                    <div class="himssuHeader1WireBox col-md-12">
                                        <div class="himsBoxHeader  card-head inner">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="Label1" runat="server" Text="Admin Configuration"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="himsBoxContent">
                                            <div class="contentHolder">

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="PasswordLabel" runat="server" Text="Admin Password" SkinID="MandatoryLabel"
                                                            meta:resourcekey="ModuleLabelResource1"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="PasswordTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                            MaxLength="50" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop15 col-md-6">
                                                    <asp:Button ID="GeneratePasswordButton" runat="server" Text="&#xf084;  Generate Password" OnClick="GeneratePasswordButton_Click" SkinID="0" CssClass="btn btn-examcommon fas" />
                                                    <asp:Button ID="ResetPasswordButton" runat="server" Text="&#xf0e2; Reset Admin Password" OnClick="ResetPasswordButton_Click" SkinID="0" CssClass="btn btn-reset fas" />
                                                    <asp:Button ID="ResetButton" runat="server" Text="&#xf12d; Clear" OnClick="ResetButton_Click" SkinID="0" CssClass="btn btn-clear fas" />
                                                </div>

                                                <div class="col-md-12" runat="server" id="StrongPasswordDiv" visible="true">
                                                    <div class="alert-info">
                                                        <b>The password must have a minimum of eight characters, one capital, one lowercase, one numeric, and one special character.</b>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="himssuHeader1WireBox col-md-12">
                                        <div class="himsBoxHeader card-head inner">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="Label2" runat="server" Text="Module And Task Permission"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="himsBoxContent">
                                            <div class="contentHolder">
                                                <div class="col-md-12 pTop5">
                                                    <asp:Button ID="ModulePermissionButton" runat="server" Text="&#xf0e2; Reset Module Permission" OnClick="ModulePermissionButton_Click" SkinID="0" CssClass="btn-reset btn fas" />
                                                    <asp:Button ID="TaskPermissionButton" runat="server" Text="&#xf09c; Organization Task Permission" OnClick="TaskPermissionButton_Click" SkinID="0" CssClass="btn-examcommon btn fas" />
                                                    <asp:Button ID="ResetPermissionButton" runat="server" Text="&#xf0e2; Reset Admin Permission" OnClick="ResetPermissionButton_Click" SkinID="0" CssClass="btn-reset btn fas" />
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="himssuHeader1WireBox col-md-12">
                                        <div class="himsBoxHeader card-head inner">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="Label6" runat="server" Text="Portal Permission"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="himsBoxContent">
                                            <div class="contentHolder">
                                                <div class="col-md-12 pTop5">
                                                    <asp:Button ID="ModulePortalButton" runat="server" Text="&#xf09c; Portal Module Permission" OnClick="PortalPermissionButton_Click" SkinID="0" CssClass="btn btn-examcommon fas" />
                                                    <asp:Button ID="OrganizationPortalTaskButton" runat="server" Text="&#xf2f6; Organization Portal Task" OnClick="PortalPermissionButton_Click" SkinID="0" CssClass="btn btn-assign fas" />
                                                    <asp:Button ID="AdminPortalButton" runat="server" Text="&#xf09c; Admin Portal Permission" OnClick="PortalPermissionButton_Click" SkinID="0" CssClass="btn btn-examcommon fas" />
                                                    <asp:Button ID="ParentPortalButton" runat="server" Text="&#xf09c; Student Login Permission" OnClick="PortalPermissionButton_Click" SkinID="0" CssClass="btn btn-apply fas" />
                                                    <asp:Button ID="EmployeePortalButton" runat="server" Text="&#xf09c; Employee Login Permission" OnClick="PortalPermissionButton_Click" SkinID="0" CssClass="btn btn-examcommon fas" />
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="himssuHeader1WireBox col-md-12" runat="server" visible="false">
                                        <div class="himsBoxHeader card-head inner">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="Label3" runat="server" Text="Parent Configuration"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="himsBoxContent">
                                            <div class="contentHolder">
                                                <div class="alignCenter pTop5 col-md-12">
                                                    <asp:Button ID="ParentResetPermissionButton" runat="server" Text="&#xf0e2; Reset Parent Permission" OnClick="ParentResetPermissionButton_Click" SkinID="0" CssClass="btn btn-reset fas" />
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himssuHeader1WireBox col-md-12">
                                        <div class="himsBoxHeader card-head inner">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="Label5" runat="server" Text="Temp App Permission"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="himsBoxContent">
                                            <div class="contentHolder">
                                                <div class="col-md-12 pTop5">
                                                    <asp:Button ID="AppModulePermissionButton" runat="server" Text="&#xf0e2; App Module Permission" OnClick="AppModulePermissionButton_Click" SkinID="0" CssClass="btn-reset btn fas" />
                                                    <asp:Button ID="OrgTaskPermissionButton" runat="server" Text="&#xf09c; Org Task Permission" OnClick="OrgTaskPermissionButton_Click" SkinID="0" CssClass="btn-examcommon btn fas" />
                                                    <asp:Button ID="ResetAdminPermissionButton" runat="server" Text="&#xf0e2; Reset Admin Permission" OnClick="ResetAdminPermissionButton_Click" SkinID="0" CssClass="btn-reset btn fas" />
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <%--HEDP History Ends Here--%>
                        </div>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--   <script data-main="../../../JavaScript/rjs/encrypt/security-configuration-encrypt" src="../../../JavaScript/rjs/require.js"></script> --%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/security-configuration")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>

