<%@ page language="C#" autoeventwireup="true" masterpagefile="~/Pages/Common/MasterPages/DialogMasterPage_new.master" inherits="Pages_BaseFramework_Configuration_PopUps, App_Web_rrg1aila" uiculture="auto" meta:resourcekey="PageResource1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="Sapphire.Ohu.Web.ControlToolKit.Controls" Namespace="Sapphire.Ohu.Web.ControlToolKit.Controls"
    TagPrefix="cc1" %>
<asp:Content ID="contentDialog" ContentPlaceHolderID="CP" runat="server">
    <div class="himssuHeader5WireBox card card-box divcontentpagemargin">
        <div class="himsBoxHeader card-head">
            <asp:Panel ID="TopPanel" CssClass="col-md-12" runat="server" meta:resourcekey="TopPanelResource1">
                <div class="leftdiv">
                </div>
                <div class="himsBoxTitle">
                    <%--<asp:Image ID="Image1" runat="server" class="fLeft" meta:resourcekey="Image1Resource1" />--%>
                    <div class="headerText">
                        <header>
                            <asp:Label ID="Label5" runat="server" Text="Update" meta:resourcekey="Label5Resource1"></asp:Label>
                            <%--<cc1:CollapsiblePanelExtender ID="cpe" runat="server" TargetControlID="DetailPanel"
                            ExpandControlID="Image1" CollapseControlID="Image1" TextLabelID="Label3" ImageControlID="Image1"
                            ExpandedImage="~/images/buttonCollapse.gif" CollapsedImage="~/images/buttonExpand.gif"
                            Enabled="True" />--%>
                        </header>
                    </div>
                </div>
                <div class="pull-right mt-27">
                    <asp:CheckBox ID="IsCommonCheckBox" runat="server" Text="IsCommon" />
                    <%--   <asp:Label ID="IsCommonLabel" runat="server" Text="IsCommon"></asp:Label>--%>
                </div>
            </asp:Panel>
        </div>
        <asp:Panel ID="DetailPanel" runat="Server" meta:resourcekey="DetailPanelResource1">
            <div class="himsBoxContent card-body">
                <div class="contentHolder">
                    <asp:Panel ID="pnlRepeater" runat="server" meta:resourcekey="pnlRepeaterResource1">
                        <asp:Repeater ID="rptSettingValue" runat="server" OnItemCommand="rptSettingValue_ItemCommand">
                            <ItemTemplate>
                                <table width="100%">
                                    <tr>
                                        <td>
                                            <asp:LinkButton ID="lnkName" runat="server" CommandArgument='<%# DataBinder.Eval(Container.DataItem,"SettingItemValue") %>'
                                                CommandName="Filter" Text='<%# DataBinder.Eval(Container.DataItem,"SettingItemValue") %>'
                                                meta:resourcekey="lnkNameResource1"></asp:LinkButton>
                                        </td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                        </asp:Repeater>
                    </asp:Panel>
                    <asp:Panel ID="pnlTxtEdit" runat="server" Visible="False">
                        <div class="outerBoxPreBtn col-md-5 pTop5">
                            <div class="controlLabelWidth">
                            </div>
                            <div class="fLeft pRight5">
                                <asp:TextBox ID="txtEditValue" runat="server"></asp:TextBox>
                            </div>
                        </div>
                        <div class="outerBox col-md-5 pTop15">
                            <div class="searchBoxBtn">
                                <asp:Button ID="btnUpdate" runat="server" OnClick="btnUpdate_Click" Text="&#xf021; Update"
                                    meta:resourcekey="btnUpdateResource1" SkinID="0" CssClass="fas btn btn-update" />

                            </div>
                        </div>
                        <%--  <div class="col-md-6">
                            <div class="alert   alert-info">
                                <i class="material-icons">info</i>
                                <b>| Note : </b>&nbsp;If Configuration true then LateFeeRule not work
                                
                            </div>
                         </div>--%>
                        <%--      
                        <div class="outerBox col-md-5 pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="Label1" runat="server" Font-Names="Verdana" Font-Size="8pt" ForeColor="Red"
                                    Visible="False" meta:resourcekey="Label1Resource1"></asp:Label>
                            </div>
                            <div class="fLeft pRight5">
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtEditValue"
                                    ErrorMessage="Required" Font-Names="Verdana" Font-Size="8pt" Display="Dynamic"
                                    meta:resourcekey="RequiredFieldValidator1Resource1"></asp:RequiredFieldValidator>
                            </div>
                        </div>--%>
                    </asp:Panel>
                    <asp:Panel ID="pnlDropDown" runat="server" Visible="False" meta:resourcekey="pnlDropDownResource1">
                        <div class="outerBoxPreBtn col-md-5 pTop5">
                            <div class="mb-2">
                                <asp:Label ID="lblErrorCode" Visible="false" class="errmsg font-weight-bold text-danger" runat="server"></asp:Label>
                            </div>
                            <div class="controlLabelWidth">
                            </div>
                            <div class="fLeft pRight5">
                                <asp:DropDownList ID="drpValidate" CssClass="form-control" runat="server" meta:resourcekey="drpValidateResource1">
                                    <asp:ListItem Value="1" meta:resourcekey="ListItemResource1">True</asp:ListItem>
                                    <asp:ListItem Value="0" meta:resourcekey="ListItemResource2">False</asp:ListItem>
                                </asp:DropDownList>
                            </div>
                        </div>
                        <div class="outerBox col-md-12 pTop15">
                            <div class="searchBoxBtn">
                                <asp:Button ID="btnChoose" runat="server" OnClick="btnChoose_Click" SkinID="0"
                                    Text="&#xf021; Update" CssClass="fas btn btn-update" />
                            </div>
                        </div>

                    </asp:Panel>
                    <asp:Panel ID="pnlCustomDropDown" runat="server" Visible="False" meta:resourcekey="pnlCustomDropDownResource1">
                        <div class="outerBoxPreBtn col-md-5 pTop5">
                            <div class="controlLabelWidth">
                            </div>
                            <div class="fLeft pRight5">
                                <asp:DropDownList ID="drpCustomValidate" runat="server" CssClass="form-control" meta:resourcekey="drpCustomValidateResource1">
                                </asp:DropDownList>
                            </div>
                        </div>
                        <div class="outerBox col-md-12 pTop15">
                            <div class="searchBoxBtn">
                                <asp:Button ID="btnCustomChoose" runat="server" OnClick="btnCustomChoose_Click" Text="&#xf021; Update"
                                    SkinID="0" CssClass="fas btn btn-update"
                                    meta:resourcekey="btnCustomChooseResource1" />
                            </div>
                        </div>

                    </asp:Panel>
                    <asp:Panel ID="pnlColorPicker" runat="server" Visible="False" meta:resourcekey="pnlColorPickerResource1">
                        <div class="outerBoxPreBtn col-md-5 pTop5">
                            <div class="controlLabelWidth">
                            </div>
                            <div class="fLeft pRight5">
                                <cc1:ColorPicker ID="cp" runat="server" meta:resourcekey="cpResource1"></cc1:ColorPicker>
                            </div>
                        </div>
                        <div class="outerBox col-md-12 pTop15">
                            <div class="searchBoxBtn">
                                <asp:Button ID="btnUpdateColor" OnClick="btnUpdateColor_Click" runat="server" Text="&#xf021; Update"
                                    SkinID="0" CssClass="fas btn btn-update" meta:resourcekey="btnUpdateColorResource1" />
                            </div>
                        </div>

                    </asp:Panel>
                    <asp:Panel ID="pnlPrinter" runat="server" Visible="False" meta:resourcekey="pnlPrinterResource1">
                        <div class="outerBoxPreBtn col-md-5 pTop5">
                            <div class="controlLabelWidth">
                            </div>
                            <div class="fLeft">
                                <asp:ListBox ID="printerList" runat="server" meta:resourcekey="printerListResource1"></asp:ListBox>
                            </div>
                        </div>
                        <div class="outerBox col-md-12 pTop15">
                            <div class="searchBoxBtn pLeft10">
                                <asp:Button ID="btnUpdatePrinter" OnClick="btnUpdatePrinter_Click" Text="&#xf021; Update"
                                    SkinID="0" CssClass="fas btn btn-update" runat="server" meta:resourcekey="btnUpdatePrinterResource1" />
                            </div>
                        </div>

                    </asp:Panel>

                    <asp:UpdatePanel ID="updtDrives" runat="server">
                        <ContentTemplate>
                            <asp:Panel ID="pnlTree" runat="server" Visible="False" meta:resourcekey="pnlTreeResource1">
                                <div class="outerBoxRemark col-md-5 pTop5">
                                    <%--<div class="himsBoxContent leftTableContainer">
                                        <div class="leftUlMenu">--%>
                                    <div class="fLeft pRight5">
                                        <div style="height: 200px; overflow: auto">
                                            <asp:Label ID="lblPath" runat="server" Width="100%" meta:resourcekey="lblPathResource1"></asp:Label><br />
                                            <asp:TreeView ID="DirectoryList" runat="server" OnSelectedNodeChanged="DirectoryList_SelectedNodeChanged"
                                                OnTreeNodeCheckChanged="DirectoryList_SelectedNodeChanged" Width="100%" NodeIndent="0"
                                                AutoGenerateDataBindings="False" CollapseImageToolTip="" ExpandImageToolTip="">
                                                <ParentNodeStyle VerticalPadding="0px" />
                                                <SelectedNodeStyle Font-Bold="True" ForeColor="Red" />
                                                <RootNodeStyle NodeSpacing="0px" VerticalPadding="0px" />
                                                <NodeStyle Width="100%" Height="10px" />
                                                <LeafNodeStyle ImageUrl="~/Images/folderClosed.gif" />
                                            </asp:TreeView>
                                        </div>
                                    </div>
                                    <%--</div>
                                    </div>--%>
                                </div>
                                <div class="outerBox col-md-12 pTop15">
                                    <div class="searchBoxBtn alignCenter">
                                        <asp:Button ID="btnUpdateDirectory" runat="server" OnClick="btnUpdateDirectory_Click"
                                            Text="&#xf021; Update" SkinID="0" CssClass="fas btn btn-update" meta:resourcekey="btnUpdateDirectoryResource1" />
                                    </div>
                                </div>

                            </asp:Panel>
                        </ContentTemplate>
                    </asp:UpdatePanel>

                    <div class="col-md-6" id="NoteDiv" runat="server" visible="false">
                        <div class="alert   alert-info">
                            <i class="material-icons">info</i>
                            <b>| Note : </b>&nbsp;If Configuration true then LateFeeRule not work
                                
                        </div>
                    </div>
                </div>
            </div>
        </asp:Panel>
    </div>
    <%--  <script data-main="../../../JavaScript/rjs/encrypt/popup-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/popup")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
    <script type="text/javascript">
        function SendValueToParent() {
            window.opener.GetValueFromChild();
            self.close();
        }
        function ClosePage() {
            window.opener.GetValueFromChild();
            window.close();
            return false;
        }
        function fnCloseForm() {
            window.close();
            return false;
        }
    </script>
</asp:Content>
