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

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="IncidentLogUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage" class="padding-top-header">
                <div class="alert alert-warning" runat="server" id="MessageBox" visible="false">
                    <strong>
                        <asp:Label ID="MessageBoxLabel" runat="server"></asp:Label></strong>
                </div>
                <div style="width: 100%; padding: 2px; margin: 2px">
                    <table width="100%" border="0" style="vertical-align: top; margin-top: -1px" cellpadding="0" cellspacing="0">
                        <tr>
                            <td style="vertical-align: top;" width="100%" class="whiteboxpaddingleft">
                                <div class="himssuHeader2WireBox whitebox">
                                    <div class="contentHolder" style="padding-left: 0px; padding-right: 0px; padding-top: 0px">
                                        <div class="himssuHeader5WireBox">
                                            <div class="himsBoxHeader note note1 box box-danger">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <div class="headerText">
                                                        <asp:Label ID="Label1" runat="server" Text="Useful Links "></asp:Label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent">
                                                <asp:Panel ID="DetailPanel" runat="Server">
                                                    <div class="contentHolder">
                                                        <div class="cBoth">
                                                        </div>
                                                        <div class="outerBox pTop5">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="SearchNameLabel" runat="server" Text="Name"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:TextBox ID="SearchNameTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="CustomWidthTextBox"
                                                                    Width="150px" onmouseenter="showHideTooltip()" MaxLength="50"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="SearchLinkTagLabel" runat="server" Text="Link Tag"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:TextBox ID="SearchLinkTagTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="CustomWidthTextBox"
                                                                    Width="150px" onmouseenter="showHideTooltip()" MaxLength="100"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                        <div class="cBoth">
                                                        </div>
                                                        <div class="alignCenter pTop5">
                                                            <asp:Button ID="SearchButton" Text="Search" runat="Server" OnClick="SearchButton_Click" SkinID="0" CssClass="btn-primary" />
                                                            <asp:Button ID="ResetButton" runat="server" Text="Clear" OnClick="ResetButton_Click" />
                                                        </div>
                                                        <div class="cBoth">
                                                        </div>
                                                        <div id="Div1" class="himssuHeader7WireBox box-body box-solid gridviewfontbigger" runat="server" visible="true" style="width: 99%; height: 100%">
                                                            <div id="LinkListDetailDiv" visible="false" runat="server">
                                                                <div class="himsBoxContent">
                                                                    <div id="Div5" runat="server" visible="false">
                                                                        <asp:GridView ID="LinkViewerGridView" runat="server" Width="100%" AutoGenerateColumns="False" CssClass="table table-striped table-bordered"
                                                                            EmptyDataText="No Records Found !!" OnPageIndexChanging="LinkViewerGridView_PageIndexChanging"
                                                                            AllowPaging="false" ShowHeader="true">
                                                                            <Columns>
                                                                                <asp:BoundField DataField="Id" HeaderText="Id" Visible="false"></asp:BoundField>
                                                                                <asp:TemplateField ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="true" HeaderText="Name" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:HyperLink ID="PathLinkButton" runat="server" Text='<%# Bind("Name") %>' NavigateUrl='<%# Bind("Path") %>' Target="_blank"
                                                                                            CausesValidation="false"></asp:HyperLink>                                                                                     
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:BoundField DataField="LinkTag" HeaderText="Link Tag" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>                                                                                
                                                                            </Columns>
                                                                            <PagerSettings Visible="False" />
                                                                        </asp:GridView>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="spacer">
                                    <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/spacer.gif" />
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="spacer">
                <img src="../../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script data-main="../../../JavaScript/rjs/encrypt/mlinkviewer-encrypt" src="../../../JavaScript/rjs/require.js"></script>
</asp:Content>