<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Shift.aspx.cs" Inherits="HRMS.TL.Shift" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

  <div class="main-panel">
        <div class="row">
            <div class="col-md-12">
                <section class="panel">
                    <header class="panel-heading">
                        Shift
                        <div class="pull-right">
                           
                        </div>
                    </header>
                            
                    <div class="panel-body">
                        <div class="span6">
                                <div id="divmessage" runat="server" visible="false" class="alert alert-info alert-dismissable">
                                    <asp:label text="" ID="lbl_msg" CssClass="msg" runat="server"></asp:label>
                                </div>
                            </div>

                            <div class="span6">
                                <div id="diverrmessage" runat="server" visible="false" class="alert alert-info alert-dismissable">
                                    <asp:label text="" id="lbl_err_msg" CssClass="msg" runat="server"></asp:label>
                                    
                                </div>
                            </div>

                            <div class="row">
                                 <asp:GridView ID="GridView1" runat="server" CellPadding="0"  CssClass="display" 
                                        AutoGenerateColumns="False">
                                        <Columns>
                                       
                                        
                                           

                                            <asp:TemplateField HeaderText="Name">
                                                <ItemTemplate>
                                                    <asp:TextBox ID="txt_datefrm" CssClass="form-control col-md-2" runat="server" Text='<%#Bind("DATE_FROM") %>'></asp:TextBox>
                                                </ItemTemplate>
                                            </asp:TemplateField>

                                             <asp:TemplateField HeaderText="Description">
                                                <ItemTemplate>
                                                    <asp:TextBox ID="txt_dateto" CssClass="form-control col-md-2" runat="server" Text='<%#Bind("DATE_TO") %>'></asp:TextBox>
                                                </ItemTemplate>
                                            </asp:TemplateField>

                                            <asp:TemplateField HeaderText="Early Start">
                                                <ItemTemplate>
                                                    <asp:TextBox ID="txt_value" CssClass="form-control col-md-2" runat="server" Text='<%#Bind("VALUE") %>'></asp:TextBox>
                                                </ItemTemplate>
                                            </asp:TemplateField>

                                            <asp:TemplateField HeaderText="Late Stop">
                                                <ItemTemplate>
                                                    <asp:TextBox ID="txt_value" CssClass="form-control col-md-2" runat="server" Text='<%#Bind("VALUE") %>'></asp:TextBox>
                                                </ItemTemplate>
                                            </asp:TemplateField>

                                               <asp:TemplateField HeaderText="Start">
                                                <ItemTemplate>
                                                    <asp:TextBox ID="txt_value" CssClass="form-control col-md-2" runat="server" Text='<%#Bind("VALUE") %>'></asp:TextBox>
                                                </ItemTemplate>
                                            </asp:TemplateField>

                                               <asp:TemplateField HeaderText="Stop">
                                                <ItemTemplate>
                                                    <asp:TextBox ID="txt_value" CssClass="form-control col-md-2" runat="server" Text='<%#Bind("VALUE") %>'></asp:TextBox>
                                                </ItemTemplate>
                                            </asp:TemplateField>

                                               <asp:TemplateField HeaderText="Hours">
                                                <ItemTemplate>
                                                    <asp:TextBox ID="txt_value" CssClass="form-control col-md-2" runat="server" Text='<%#Bind("VALUE") %>'></asp:TextBox>
                                                </ItemTemplate>
                                            </asp:TemplateField>

                                               <asp:TemplateField HeaderText="From">
                                                <ItemTemplate>
                                                    <asp:TextBox ID="txt_value" CssClass="form-control col-md-2" runat="server" Text='<%#Bind("VALUE") %>'></asp:TextBox>
                                                </ItemTemplate>
                                            </asp:TemplateField>

                                               <asp:TemplateField HeaderText="To">
                                                <ItemTemplate>
                                                    <asp:TextBox ID="txt_value" CssClass="form-control col-md-2" runat="server" Text='<%#Bind("VALUE") %>'></asp:TextBox>
                                                </ItemTemplate>
                                            </asp:TemplateField>


                                            

                                        </Columns>
                                        <FooterStyle CssClass="footerStyle" />
                            <HeaderStyle CssClass="headerStyle" />
                            <RowStyle CssClass="rowStyle" />
                                    </asp:GridView>

                                     <script src="/ThemeScrips/Datatables/media/js/jquery.js" type="text/javascript"></script>
                    <script src="/ThemeScrips/Datatables/media/js/jquery.datatables.min.js" type="text/javascript"></script>
                    <script src="/ThemeScrips/Datatables/media/js/jquery.Datatables.js" type="text/javascript"></script>
                    <script src="/ThemeScrips/Datatables/media/js/GridviewFix.js" type="text/javascript"></script>
                    <script type="text/javascript">
                        $("#ContentPlaceHolder1_GridView1").GridviewFix().dataTable();
                    </script>
                            </div>
                    </div>

                </section>
            </div>
        </div>
    </div>

</asp:Content>
