<%@ page title="Screen Functionality Master" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_CustomerSupport_ScreenFunctionalityMaster, App_Web_uc3mgqpz" enableEventValidation="false" viewStateEncryptionMode="Never" %>

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

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <asp:HiddenField ID="IdHiddenField" runat="server" />
                <asp:HiddenField ID="MaxRowHiddenField" runat="server" />
                <asp:HiddenField ID="ModeHiddenField" runat="server" />

                <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>
                <div class="row whiteboxpaddingleft">
                    <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="Panel1" runat="server">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-search"></i>
                                            <asp:Label ID="SearchLabel" runat="server" Text="Search"></asp:Label>
                                        </header>
                                    </div>
                                    <div class="fRight mt-27">
                                        <asp:Button ID="AddNewButton" runat="server" SkinID="0"
                                            CssClass="btn btn-add fas" Text="&#xf067; Add" OnClick="AddNewButton_Click" />
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">
                                    <asp:Panel ID="SearchCriteriaPanel" runat="Server">

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchModuleLabel" Text="Module" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchModuleDropDownList" runat="server" CssClass="form-control" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                    meta:resourcekey="ModuleDropDownListResource1" OnSelectedIndexChanged="SearchModuleDropDownList_SelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchScreenLabel" Text="Screen" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchScreenDropDownList" runat="server" CssClass="form-control" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()"
                                                    meta:resourcekey="ScreenDropDownListResource1">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="cBoth">
                                        </div>
                                        <div class="alignCenter pTop5">
                                            <asp:Button ID="SearchButton" runat="Server" OnClick="SearchButton_Click"
                                                SkinID="0" CssClass="btn-search btn fas" Text="&#xf002; Search" />
                                            <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" CssClass="btn-reset btn fas" SkinID="0" OnClick="ResetButton_Click" />
                                        </div>
                                        <div class="cBoth">
                                        </div>
                                    </asp:Panel>
                                    <div id="Div1" class="himssuHeader7WireBox col-md-12" runat="server">
                                        <div id="NewsDetailDiv" visible="false" runat="server">
                                            <div class="spacer">
                                                <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/spacer.gif" />
                                            </div>
                                            <div class="himsBoxContent">
                                                <asp:UpdatePanel ID="FunctionalityDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                    <ContentTemplate>
                                                        <div id="Div5" runat="server" visible="false">
                                                            <div id="Div4" runat="server" class="table-responsive">
                                                                <asp:GridView ID="ScreenFunctionalityMasterGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" OnRowDataBound="ScreenFunctionalityMasterGridView_RowDataBound"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" DataKeyNames="Id">
                                                                    <Columns>
                                                                        <asp:TemplateField ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="EditLinkButton" runat="server" CommandName="Select"
                                                                                    Text="Select" CausesValidation="false" OnClick="LinkButton_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Module" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Module" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("Module")%>'
                                                                                    Text='<%#Bind("Module")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Screen Title" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ScreenLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("ScreenTitle")%>'
                                                                                    Text='<%#Bind("ScreenTitle")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Screen Functionality" ItemStyle-Width="50%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="OrderNoLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("ScreenFunctionality")%>'
                                                                                    Text='<%#Bind("ScreenFunctionality")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                    </ContentTemplate>
                                                </asp:UpdatePanel>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                    <div class="himssuHeader1WireBox card card-box" id="DetailDiv" runat="server" visible="false">
                        <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="ScreenDetailLabel" runat="server" Text="Screen Functionality Master"></asp:Label>
                                    </header>
                                </div>
                            </div>
                            <div class="fRight mt-27 pagination display-flex">
                                <div id="NumberOfRecordDiv" class="display-flex" runat="server" visible="true">
                                    <asp:LinkButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton" OnClick="FirstRecordImageButton_Click"
                                        runat="server" CommandName="Page" CommandArgument="First"
                                        CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                    <i class="fa fa-fast-backward"></i>
                                    </asp:LinkButton>
                                    <asp:LinkButton AlternateText="Previous page" ToolTip="Previous page" ID="PreviousImageButton"
                                        runat="server" CommandName="Page" CommandArgument="Prev" OnClick="PreviousImageButton_Click"
                                        CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                    <i class="fa fa-play fa-rotate-180"></i>
                                    </asp:LinkButton>
                                    <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                    &nbsp; 
                                    <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                    &nbsp; 
                                    <asp:Label ID="ofLabel" Text="of" runat="server" />
                                    &nbsp;  
                                    <asp:Label ID="TotalRecord" runat="server" />
                                    &nbsp;
                                                <asp:LinkButton AlternateText="Next page" ToolTip="Next page" ID="NextImageButtom" OnClick="NextImageButton_Click"
                                                    runat="server" CssClass="btn btn-default gridviewpagerbuttonpadding" CommandName="Page" CommandArgument="Next">
                                                     <i class="fa fa-play"></i>
                                                </asp:LinkButton>

                                    <asp:LinkButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton" OnClick="LastRecordImageButton_Click"
                                        runat="server" CssClass="btn btn-default gridviewpagerbuttonpadding" CommandName="Page" CommandArgument="Last">
                                                      <i class="fa fa-fast-forward" ></i>
                                    </asp:LinkButton>
                                    &nbsp;  &nbsp; &nbsp;
                                </div>

                                <asp:Button ID="BackButton" runat="Server" SkinID="0" CssClass="btn btn-back fas" Text="&#xf30a;  back" OnClick="BackButton_Click" />

                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">
                                <div class="tableContainer">
                                    <div class="contentHolder">
                                        <asp:HiddenField ID="ScreenFunctionalityId" runat="server"/>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ModuleLabel" runat="server" Text="Module" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="ModuleDropDownList" OnSelectedIndexChanged="ModuleDropDownList_SelectedIndexChanged" runat="server" CssClass="form-control"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                    meta:resourcekey="ModuleDropDownListResource1">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ScreenLabel" runat="server" Text="Screen" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5"> 
                                                <asp:DropDownList ID="ScreenDropDownList" runat="server" CssClass="form-control"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    meta:resourcekey="ScreenDropDownListResource">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="FunctionalityLabel" runat="server" Text="Functionality" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="FunctionalityTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                            </div>
                                        </div>
                                        <br />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
