<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="SYS_USER_RESPONSIBILITY.aspx.cs"
    Inherits="HRMS.SYS_USER_RESPONSIBILITY" Title="Cloud HR - User Responsibility::." %>

<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" style="padding-bottom:30px">
                           <span class="label label-primary">User Responsibility</span>

                        </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="row">
                            <label for="inputPassword1" class="col-xs-4 col-md-2 col-lg-2 col-sm-2 control-label">User</label>
                            <div class="col-xs-6 col-md-4 col-sm-4 col-lg-4">
                                <asp:TextBox ID="txt_Username" runat="server" Enabled="false" CssClass="form-control"></asp:TextBox>
                                <asp:HiddenField ID="hid_userid" runat="server" />
                            </div>

                             <label for="inputPassword1" class="col-xs-4 col-md-4 col-lg-2 col-sm-2 control-label">Responsibility</label>
                            <div class="col-xs-6 col-md-3 col-sm-4 col-lg-4">
                                <asp:DropDownList ID="ddl_resp" runat="server" CssClass="form-control select2"></asp:DropDownList>
                                <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_ddl_resp" ControlToValidate="ddl_resp" ErrorMessage="Responsibility is required. " ValidationGroup="save" SetFocusOnError="true"></asp:RequiredFieldValidator>

                            </div>
                        </div>

                       


                        <div class="row">
                            <label for="inputPassword1" class="col-xs-4 col-md-2 col-lg-2 col-sm-2 control-label">Date From</label>
                            <div class="col-xs-6 col-md-4 col-sm-4 col-lg-4">
                                <asp:TextBox ID="txt_DATE_FROM" runat="server" placeholder="" CssClass="form-control datetime"></asp:TextBox>
                                <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_txt_DATE_FROM" ControlToValidate="txt_DATE_FROM" ErrorMessage=" is required." SetFocusOnError="true" ValidationGroup="save"></asp:RequiredFieldValidator>
                            </div>

                            <label for="inputPassword1" class="col-xs-4 col-md-3 col-lg-2 col-sm-2 control-label">Date To</label>
                            <div class="col-xs-6 col-md-3 col-sm-4 col-lg-4">
                                <asp:TextBox ID="txt_DATE_TO" runat="server" placeholder="" CssClass="form-control datetime"></asp:TextBox>
                            </div>
                        </div>

                       <br />
                        <div class="row">
                            <div class="col-md-offset-2 col-sm-offset-2 col-xs-offset-4 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>
