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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/Template/CC/Selectable_Selected_LBX.ascx" TagName="AddSelectableSelected" TagPrefix="EM" %>
<%@ Register Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="System.Web.UI" TagPrefix="cc1" %>

<div class="col-xs-12">
    <div class="card">
        <div class="header">
            <h3>
                <asp:Literal ID="Ltl_AddNewPolicy" runat="server" Text="<%$ Resources:Content,AddNewPolicy %>"></asp:Literal></h3>
        </div>
        <div class="body">
            <div class="row">
                <div class="col-sm-4 col-xs-12 row-label">
                    *
                    <asp:Literal ID="Literal15" runat="server" Text="<%$ Resources:Content,L00189 %>" EnableViewState="false"></asp:Literal>:
                </div>
                <div class="lbl-serial-num" id="Div_Lbl_OrgInternalName" runat="server" visible="false" >
                    <asp:Label ID="Lbl_OrgInternalName" runat="server" />
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <div class="form-line">
                            <asp:TextBox runat="server" ID="TxBx_PolicyName" />
                        </div>
                    </div>

                    <asp:RequiredFieldValidator ID="RFV_TxBx_PolicyName" runat="server" Display="None" SetFocusOnError="true"
                        ValidationGroup="OWAPolicy" ControlToValidate="TxBx_PolicyName"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-4 col-xs-12 row-label">
                    <asp:Literal ID="Literal18" runat="server" Text="<%$ Resources:Content,IsDefault %>" EnableViewState="false"></asp:Literal>:
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <asp:CheckBox runat="server" ID="ChBx_IsDefaultOWAPolicy" Text="&nbsp;" />
                    </div>
                </div>
            </div>
            <div class="row" runat="server" id="Div_DDL_ServerGroup" visible="false">
                <div class="col-sm-4 col-xs-12 row-label">
                    <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,SelectServerGroup %>" EnableViewState="false"></asp:Literal>:
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <asp:DropDownList runat="server" ID="DDL_ServerGroup" />
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-xs-12 row-label">
                    <asp:Literal ID="Ltl_UCOWAPoliciesAssignedTo" runat="server" Text='<%$ Resources:Content,SMI0369%>'></asp:Literal>
                </div>
                <div class="col-xs-12">
                    <EM:AddSelectableSelected ID="UCOWAPoliciesAssignedTo" runat="server" />
                </div>
            </div>

            <div class="row">
                <div class="col-xs-12 row-label">
                    <asp:Literal ID="Literal20" runat="server" Text='<%$ Resources:Content,OWAPolicyFeatureNotice%>'></asp:Literal>
                </div>
            </div>

            <div class="row">
                <div class="col-xs-12">
                    <div class="card">
                        <div class="header">
                            <h3><%= Resources.Content.CommunicationManagement%></h3>
                        </div>
                        <div class="body">
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal12" runat="server" Text="<%$ Resources:Content,InstantMessagingType %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:DropDownList runat="server" ID="DDL_InstantMessagingType">
                                            <asp:ListItem Text="Ocs" Value="Ocs"></asp:ListItem>
                                            <asp:ListItem Text="None" Value="None"></asp:ListItem>
                                        </asp:DropDownList>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal21" runat="server" Text="<%$ Resources:Content,InstantMessaging %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_InstantMessaging" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal22" runat="server" Text="<%$ Resources:Content,TextMessaging %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_TextMessaging" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal23" runat="server" Text="<%$ Resources:Content,ExchangeActiveSync %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_ExchangeActiveSync" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal24" runat="server" Text="<%$ Resources:Content,DGN1110415 %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_Contacts" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal25" runat="server" Text="<%$ Resources:Content,MobileDeviceContactSync %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_MobileDeviceContactSync" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal26" runat="server" Text="<%$ Resources:Content,AllAddressLists %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_AllAddressLists" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-xs-12">
                    <div class="card">
                        <div class="header">
                            <h3><%= Resources.Content.InformationManagement%></h3>
                        </div>
                        <div class="body">
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal27" runat="server" Text="<%$ Resources:Content,Exch997 %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_Journaling" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal28" runat="server" Text="<%$ Resources:Content,GN00001336 %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_Notes" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal29" runat="server" Text="<%$ Resources:Content,InboxRules %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_InboxRules" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal30" runat="server" Text="<%$ Resources:Content,RecoverDeletedItems %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_RecoverDeletedItems" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-xs-12">
                    <div class="card">
                        <div class="header">
                            <h3><%= Resources.Content.GN0001282%></h3>
                        </div>
                        <div class="body">
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal31" runat="server" Text="<%$ Resources:Content,M0087 %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_ChangePassword" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal33" runat="server" Text="<%$ Resources:Content,JunkEmailFiltering %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_JunkEmailFiltering" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-xs-12">
                    <div class="card">
                        <div class="header">
                            <h3><%= Resources.Content.UserExperience %></h3>
                        </div>
                        <div class="body">
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal34" runat="server" Text="<%$ Resources:Content,Themes %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_Themes" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal35" runat="server" Text="<%$ Resources:Content,PremiumClient %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_PremiumClient" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal36" runat="server" Text="<%$ Resources:Content,EmailSignature %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_EmailSignature" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                            <div class="row" id="Div_Weather" runat="server" visible="false">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal37" runat="server" Text="<%$ Resources:Content,Weather %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_Weather" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                            <div class="row" id="Div_Places" runat="server" visible="false">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal38" runat="server" Text="<%$ Resources:Content,Places %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_Places" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                            <div class="row" id="Div_LocalEvents" runat="server" visible="false">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal39" runat="server" Text="<%$ Resources:Content,LocalEvents %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_LocalEvents" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                            <div class="row" id="Div_InterestingCalendars" runat="server" visible="false">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal40" runat="server" Text="<%$ Resources:Content,InterestingCalendars %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_InterestingCalendars" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-xs-12">
                    <div class="card">
                        <div class="header">
                            <h3><%= Resources.Content.TimeManagement%></h3>
                        </div>
                        <div class="body">
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal41" runat="server" Text="<%$ Resources:Content,strCalendar %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_Calendar" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-xs-12">
                    <div class="card">
                        <div class="header">
                            <h3><%= Resources.Content.FileAccess%></h3>
                        </div>
                        <div class="body">
                            <div class="row">
                                <div class="col-xs-12 row-label">
                                    <asp:Literal ID="Literal44" runat="server" Text="<%$ Resources:Content,FileAccessNotice %>" EnableViewState="false"></asp:Literal>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal42" runat="server" Text="<%$ Resources:Content,PublicSharedComputer %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_PublicSharedComputer" Text="<%$ Resources:Content,DirectFileAccess %>" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal43" runat="server" Text="<%$ Resources:Content,PrivateComputerOWAForDevices %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_PrivateComputerOWAForDevices" Text="<%$ Resources:Content,DirectFileAccess %>" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-xs-12">
                    <div class="card">
                        <div class="header">
                            <h3><%= Resources.Content.OfflineAccess%></h3>
                        </div>
                        <div class="body">
                            <div class="row">
                                <div class="col-xs-12 row-label">
                                    <asp:Literal ID="Literal45" runat="server" Text="<%$ Resources:Content,OfflineAccessNotice %>" EnableViewState="false"></asp:Literal>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal46" runat="server" Text="<%$ Resources:Content,EnableOfflineAccess %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:RadioButtonList runat="server" ID="RBL_OfflineAccess">
                                            <asp:ListItem Text="<%$ Resources:Content,Always %>" Value="AllComputers"></asp:ListItem>
                                            <asp:ListItem Text="<%$ Resources:Content,PrivateComputer %>" Value="PrivateComputersOnly"></asp:ListItem>
                                            <asp:ListItem Text="<%$ Resources:Content,Never %>" Value="NoComputers"></asp:ListItem>
                                        </asp:RadioButtonList>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-xs-12">
                    <div class="card">
                        <div class="header">
                            <h3><%= Resources.Content.OtherOWAFeatures %></h3>
                        </div>
                        <div class="body">
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,DGN1110393 %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_RemindersAndNotificationsEnabled" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:Content,DGN1110394 %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_SpellCheckerEnabled" Text="&nbsp;" />
                                    </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,DGN1110395 %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_SearchFoldersEnabled" Text="&nbsp;" />
                                    </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,DGN1110399 %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_UMIntegrationEnabled" Text="&nbsp;" />
                                    </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,PublicFoldersEnabled %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_PublicFoldersEnabled" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal7" runat="server" Text="<%$ Resources:Content,DGN1110390 %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_TasksEnabled" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal8" runat="server" Text="<%$ Resources:Content,UNCAccessOnPrivateComputersEnabled %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_UNCAccessOnPrivateComputersEnabled" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:Content,UNCAccessOnPublicComputersEnabled %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_UNCAccessOnPublicComputersEnabled" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal10" runat="server" Text="<%$ Resources:Content,WSSAccessOnPrivateComputersEnabled %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_WSSAccessOnPrivateComputersEnabled" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal11" runat="server" Text="<%$ Resources:Content,WSSAccessOnPublicComputersEnabled %>" EnableViewState="false"></asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox runat="server" ID="ChBx_WSSAccessOnPublicComputersEnabled" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-xs-12">
                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" HeaderText='<%$ Resources:Content,EM000001 %>'
                        ShowMessageBox="True" ShowSummary="False" ValidationGroup="OWAPolicy" />
                    <asp:Button ID="Btn_SaveOWAPolicies" runat="server" Text="<%$Resources:Content,Save%>" class="btn btn-primary waves-effect btnAction" />
                    <asp:Button ID="Btn_CancelOWAPolicies" CausesValidation="false" runat="server" Text='<%$ Resources:Content,GN0000572 %>'
                        CssClass="btn btn-primary waves-effect" />
                </div>
            </div>
        </div>
    </div>
</div>
