<%@ Page Title="" Language="C#" MasterPageFile="~/masterpages/eDashboard.master"
    AutoEventWireup="true" CodeBehind="ProgramDetail.aspx.cs" Inherits="WebSite.site.Administrative.OnlineClaimsConfig.ProgramDetail" %>

<%@ Register Src="~/Controls/ScriptingHelper.ascx" TagName="ScriptingHelper" TagPrefix="uc" %>
<%@ Register Src="~/Controls/DefaultHeader.ascx" TagName="DefaultHeader" TagPrefix="uc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="eContent" runat="server">
    <script src="../../../script/eSetFormControls.js" type="text/javascript"></script>
    <uc:ScriptingHelper ID="ScriptingHelper1" runat="server" />
    <div class="mastersearch">
        <table cellspacing="0" cellpadding="0" width="100%">
            <tr>
                <td align="left">
                    <h1>
                        <asp:Label ID="lblOnlineClaimsConfiguration" Font-Bold="false" runat="server" Text="Program Details:"></asp:Label>
                        <asp:Label ID="lblProgramName" runat="server" Font-Bold="false"></asp:Label>
                    </h1>  
                </td>
            </tr>
        </table>
    </div>
    <div>
        <table cellspacing="0" cellpadding="0" width="100%">
            <tr>
                <td align="right">
                    <asp:Button ID="btnAddNew" runat="server" CssClass="pagebutton" Height="27px" OnClick="btnAddNewProgram_Click"
                        Text="Add New Program" Width="163px" />
                </td>
            </tr>
        </table>
    </div>
    <asp:Panel ID="pnlProgramdetails" runat="server">
        <div class="greyblock">
            <table width="100%">
                <tr>
                    <td align="center">
                        <table style="width: 100%">
                            <tr>
                                <td align="left">
                                    <asp:Label ID="lblProgramDetails" runat="server" Font-Size="Medium"></asp:Label>
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                        <table style="width: 98%">
                            <tr>
                                <td style="width: 160px" align="right">
                                    <asp:Label ID="literalName" runat="server" Text="Program Name:" Font-Bold="True"></asp:Label>
                                </td>
                                <td style="width: 7px">
                                    &nbsp;
                                </td>
                                <td>
                                    <asp:Label ID="lblName" runat="server" Style="text-align: left"></asp:Label>
                                </td>
                                <td align="right">
                                    <asp:Label ID="literalGlobal" runat="server" Text="Global:" Font-Bold="True"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:CheckBox ID="chkGlobal" runat="server" Enabled="false"/>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 160px" align="right">
                                    <asp:Label ID="literalDesc" runat="server" Text="Description:" Font-Bold="True"></asp:Label>
                                </td>
                                <td style="width: 7px">
                                    &nbsp;
                                </td>
                                <td>
                                    <asp:Label ID="lblDescription" runat="server" Style="text-align: left"></asp:Label>
                                </td>
                                <td align="right">
                                    <asp:Label ID="literalActive" runat="server" Text="Active:" Font-Bold="True"></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:CheckBox ID="chkActive" runat="server" Enabled="false" />
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 160px">
                                    &nbsp;
                                </td>
                                <td style="width: 7px">
                                    &nbsp;
                                </td>
                                <td style="width: 56px">
                                    &nbsp;
                                </td>
                                <td style="width: 125px">
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </div>
    </asp:Panel>
    <br />
 
    <div class="mastersearch">
        <table cellspacing="0" cellpadding="0" width="100%">
            <tr>
                <td align="left">
                    <h1>
                        <asp:Label ID="lblProgramComponentsTitle" runat="server" Font-Bold="False" Text="Program Components"></asp:Label>
                    </h1>  
                </td>
            </tr>
        </table>
    </div>
    <div>
        <table cellspacing="0" cellpadding="0" width="100%" >
            <tr>
                <td>
                    <table width="100%">
                        <tr>
                            <td  >
                                &nbsp;
                            </td>
                            <td>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td align="right">
                                <asp:Button ID="btnAddComponent" runat="server" Height="27px" OnClick="btnAddComponent_Click"
                                    Text="Add New Component" Width="163px" />
                            </td>
                        </tr>
                        <tr>
                            <td  >
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td align="right">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td colspan="4" align="left">
                <asp:GridView ID="grdProgramComponents" runat="server" Width="100%" AllowPaging="false"
                    DataKeyNames="ComponentId" OnSelectedIndexChanged="grdProgramComponents_SelectedIndexChanged"
                    OnRowDataBound="grdProgramComponents_RowDataBound" AutoGenerateColumns="False">
                    <Columns>
                        <asp:TemplateField ItemStyle-Width="12%" ItemStyle-Height="25px">
                            <HeaderTemplate>
                                <asp:Literal runat="server" ID="m_litComponentTitleColumnHeader" Text="Component Title"></asp:Literal>
                                <br />
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:HyperLink ID="m_hlkFComponentTitle" runat="server"></asp:HyperLink>
                            </ItemTemplate>
                            <ItemStyle Height="25px" Width="12%" />
                        </asp:TemplateField>
                        <asp:TemplateField ItemStyle-Width="12%" ItemStyle-Height="25px">
                            <HeaderTemplate>
                                <asp:Literal runat="server" ID="m_litComponentDisplayOrderColumnHeader" Text="Display Order"></asp:Literal>
                                <br />
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:Label ID="m_lblDisplayOrder" runat="server"></asp:Label>
                            </ItemTemplate>
                            <ItemStyle Height="25px" Width="12%" HorizontalAlign="Center" />
                        </asp:TemplateField>
                        <asp:TemplateField ItemStyle-Width="12%" ItemStyle-Height="25px">
                            <HeaderTemplate>
                                <asp:Literal runat="server" ID="m_litVisibleColumnHeader" Text="Visible"></asp:Literal>
                                <br />
                            </HeaderTemplate>
                            <ItemTemplate>
                                <table width="100%">
                                    <tr>
                                        <td align="center">
                                            <asp:CheckBox ID="m_lblVisible" runat="server" Enabled="false" />
                                        </td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                            <ItemStyle Height="25px" Width="12%" />
                        </asp:TemplateField>
                        <asp:TemplateField ItemStyle-Width="12%" ItemStyle-Height="25px">
                            <HeaderTemplate>
                                <asp:Literal runat="server" ID="m_litActiveColumnHeader" Text="Active"></asp:Literal>
                                <br />
                            </HeaderTemplate>
                            <ItemTemplate>
                                <table width="100%">
                                    <tr>
                                        <td align="center">
                                            <asp:CheckBox ID="m_lblActive" runat="server" Enabled="false" />
                                        </td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                            <ItemStyle Height="25px"  />
                        </asp:TemplateField>
                    </Columns>
                    <RowStyle HorizontalAlign="Left" VerticalAlign="Top" />
                    <EditRowStyle HorizontalAlign="Left" VerticalAlign="Top" />
                </asp:GridView>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="5">
                                &nbsp;</td>
                        </tr>
                    </table>
                    <br />
                    <br />
                </td>
            </tr>
        </table>
    </div>
    <div  class="mastersearch">
        <table cellspacing="0" cellpadding="0" width="100%" style="height: 40px">
            <tr>
                <td align="left">
                    <h1>
                        <asp:Label ID="ProgramFlows" runat="server" Font-Bold="False">Program Flows</asp:Label>
                    </h1>
              
                </td>
            </tr>
        </table>
    </div>
    <div>
    <table cellspacing="0" cellpadding="0" width="100%">
        <tr>
            <td>
                <table width="100%">
                    <tr>
                        <td style="width: 67px">
                            &nbsp;
                        </td>
                         <td>
                        </td>
                          <td>
                            &nbsp;
                        </td>
                       <td>
                            &nbsp;
                        </td>
                        <td align="right">
                            <asp:Button ID="btnAddNewFlow" runat="server" Height="27px" OnClick="btnAddNewFlow_Click"
                                Text="Add New Flow" Width="163px" />
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 67px">
                            &nbsp;</td>
                         <td>
                             &nbsp;</td>
                          <td>
                              &nbsp;</td>
                       <td>
                            &nbsp;</td>
                        <td align="right">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        
                        <td align="left"  colspan="3">
                            <asp:GridView ID="grdProgramFlows" runat="server" Width="100%" AllowPaging="false"
                                AutoGenerateSelectButton="false" DataKeyNames="FlowId" OnSelectedIndexChanged="grdProgramFlows_SelectedIndexChanged"
                                OnRowDataBound="grdProgramFlows_RowDataBound" AutoGenerateColumns="False">
                                <Columns>
                                    <asp:TemplateField ItemStyle-Width="10%" ItemStyle-Height="25px">
                                        <HeaderTemplate>
                                            <asp:Literal runat="server" ID="m_litFlowNameColumnHeader" Text="Flow Name"></asp:Literal>
                                            <br />
                                        </HeaderTemplate>
                                        <ItemTemplate>
                                            <asp:HyperLink ID="m_hlkFlowName" runat="server"></asp:HyperLink>
                                        </ItemTemplate>
                                        <ItemStyle Height="25px" Width="10%" />
                                    </asp:TemplateField>
                                    <asp:TemplateField ItemStyle-Width="12%" ItemStyle-Height="25px">
                                        <HeaderTemplate>
                                            <asp:Literal runat="server" ID="m_litFlowDescriptionColumnHeader" Text="Description"></asp:Literal>
                                            <br />
                                        </HeaderTemplate>
                                        <ItemTemplate>
                                            <asp:Label ID="m_lblDescription" runat="server"></asp:Label>
                                        </ItemTemplate>
                                        <ItemStyle Height="25px" Width="12%" />
                                    </asp:TemplateField>
                                    <asp:TemplateField ItemStyle-Width="12%" ItemStyle-Height="25px">
                                        <HeaderTemplate>
                                            <asp:Literal runat="server" ID="m_litActiveColumnHeader" Text="Active"></asp:Literal>
                                            <br />
                                        </HeaderTemplate>
                                        <ItemTemplate>
                                            <table width="100%">
                                                <tr>
                                                    <td align="center">
                                                        <asp:CheckBox ID="m_lblActive" runat="server" Enabled="false" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </ItemTemplate>
                                        <ItemStyle Height="25px" />
                                    </asp:TemplateField>
                                </Columns>
                                <RowStyle HorizontalAlign="Left" VerticalAlign="Top" />
                                <EditRowStyle HorizontalAlign="Left" VerticalAlign="Top" />
                            </asp:GridView>
                        </td>
                    </tr>
                </table>
                <br />
                <br />
            </td>
        </tr>
    </table></div>
</asp:Content>
