<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="WF_SETUP_DTL.aspx.cs" Inherits="HRMS.Work_Flow.WF_" %>
<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" style="padding-bottom:30px">
                           <span class="label label-primary">Work Flow Setup</span>
                        
                            <div class ="pull-right">
                            <asp:Button  CssClass="btn btn-info" ID ="Btnsave" Text ="Save" runat="server" ValidationGroup="save" />
                           <asp:Button  CssClass="btn btn-info" ID ="btn_cancel" Text ="Back" runat="server" OnClick="btn_cancel_Click" />
                       </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="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_line_id" runat="server"></asp:HiddenField>
</div>

                    <div class ="row"style="padding-top:10px">
                          <label class="control-label col-md-3">Sequence</label>
                          <div class="col-md-2">
                              <asp:TextBox CssClass="form-control" runat ="server" placeholder="Sequence" ID ="txtsequence" ></asp:TextBox>
                              <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_txtsequence" controltovalidate="txtsequence" errormessage="Sequence is Required!" />
                          </div>

                          <label class="control-label col-md-2">User</label>
                          <div class="col-md-2">
                              <asp:DropDownList CssClass="form-control select2" runat ="server" ID ="ddluser" ></asp:DropDownList>
                          </div>
                            
                        <div>
                        <asp:DropDownList CssClass="form-control" runat ="server" ID ="ddlactivity_type" Visible ="false"></asp:DropDownList>
                        </div>
                        </div>

                    <div class ="row"style="padding-top:10px">
                            <label class="control-label col-md-3">Procedure Name</label>
                        <div class="col-md-3">
                        <asp:TextBox CssClass="form-control" runat ="server" ID ="txtprocedure_name"></asp:TextBox>
                        </div>

                         <label class="control-label col-md-1">URL</label>
                          <div class="col-md-3">
                              <asp:TextBox CssClass="form-control" runat ="server" placeholder="URL" ID ="txturl" ></asp:TextBox>
                          <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="Req_txturl" controltovalidate="txturl" errormessage="URL is Required!" />
                          </div>

                        </div>
                    <div class ="row"style="padding-top:10px">
                            <label class="control-label col-md-3">Attachments</label>
                        <div class="col-md-3">
                        <asp:TextBox CssClass="form-control" runat ="server" ID ="txtattachements" placeholder="Attachment" ></asp:TextBox>
                        </div>

                          <label class="control-label col-md-1">Active</label>
                          <div class="col-md-2">
                              <asp:DropDownList CssClass="form-control" runat ="server" ID ="ddlactive" >
                                  <asp:ListItem Value="--">---- Select ----</asp:ListItem>
                                  <asp:ListItem Value="Y">Yes</asp:ListItem>
                                  <asp:ListItem Value="N">No</asp:ListItem>
                              </asp:DropDownList>
                          </div>
                        </div>

                    <div class ="row"style="padding-top:10px">
                            <label class="control-label col-md-3">Process Type</label>
                        <div class="col-md-3">
                        <asp:DropDownList CssClass="form-control" runat ="server" ID ="ddlprocess_type" >
                            <asp:ListItem>---- Select ----</asp:ListItem>
                            <asp:ListItem Value="U">User</asp:ListItem>
                            <asp:ListItem Value="M">Manager</asp:ListItem>
                            <asp:ListItem Value="H">HOD</asp:ListItem>
                            </asp:DropDownList>
                                                   
                        </div>

                        <label class="control-label col-md-1">Department</label>
                          <div class="col-md-3">
                              <asp:DropDownList CssClass="form-control select2" runat ="server" ID ="ddldepartment" >
                              </asp:DropDownList>
                          </div>



                        </div>
                    <div class ="row"style="padding-top:10px">
                              
                          
                        <//div>
                          </div>
                    </section>
                </div>
            </div>
        </div>
                   

    </div>
                   <script src="../../ThemeScrips/jquery.min.js"></script>
    <link href="../../ThemeScrips/select2.min.css"
        rel="stylesheet" />
    <script src="../../ThemeScrips/select2.min.js"></script>
    <script>
        $('.select2').select2();
    </script>

</asp:Content>
