<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Alias.aspx.cs" Inherits="HRMS.GL.Alias.Alias" %>
<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">
                        Alias
                        <div class="pull-right">
                            <asp:Button CssClass="btn btn-info" ID="btn_save" Text="Save" runat="server" 
                                onclick="btn_save_Click" />
                            <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="row" style="padding-top:5px">
                            <asp:HiddenField ID="hid_app_id" runat="server" />
                                <label class="control-label col-md-3">Alias</label>
                                <div class="col-md-3">
                                    <asp:TextBox CssClass="form-control" ID="txt_alias" runat="server"></asp:TextBox>
                                </div>
                            </div>

                            <div class="row" style="padding-top:5px">
                                <label class="control-label col-md-3">Template</label>
                                <div class="col-md-3">
                                  <div class="input-group">
                                  <asp:TextBox CssClass="form-control" ID="txt_temp" runat="server"></asp:TextBox>
                                                         <span class="input-group-btn">
                                                            <button id="btn_lov_loc" type="button" data-target="#CostVal" data-toggle="modal" runat="server" class="btn btn-white">
                                                            <i class="fa fa-search"></i></button>
                                                          </span>
                                                           
                                                      </div>
                                                     </div>
                            </div>
                          
                            <div class="row" style="padding-top:5px">
                                <label class="control-label col-md-3">Alias Description</label>
                                <div class="col-md-4">
                                    <asp:TextBox CssClass="form-control" ID="txt_desc" runat="server"></asp:TextBox>
                                </div>
                            </div>
                           

                          <div class="modal fade" id="CostVal" role="dialog">
                               <div class="modal-dialog modal-dialog-center" >
                                <div class="modal-content">
                                  <div class="modal-header">
                                    <button type="button" class="close" data-dismiss="modal">&times;</button>
                                    <h4 class="modal-title">Costing Values :</h4>
                                  </div>
                                  <div class="modal-body">
                                        <asp:Repeater ID="rpt_cost" runat="server" OnItemDataBound="rpt_cost_OnItemDataBound">
                                          <ItemTemplate>
                                            <div class="form-group">
                                              <div class="col-lg-1"></div>
                                                <asp:Label ID="r_lbl" runat="server" class="col-lg-3 col-sm-3 control-label" Text='<%# Eval("PROMPT") %>'></asp:Label>
                                                <div class="col-lg-6">
                                                     <asp:DropDownList ID="ddl_r_value" runat="server" CssClass="form-control"></asp:DropDownList>
                                                     <asp:HiddenField ID="hid_field_name" runat="server" Value='<%# Eval("col_name") %>' ></asp:HiddenField>
                                                     <asp:HiddenField ID="hid_vs_name" runat="server" Value='<%# Eval("SEG_VALUE_SET") %>' ></asp:HiddenField>
                                                     <asp:HiddenField ID="hid_value" runat="server" Value='<%# Eval("VALUE") %>' ></asp:HiddenField>

                                                </div>
                                            </div>
                                            
                                           </ItemTemplate>  
                                       </asp:Repeater>
                                        
         
                                  </div>
                                 
                                  <div class="modal-footer">
                                  <asp:Button ID="btn_rpt_load" runat="server" CssClass="btn btn-default" Text="Save & Close" OnClick="btn_rpt_load_Click"></asp:Button>
                                  </div>
                                </div>
                               </div>
                            </div>


                    </div>
                </section>
            </div>
        </div>
    </div>
</asp:Content>
