<%@ page language="VB" masterpagefile="~/Template/Master.master" autoeventwireup="false" inherits="HelpDesk_AddAdminUser, MachSol.MachPanel.Web" %>


<asp:Content ID="Content7" ContentPlaceHolderID="CPH_Content" runat="Server">


    <asp:Panel ID="Pnl_add" runat="server" DefaultButton="Btn_add">
        <div class="col-xs-12">
            <div class="card">

                <div class="body">
                    <div class="card">
                        <div class="header">
                            <h3>
                                <%= Resources.Content.SM400015%>                                                                                                                                
                            </h3>
                        </div>
                        <div class="body">

                            <div class="row">
                                <div class="col-sm-8 col-xs-12">

                                    <div class="card">
                                        <%--<div class="header">
                                            <h3>
                                                <%= Resources.Content.GN0000578%>                                                                                                                                
                                            </h3>
                                        </div>--%>
                                        <div class="body">

                                            <div class="row">
                                                <div class="col-sm-4 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,GN00001322%>" EnableViewState="false" />
                                                </div>

                                                <div class="col-sm-8 col-xs-12">
                                                    <div class="form-group">
                                                            <asp:DropDownList Width="30%" AutoPostBack="true" ID="DDL_Employee" runat="server">
                                                            </asp:DropDownList>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-4 col-xs-12 row-label">
                                                    *
                                <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:Content,GN0000616%>" EnableViewState="false" />
                                                </div>

                                                <div class="col-sm-8 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_Title" Width="90%" runat="server" MaxLength="50"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-4 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Content,GN0000365%>" EnableViewState="false" />
                                                </div>

                                                <div class="col-sm-8 col-xs-12">
                                                    <div class="form-group">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_Email" ReadOnly="true" Width="90%" runat="server" MaxLength="64"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-4 col-xs-12 row-label">
                                                    *
                                <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,GN0000617%>" EnableViewState="false" />
                                                </div>

                                                <div class="col-sm-8 col-xs-12">
                                                    <div class="form-group">
                                                        <asp:TextBox ID="TxBx_Signature" TextMode="MultiLine" Height="100px" runat="server"
                                                            Rows="10" class="col-xs-12" MaxLength="1000"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="card">
                                        <div class="header">
                                            <h3>
                                                <%= Resources.Content.GN0000622%>                                                                                                                                
                                            </h3>
                                        </div>
                                        <div class="body">
                                            <div class="row">

                                                <div class="col-xs-12">
                                                    <asp:CheckBox Checked="true" ID="CB_1" Text='<%$ Resources:Content,GN0000624 %>' runat="server" />
                                                </div>
                                                <div class="col-xs-12">
                                                    <asp:CheckBox Checked="true" ID="CB_2" Text='<%$ Resources:Content,GN0000625 %>' runat="server" />
                                                </div>
                                                <div class="col-xs-12">
                                                    <asp:CheckBox Checked="true" ID="CB_3" Text='<%$ Resources:Content,GN0000626 %>' runat="server" />
                                                </div>
                                                <div class="col-xs-12">
                                                    <asp:CheckBox Checked="true" ID="CB_4" Text='<%$ Resources:Content,GN0000627 %>' runat="server" />
                                                </div>
                                                <div class="col-xs-12">
                                                    <asp:CheckBox Checked="true" ID="CB_5" Text='<%$ Resources:Content,GN0000628 %>' runat="server" />
                                                </div>
                                                <div class="col-xs-12">
                                                    <asp:CheckBox Checked="true" ID="CB_6" Text='<%$ Resources:Content,GN0000383 %>' runat="server" />
                                                </div>
                                                <div class="col-xs-12">
                                                    <asp:CheckBox Checked="true" ID="CB_7" Text='<%$ Resources:Content,GN0000629 %>' runat="server" />
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-xs-12">
                                    <div class="card">
                                        <div class="header">
                                            <h3>
                                                <%= Resources.Content.GN0000618%>                                                                                                                                
                                            </h3>
                                        </div>
                                        <div class="body">

                                            <div class="row">
                                                <div class="col-xs-12">
                                                    <asp:SqlDataSource ID="DS_DepartmentList" runat="server"></asp:SqlDataSource>
                                                    <asp:GridView CssClass="table table-bordered table-striped table-hover table-responsive" ID="GV_DepartmentList" DataSourceID="DS_DepartmentList"
                                                        runat="server" AutoGenerateColumns="false">
                                                        <Columns>
                                                            <asp:TemplateField HeaderStyle-CssClass="col-xs-9" ItemStyle-CssClass="col-xs-9" HeaderText='<%$ Resources:Content,GN0000507 %>'>
                                                                <ItemTemplate>
                                                                    <%#DataBinder.Eval(Container, "DataItem.DepatmentName")%>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3" HeaderText='<%$ Resources:Content,GN0000619 %>'>
                                                                <ItemTemplate>
                                                                    <input id="HTxBx_Id" runat="server" type="hidden" value='<%# DataBinder.Eval(Container, "DataItem.TicketDepartmentId") %>' />
                                                                    <asp:RadioButtonList ID="RBL_Access" CssClass="table" RepeatDirection="Horizontal" TextAlign="Right"
                                                                        runat="server">
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN0000620 %>' Selected="True" Value="1"></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN0000621 %>' Value="0"></asp:ListItem>
                                                                    </asp:RadioButtonList>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                    <br />

                                    <div>

                                        <asp:Button ID="Btn_add" runat="server" SkinID="saveButton" Text='<%$ Resources:Content,GN0000281 %>'
                                            ValidationGroup="save" class="btn btn-primary btnAction" />
                                        <asp:Button ID="Btn_Back" CausesValidation="false" SkinID="cancelButton" runat="server" Text='<%$ Resources:Content,GN0000572 %>' class="btn btn-primary" />
                                        <%-- Validation Logic START--%>
                                        <asp:ValidationSummary ShowMessageBox="true" ShowSummary="false" ID="VS" HeaderText='<%$ Resources:Content,EM000001 %>'
                                            runat="server" ValidationGroup="save" />
                                        <asp:RequiredFieldValidator Display="None" ID="RFV_title" ControlToValidate="TxBx_Title"
                                            runat="server" ErrorMessage='' ValidationGroup="save" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                        <asp:RequiredFieldValidator Display="None" ID="RFV_Email" ControlToValidate="TxBx_Signature"
                                            runat="server" ErrorMessage='' ValidationGroup="save" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <br />
            </div>
        </div>

    </asp:Panel>
</asp:Content>
