<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="DataGroupDtl.aspx.cs"
    Inherits="HRMS.DataGroupDtl" Title="Cloud HR - Data Group Detail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:Panel ID="main_pnl" runat="server">
        <div class="row">
            <div class="col-lg-12">
                <section class="panel">
                    <header class="panel-heading">Data Group Detail</header>
                    <div class="panel-body">
                        <div class="span6">
                            <div id="divMessage" runat="server" visible="false" class="alert alert-info alert-dismissable">
                                <i class="icon-check-sign"></i>
                                <asp:Label ID="lblMessage" class="msg" runat="server" Text=""></asp:Label>
                            </div>
                            <div class="span6">
                                <div id="diverrorMessage" runat="server" visible="false" class="alert alert-danger alert-dismissable">
                                    <i class="icon-check-sign"></i>
                                    <asp:Label ID="lblerrorMessage" class="msg" runat="server" Text=""></asp:Label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-lg-1"></div>
                            <label for="inputPassword1" class="col-lg-2 col-sm-2 control-label"></label>
                            <div class="col-lg-4">
                                <asp:HiddenField ID="hid_DGD_CODE" runat="server"></asp:HiddenField>
                                <asp:HiddenField ID="hid_dg_code" runat="server"></asp:HiddenField>
                            </div>
                        </div>

                        <div class="row">
                            <label for="inputPassword1" class="col-xs-8 col-sm-3 col-md-3 col-lg-3 control-label">Business Group</label>
                            <div class="col-xs-10 col-sm-4 col-md-4 col-lg-4">
                                <asp:DropDownList ID="ddl_BUSINESS_GROUP_ID" runat="server" CssClass="form-control"></asp:DropDownList><asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_ddl_BUSINESS_GROUP_ID" ControlToValidate="ddl_BUSINESS_GROUP_ID" ErrorMessage="Business Group is required. " ValidationGroup="save" SetFocusOnError="true"></asp:RequiredFieldValidator>
                            </div>
                        </div>

                        <div class="row">
                            <label for="inputPassword1" class="col-xs-8 col-sm-3 col-md-3 col-lg-3 control-label">location</label>
                            <div class="col-xs-10 col-sm-4 col-md-4 col-lg-4">
                                <asp:DropDownList ID="ddl_LOCATION_ID" runat="server" CssClass="form-control"></asp:DropDownList><asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_ddl_LOCATION_ID" ControlToValidate="ddl_LOCATION_ID" ErrorMessage="location is required. " ValidationGroup="save" SetFocusOnError="true"></asp:RequiredFieldValidator>
                            </div>
                        </div>

                        <div class="row">
                            <label for="inputPassword1" class="col-xs-8 col-sm-3 col-md-3 col-lg-3 control-label">Date from</label>
                            <div class="col-xs-10 col-sm-4 col-md-4 col-lg-4">
                                <asp:TextBox ID="txt_EFF_START_DATE" runat="server" placeholder="Date from" CssClass="form-control datetime"></asp:TextBox>
                                <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_txt_EFF_START_DATE" ControlToValidate="txt_EFF_START_DATE" ErrorMessage="Date from is required." SetFocusOnError="true" ValidationGroup="save"></asp:RequiredFieldValidator>
                            </div>
                        </div>

                        <div class="row">
                            <label for="inputPassword1" class="col-xs-8 col-sm-3 col-md-3 col-lg-3 control-label">Date to</label>
                            <div class="col-xs-10 col-sm-4 col-md-4 col-lg-4">
                                <asp:TextBox ID="txt_EFF_END_DATE" runat="server" placeholder="Date to" CssClass="form-control datetime"></asp:TextBox>
                            </div>
                        </div>

                        <div class="form-group">
                            <asp:Repeater ID="add_info" runat="server">
                                <HeaderTemplate>
                                    <header class="panel-heading">Additional Information</header>
                                    <br />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <div class="form-group">
                                        <div class="col-lg-1"></div>
                                        <asp:Label ID="r_lbl" runat="server" class="col-lg-2 col-sm-2 control-label" Text='<%# Eval("PROMPT") %>'></asp:Label><div class="col-lg-4">
                                            <asp:TextBox ID="txt_r_value" runat="server" placeholder='<%# Eval("PROMPT") %>' Text='<%# Eval("value") %>' CssClass="form-control"></asp:TextBox><asp:HiddenField ID="hid_field_name" runat="server" Value='<%# Eval("col_name") %>'></asp:HiddenField>
                                        </div>
                                    </div>
                                </ItemTemplate>
                            </asp:Repeater>
                            </asp:Repeater>
                        </div>
                        <div class="form-group">
                            <div class="col-lg-1"></div>
                            <div class="col-lg-offset-2 col-lg-8">
                                <asp:Button ID="btnSave" class="btn btn-info" runat="server" Text="Save" OnClick="btnSave_Click" ValidationGroup="save"></asp:Button>
                                <a href="#" id="aCancel" runat="server" class="btn btn-info">Back</a>
                            </div>
                        </div>

                    </div>
                </section>
            </div>
        </div>
    </asp:Panel>
    <script src="../../ThemeScrips/jquery.min.js"></script>
    <link href="../../ThemeScrips/select2.min.css"
        rel="stylesheet" />
    <script src="../../ThemeScrips/select2.min.js"></script>
    <%--<script src="/ThemeScrips/select2.min.js"></script>--%>
    <script>
        $('.select2').select2();
    </script>
</asp:Content>
