<%@ control language="VB" autoeventwireup="false" inherits="PCC_DC_CC_AddEditAdsyncTemplate, MachSol.MachPanel.Web" %>


<%@ Register Assembly="MachSol.MachPanel.Utility" Namespace="MachSol.MachPanel.Utility"
    TagPrefix="EM" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Assembly="System.Web.Extensions" Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Src="~/Template/CC/Selectable_Selected_LBX.ascx" TagName="AddSelectableSelected" TagPrefix="EM" %>

<asp:Panel CssClass="row" runat="server" ID="mainPanel">
    <div class="col-xs-12">
        <ajax:UpdatePanel ID="UP" runat="server">
            <ContentTemplate>

                <div id="tblAdsyncTemplate" class="card">
                    <div class="header">
                        <h3>
                            <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:Content,strADSyncTemplate%>" />
                        </h3>
                    </div>
                    <div class="body">
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,String273%>" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="txtTemplateName" runat="server"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="rfvTemplateName" runat="server" ControlToValidate="txtTemplateName"
                                            Display="None" SetFocusOnError="True" ValidationGroup="Adduser" ErrorMessage="Please provide Template Name">
                                        </asp:RequiredFieldValidator>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Literal40" runat="server" Text="<%$ Resources:Content,GN0000597%>" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="txtDescription" runat="server"></asp:TextBox>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    <asp:Literal ID="Literal41" runat="server" Text="<%$ Resources:Content,strSetAsDefaultTemplate%>" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <asp:CheckBox ID="chkIsDefault" runat="server" Text=" " />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <br />
                <div id="tblADSyncTemplateDetail" class="card">
                    <div class="header">
                        <h3>
                            <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,strSyncAllowed%>" /></h3>
                    </div>
                    <div class="body">
                        <div class="row">
                            <div class="col-xs-12 row-label">
                                <asp:CheckBox ID="chkSelectAll" runat="server" AutoPostBack="True" Text="<%$ Resources:Content,GN0000180%>" />
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkDescription" runat="server" Text="<%$ Resources:Content,GN0000597%>" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkDisplayName" runat="server" Checked="true" Enabled="false" Text="<%$ Resources:Content,GN00001113%>" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkFirstName" runat="server" Checked="true" Enabled="false" Text="<%$ Resources:Content,GN00001132%>" />
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkLastName" runat="server" Checked="true" Enabled="false" Text="<%$ Resources:Content,GN00001133%>" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkEmail" runat="server" Text="<%$ Resources:Content,GN0000652%>" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkInitials" runat="server" Text="<%$ Resources:Content,DGN1110336%>" />
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkMiddleName" runat="server" Text="<%$ Resources:Content,DGN1110529%>" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkUPN" runat="server" Text="<%$ Resources:Content,String336%>" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkDirectManager" runat="server" Text="<%$ Resources:Content,strDirectManager%>" />
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkHomePhone" runat="server" Text="<%$ Resources:Content,DGN1110382%>" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkMobilePhone" runat="server" Text="<%$ Resources:Content,GN0000885%>" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkBusinessPhone" runat="server" Text="<%$ Resources:Content,DGN1110362%>" />
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkPager" runat="server" Text="<%$ Resources:Content,DGN1110383%>" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkHomePage" runat="server" Text="<%$ Resources:Content,strHomePage%>" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkFax" runat="server" Text="<%$ Resources:Content,GN0000886%>" />
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkAddress" runat="server" Text="<%$ Resources:Content,strAddress%>" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkCity" runat="server" Text="<%$ Resources:Content,GN0000880%>" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkCountry" runat="server" Text="<%$ Resources:Content,GN0000882%>" />
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkState" runat="server" Text="<%$ Resources:Content,DEV1130%>" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkZipCode" runat="server" Text="<%$ Resources:Content,String83%>" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkCompany" runat="server" Text="<%$ Resources:Content,GN00001134%>" />
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkJobTitle" runat="server" Text="<%$ Resources:Content,DGN1110358%>" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkDepartment" runat="server" Text="<%$ Resources:Content,GN0000374%>" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkOfficeLocation" runat="server" Text="<%$ Resources:Content,strOfficeLocation%>" />
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkPassword" runat="server" Text="<%$ Resources:Content,GN0000569%>" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkNotes" runat="server" Text="<%$ Resources:Content,GN00001336%>" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkProxyAddresses" runat="server" OnCheckedChanged="chkProxyAddresses_CheckedChanged" AutoPostBack="true" Text="<%$ Resources:Content,strProxyAddresses%>" />
                            </div>
                        </div>
                        <div class="row" id="trproxyaddoptions" runat="server" visible="false">
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkSIP" runat="server" Text="<%$ Resources:Content,OCS012%>" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkEUM" runat="server" Text="<%$ Resources:Content,strEUMAddress%>" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkSMTPAddress" runat="server" Text="<%$ Resources:Content,strSMTPAddress%>" />
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkADUserEnabled" runat="server" Text="<%$ Resources:Content,USM0166%>" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkThumbNail" runat="server" Text="<%$ Resources:Content,ThumNailImage%>" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="chkLogonHours" runat="server" Text="<%$ Resources:Content,strLogonHours%>" />
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-xs-12">
                                <asp:CheckBox ID="chkSetEmailAsUPN" runat="server" Text="<%$ Resources:Content,EmailToUPN%>" />
                            </div>
                        </div>
                    </div>
                </div>
                <br />
                <div class="card">
                    <div class="header">
                        <h3>
                            <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:Content,SelectOrganizations%>" />
                        </h3>
                    </div>
                    <div class="body">
                        <div class="row">
                            <div class="col-xs-12">
                                <EM:AddSelectableSelected ID="UCOrgs" runat="server" />
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-xs-12">
                                <asp:Button ID="Btn_Save" class="btn btn-primary waves-effect btnAction" Text='<%$ Resources:Content,GN0000281%>'
                                    runat="server" CausesValidation="true" ValidationGroup="Adduser" OnClick="Btn_Save_Click" />
                                <asp:Button ID="Btn_Cancel" class="btn btn-primary waves-effect" CausesValidation="false" Text='<%$ Resources:Content,GN0000572%>'
                                    runat="server" />
                            </div>
                        </div>
                    </div>
                </div>
            </ContentTemplate>
        </ajax:UpdatePanel>
    </div>
</asp:Panel>
