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

<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="UploadOrganizationPhotoUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->

                <div id="Td1" class="dashBoardLeftCont" valign="top" runat="server">
                    <div class="himssuHeader3WireBox">
                        <%--<div class="himsBoxHeader">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <asp:Label runat="server" ID="ScreenGroupNameLabel"></asp:Label>
                                            </div>
                                        </div>
                                    </div>--%>
                        <table width=" 0px" cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="101"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="row whiteboxpaddingleft">
                    <div class="himssuHeader1WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText" id="codeHeader">
                                    <header>
                                        <i class="fas fa-image"></i>
                                        Upload Organization Photo
                                    </header>
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">
                                <%-- <div>
                                                <asp:Label ID="Label2" runat="server" Text="Vertical One side Background Image Size : 201 X 317" SkinID="MandatoryLabel" Font-Size="X-Small"></asp:Label><br />
                                                <asp:Label ID="Label5" runat="server" Text="Horizontal One side Background Image Size : 317 X 201" SkinID="MandatoryLabel" Font-Size="X-Small"></asp:Label><br />
                                                <asp:Label ID="Label1" runat="server" Text="Horizontal Two side Background Image Size : 642 X 201" SkinID="MandatoryLabel" Font-Size="X-Small"></asp:Label><br />
                                            </div>--%>
                                <%--<div class="helppadding">
                                                                                <div class="help help-info">
                                                                                    Press ctrl key for multiple selection
                                                                                </div>
                                                                            </div>--%>

                                <div class="col-md-12 pTop5">
                                    <div class="paddingright15 pLeft10  col-md-3">
                                        <asp:Button ID="LoginBGButton" runat="Server" SkinID="0"
                                            OnClick="LoginBGButton_Click" CssClass="btn btn-assign fas" Text="&#xf302; Login BG" />
                                    </div>
                                    <div class="help-tableformat  col-md-9">

                                        <div class="help alert mt0 alert-info">
                                            <i class="material-icons">info</i> | For better result,please upload image in 710 * 586 resolution
                                        </div>
                                    </div>
                                </div>


                                <div class="col-md-12 pTop5" runat="server" visible="false">
                                    <div class="paddingright15 pLeft10  col-md-3">
                                        <asp:Button ID="MobileAppLogoButton" runat="Server" SkinID="0"
                                            CssClass="btn btn-assign fas" Text="&#xf302; Mobile App Logo" OnClick="MobileAppLogoButton_Click" />
                                    </div>
                                    <div class="help-tableformat  col-md-9">

                                        <div class="help alert mt0 alert-info">
                                            <i class="material-icons">info</i> | For better result,please upload image in 235 * 270 resolution
                                        </div>
                                    </div>
                                </div>
                                <%-- <div class="col-md-12 pTop5">
                                    <div class="paddingright15 pLeft10  col-md-3">
                                        <asp:Button ID="PayrollHeaderButton" runat="Server" SkinID="0"
                                            CssClass="btn btn-assign fas" Text="&#xf302; Payroll Head" OnClick="PayrollHeaderButton_Click" />
                                    </div>
                                    <div class="help-tableformat  col-md-9">

                                        <div class="help alert mt0 alert-info">
                                            <i class="material-icons">info</i> | For better result,please upload image in 940 * 151 px resolution
                                        </div>
                                    </div>
                                </div>--%>

                                <div class="col-md-12 pTop5">
                                    <div class="paddingright15 pLeft10  col-md-3">
                                        <asp:Button ID="AddPhotoButton" Text="&#xf302; Add Logo" runat="Server" OnClick="AddPhotoButton_Click"
                                            SkinID="0" CssClass="btn btn-assign fas" />
                                    </div>
                                    <div class="help-tableformat  col-md-9">

                                        <div class="help alert mt0 alert-info">
                                            <i class="material-icons">info</i> | For better result,please upload image in 160 * 160 pixel resolution
                                        </div>
                                    </div>
                                </div>

                                <div class="col-md-12 pTop5">
                                    <div class="paddingright15 pLeft10  col-md-3">
                                        <asp:Button ID="AddPrincipalSignatureButton" runat="Server" OnClick="AddPrincipalSignatureButton_Click"
                                            SkinID="0" CssClass="btn btn-assign fas" Text="&#xf302; Add Pr. Sign" />
                                    </div>
                                    <div class="help-tableformat  col-md-9">

                                        <div class="help alert mt0 alert-info">
                                            <i class="material-icons">info</i> | For better result,please upload image in 310 * 140 resolution
                                        </div>
                                    </div>
                                </div>



                                <div class="col-md-12 pTop5">
                                    <div class="paddingright15 pLeft10  col-md-3">
                                        <asp:Button ID="OrgHeaderButton" runat="Server"
                                            OnClick="OrgHeaderButton_Click" SkinID="0" CssClass="btn btn-assign fas" Text="&#xf302; Organization Header Image" />
                                    </div>
                                    <div class="help-tableformat  col-md-9">

                                        <div class="help alert mt0 alert-info">
                                            <i class="material-icons">info</i> | For better result,please upload image in 940 * 151 px resolution
                                        </div>
                                    </div>
                                </div>

                                <div class="col-md-12 pTop5">
                                    <div class="paddingright15 pLeft10  col-md-3">
                                        <asp:Button ID="CertificateHeaderButton" runat="Server"
                                            OnClick="CertificateHeaderButton_Click" SkinID="0" CssClass="btn btn-assign fas" Text="&#xf302; Certificate Header Image" />
                                    </div>
                                    <div class="help-tableformat  col-md-9">

                                        <div class="help alert mt0 alert-info">
                                            <i class="material-icons">info</i> | For better result,please upload image in 940 * 151 px resolution
                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-12 pTop5">
                                    <div class="paddingright15 pLeft10  col-md-3">
                                        <asp:Button ID="MarkSheetHeaderButton" runat="Server"
                                            OnClick="MarkSheetHeaderButton_Click" SkinID="0" CssClass="btn btn-assign fas" Text="&#xf302; MarkSheet Header Image" />
                                    </div>
                                    <div class="help-tableformat  col-md-9">

                                        <div class="help alert mt0 alert-info">
                                            <i class="material-icons">info</i> | For better result,please upload image in 940 * 151 px resolution
                                        </div>
                                    </div>
                                </div>

                                <div class="col-md-12 alignCenter pTop15 pb5">
                                    <asp:Label ID="Label2" runat="server" Text="" Style="padding-left: 10px; font-size: medium;"></asp:Label>
                                    <asp:Button ID="AddBackpageButton" Visible="false" runat="Server"
                                        OnClick="AddIcardBackBgButton_Click" SkinID="0" CssClass="btn btn-add fas" Text="&#xf067; Add Icard Back" />
                                    <asp:Button ID="RefreshButton" runat="server" OnClick="RefreshButton_Click"
                                        SkinID="0" CssClass="btn btn-refresh fas" Text="&#xf2f9; Refresh" />
                                    <asp:Button ID="UploadButton" runat="server" OnClick="UploadButton_Click" SkinID="0" CssClass="btn btn-upload fas" Text="&#xf093; Upload" />
                                    <%--<asp:Button ID="UploadToAzureButton" runat="server" OnClick="UploadToAzureButton_Click" SkinID="0" CssClass="btn btn-upload fas" Text="&#xf093; ReUpload" />--%>
                                </div>

                                <div id="UploadOrganizationPhotoGridDiv" runat="server" visible="false">
                                    <div class="himssuHeader6WireBox col-md-12">
                                        <div class="himsBoxHeader" id="OrganizationDiv" visible="false" runat="server">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <%--<div class="">
                                                        <header>
                                                            <i class="fas fa-image"></i>
                                                            <asp:Label ID="GridViewLabel" Text="Organization Photo List" runat="server" Font-Bold="true" />
                                                        </header>
                                                    </div>--%>
                                                </div>
                                                <%--<div align="right" class="fRight" style="margin-top: -3px;">
                                            <uc1:GridViewPager ID="OrganizationSearchGridView_GridViewPager" runat="server" OnFirstRecordClick="OrganizationSearchGridView_GridViewPager_FirstRecordClick"
                                                OnLastRecordClick="OrganizationSearchGridView_GridViewPager_LastRecordClick" OnNextRecordClick="OrganizationSearchGridView_GridViewPager_NextRecordClick"
                                                OnPrevRecordClick="OrganizationSearchGridView_GridViewPager_PrevRecordClick" OnTextBoxValueChange="OrganizationSearchGridView_GridViewPager_TextBoxValueChange"
                                                ParentGridView="OrganizationSearchGridView" />
                                        </div>--%>
                                            </div>
                                        </div>
                                        <div class="himsBoxContent pTop5">
                                            <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                <ContentTemplate>
                                                    <div id="Div5" runat="server">
                                                        <div id="Div4" runat="server" class="table-responsive">
                                                            <asp:GridView ID="UploadOrganizationPhotoGridView" runat="server" AutoGenerateColumns="False"
                                                                SkinID="" ShowHeader="True" PagerSettings-Visible="false" DataKeyNames="FullFileName,FilePath"
                                                                CssClass="table table-striped table-bordered table-hover" EmptyDataText="No records found"
                                                                OnRowDataBound="UploadOrganizationPhotoGridView_RowDataBound">
                                                                <Columns>
                                                                    <asp:BoundField DataField="FileName" HeaderText="File Name" HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="10%" />
                                                                    <asp:BoundField DataField="DisplayFor" HeaderText="Display For" HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="10%" />
                                                                    <asp:TemplateField HeaderText="Fullfile" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" Visible="false" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblFullFileName" runat="server" Text='<%#Eval("FullFileName") %>' />
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Photo" ItemStyle-Width="40%" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Image ID="OrganizationPhoto" runat="server" ImageUrl='<%# Eval("FilePath")%>' Height="140px" Width="70%" />
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Size" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="SizeLabel" runat="server" />
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Delete" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:ImageButton ID="DeleteImageButton" runat="server" OnClick="DeleteImageButton_OnClick"
                                                                                ToolTip="Delete" ImageUrl="~/Images/Del.png" />
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                    </div>
                                                </ContentTemplate>
                                            </asp:UpdatePanel>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
            <div class="spacer">
                <img src="../../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%-- <script data-main="../../../JavaScript/rjs/encrypt/assign-organization-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/assign-organization")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
