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

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

    <asp:Panel ID="Pnl_Filter" 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.SM400016%>                                                                                                                                 
                            </h3>
                        </div>
                        <div class="body">
                            <div class="row">
                                <div class="col-sm-8 col-xs-12">
                                    <div class="row">
                                        <div class="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="Literal3" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000616%>" />
                                                        </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"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-4 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal4" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000365%>" />
                                                        </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"></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" EnableViewState="false" Text="<%$ Resources:Content,GN0000617%>" />
                                                        </div>

                                                        <div class="col-sm-8 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_Signature" Height="100px" TextMode="MultiLine" Rows="10" CssClass="col-xs-12"
                                                                        runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="row">
                                        <div class="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 ID="CB_1" Text='<%$ Resources:Content,GN0000624 %>' runat="server" />
                                                        </div>
                                                        <div class="col-xs-12">
                                                            <asp:CheckBox ID="CB_2" Text='<%$ Resources:Content,GN0000625 %>' runat="server" />
                                                        </div>
                                                        <div class="col-xs-12">
                                                            <asp:CheckBox ID="CB_3" Text='<%$ Resources:Content,GN0000626 %>' runat="server" />
                                                        </div>
                                                        <div class="col-xs-12">
                                                            <asp:CheckBox ID="CB_4" Text='<%$ Resources:Content,GN0000627 %>' runat="server" />
                                                        </div>
                                                        <div class="col-xs-12">
                                                            <asp:CheckBox ID="CB_5" Text='<%$ Resources:Content,GN0000628 %>' runat="server" />
                                                        </div>
                                                        <div class="col-xs-12">
                                                            <asp:CheckBox ID="CB_6" Text='<%$ Resources:Content,GN0000383 %>' runat="server" />
                                                        </div>
                                                        <div class="col-xs-12">
                                                            <asp:CheckBox ID="CB_7" Text='<%$ Resources:Content,GN0000629 %>' runat="server" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-xs-12">
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <div class="card">
                                                <div class="header">
                                                    <h3>
                                                        <%= Resources.Content.GN0000618%>                                                                                                                                 
                                                    </h3>
                                                </div>
                                                <div class="body">
                                                    
                                                    
                                                    <asp:SqlDataSource ID="DS_DepartmentList" runat="server"></asp:SqlDataSource>
                                                    <asp:GridView CssClass="table table-bordered tablde-stripped table-hover" ID="GV_DepartmentList" DataSourceID="DS_DepartmentList"
                                                        runat="server" AutoGenerateColumns="false">
                                                        <AlternatingRowStyle CssClass="altRow" />
                                                        <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 %>' 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>
                                </div>
                            </div>
                            <div>
                                <asp:Button ID="Btn_add" class="btn btn-primary waves-effect btnAction" runat="server" Text='<%$ Resources:Content,GN0000281 %>' CssClass="btn btn-primary btnAction" />
                                <asp:Button ID="Btn_Back" SkinID="backButton" CausesValidation="false" runat="server"
                                    Text='<%$ Resources:Content,GN0000572 %>' CssClass="btn btn-primary" />
                                <%-- Validation Logic START--%>
                                <asp:ValidationSummary ShowMessageBox="true" ShowSummary="false" ID="ValidationSummary1"
                                    HeaderText="<%$ Resources:Content,EM000001%>" runat="server" />
                                <asp:RequiredFieldValidator Display="None" ID="RequiredFieldValidator1" ControlToValidate="TxBx_Title"
                                    runat="server" ErrorMessage=''></asp:RequiredFieldValidator>
                                <asp:RequiredFieldValidator Display="None" ID="RequiredFieldValidator2" ControlToValidate="TxBx_Signature"
                                    runat="server" ErrorMessage=''></asp:RequiredFieldValidator>
                            </div>
                        </div>
                    </div>
                    <br />
                </div>
            </div>
        </div>
    </asp:Panel>
</asp:Content>
