<%@ page language="C#" autoeventwireup="true" masterpagefile="~/MasterFile/TimeCheck.master" inherits="Masters_TA_UI_Master_TerminalAdd, App_Web_oqeancrh" %>

<asp:Content ContentPlaceHolderID="BodyContentPH" ID="conTerminal" runat="server">
    <div>
        <div class="content-header">
            <h1 style="background-image: url('../dist/img/Terminal.png'); background-repeat: no-repeat; padding-left: 35px">
                <asp:Label ID="lbl_TerminalMaster" runat="server"></asp:Label>
            </h1>
            <asp:SiteMapPath ID="site" runat="server" CssClass="breadcrumb">
                <NodeStyle CssClass="active" />
            </asp:SiteMapPath>
        </div>
        <div class="content">
            <div class="inr-ftr">
                <div class="row">
                    <div class="col-sm-12">
                        <div class="pull-right">
                            <h6>
                                <span><span style="color: Red">|</span><span style="padding-left: 10px; padding-right: 10px"><asp:Label
                                    ID="lbl_IndicatesMandatoryFields" runat="server"></asp:Label>
                                    (3 No.)</span>
                            </h6>
                        </div>
                    </div>
                    <div class="clearfix">
                    </div>
                </div>
            </div>
            <div class="emp-filter">
                <div class="form-horizontal">
                    <div class="row">
                        <div class="col-md-12">
                            <div class="row form-group">
                                <div class="col-md-2">
                                    <asp:Label ID="lbl_TerminalId" runat="server"></asp:Label>
                                </div>
                                <div class="col-md-3">
                                    <asp:TextBox onpaste="return true" ID="txt_TerId" runat="server" CssClass="form-control man-dat"
                                        MaxLength="20" onkeyup="return chkMaxLen(event,this,20,MaxLength);"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txt_TerId"
                                        ErrorMessage="Enter Terminal Id" SetFocusOnError="true" Display="None">*</asp:RequiredFieldValidator>
                                </div>
                                <div class="col-md-1">
                                </div>
                                <div class="col-md-2">
                                    <asp:Label ID="lbl_TerminalName" runat="server"></asp:Label>
                                </div>
                                <div class="col-md-3">
                                    <asp:TextBox onpaste="return true" ID="txt_TerminalName" runat="server" CssClass="form-control man-dat"
                                        MaxLength="50" onkeyup="return chkMaxLen(event,this,50,MaxLength);"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txt_TerminalName"
                                        ErrorMessage="Enter Terminal Name" SetFocusOnError="true" Display="None">*</asp:RequiredFieldValidator>
                                </div>
                            </div>
                            <div class="row form-group">
                                <div class="col-md-2">
                                    <asp:Label ID="lbl_TerminalDescription" runat="server"></asp:Label>
                                </div>
                                <div class="col-md-3">
                                    <asp:TextBox onpaste="return true" ID="txt_TerminalDescription" runat="server" CssClass="form-control"
                                        MaxLength="250" onkeyup="return chkMaxLen(event,this,250,MaxLength);" TextMode="multiLine" Style="resize: none"></asp:TextBox>
                                </div>
                                <div class="col-md-1">
                                </div>
                                <div class="col-md-2">
                                    <asp:Label ID="lbl_RawDataFormat" runat="server"></asp:Label>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="ddl_DataFormat"
                                        ErrorMessage="Select Raw Data Format" InitialValue="-Select-" SetFocusOnError="True"
                                        Display="none">*</asp:RequiredFieldValidator>
                                </div>
                                <div class="col-md-3">
                                    <asp:DropDownList ID="ddl_DataFormat" CssClass="form-control select2 Man-dat" runat="server">
                                    </asp:DropDownList>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-md-6">
                                </div>
                                <div class="col-md-5">
                                    <div class="pull-right-button">
                                        <asp:ValidationSummary ID="ValidationSummary1" EnableClientScript="true" ShowMessageBox="true"
                                            ShowSummary="false" runat="server" />
                                        <asp:LinkButton ID="btn_save" CssClass="btn save-btn fa-floppy-o" runat="server"
                                            OnClick="btn_save_Click" />
                                        <asp:LinkButton ID="btn_cancel" CssClass="btn save-btn fa-angle-left" runat="server"
                                            OnClick="btn_cancel_Click" CausesValidation="False" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script type="text/javascript" language="javascript">
        var MaxLength = "Maximum length is ";
        function MaxLengthh(maxLength) {
            MaxLength = maxLength;
        }
    </script>

</asp:Content>
