<%@ Page Language="C#" MasterPageFile="~/masterpages/eDashboard.master" AutoEventWireup="true" CodeBehind="ClientConfiguration.aspx.cs" Inherits="WebSite.site.HITS.Organization.ClientConfiguration"
    Culture="auto" UICulture="auto" Theme="eMain" Title="Brightstar Device Protection: Client Configuration Settings" %>

<%@ Register Src="~/Controls/PersistNav.ascx" TagName="PersistNav" TagPrefix="uc" %>
<%@ Register Src="~/Controls/HITSCalendar.ascx" TagName="HITSCalendar" TagPrefix="uc" %>

<asp:Content ID="Content1" ContentPlaceHolderID="eContent" runat="server">

    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td>
                <h1>
                    <asp:Literal ID="m_litOrganizationDetails" runat="server"
                        Text="<%$ Resources: Default, LabelClientConfigurationSettings %>" />
                    <asp:Label ID="lblOrgName" runat="server"></asp:Label>
                </h1>
            </td>
            <td valign="top">
                <uc:PersistNav ID="PersistNav" runat="server" />
            </td>
        </tr>
    </table>
    <asp:HiddenField ID="hdnID" runat="server" />
    <asp:HiddenField ID="hdnCompanyID" runat="server" />
    <div id="divDynamicComponentAndSettings">
        <h2>
            <asp:Literal ID="m_litLoaderInfo" runat="server" Text="<%$ Resources: OrganizationManagement, LoaderInformationLabel %>" />
        </h2>
        <div class="greyblock horizontalScroll">
            <div class="greyblock" id="dvLoader" runat="server">
                <table id="tblLoaderInfo" border="0" cellpadding="0" cellspacing="0" class="737">
                    <tr>
                        <td align="right" nowrap="nowrap">
                            <asp:Literal runat="server" Text="<%$ Resources: OrganizationManagement, LoaderOrgInfIDLabel %>" />
                        </td>
                        <td nowrap="nowrap">
                            <asp:TextBox ID="txtLoaderOrgID" runat="server" />
                            <asp:RangeValidator ID="m_rvLoaderOrgId" runat="server" ControlToValidate="txtLoaderOrgID"
                                ErrorMessage="<%$ Resources: OrganizationManagement, LoaderInfIDErrorLabel %>" Text="<%$ Resources:Default, ValidatorText %>"
                                MaximumValue="1000000" MinimumValue="0" SetFocusOnError="True" ToolTip="<%$ Resources: OrganizationManagement, LoaderInfIDErrorLabel %>"
                                Type="Integer"></asp:RangeValidator>
                        </td>
                        <td align="right" nowrap="nowrap">
                            <asp:Literal runat="server" Text="<%$ Resources: OrganizationManagement, LoaderTypeColonLabel %>" />
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlLoaderType" runat="server">
                                <asp:ListItem Text="<%$ Resources: OrganizationManagement, RegularListItem %>" Value="1403" />
                                <asp:ListItem Text="<%$ Resources: OrganizationManagement, IncrementalListItem %>" Value="1404" />
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Literal runat="server" Text="<%$  Resources: OrganizationManagement, RootFolderColonLabel %>" />
                        </td>
                        <td>
                            <asp:TextBox ID="txtRootFolder" runat="server" />
                        </td>
                        <td align="right" nowrap="nowrap">
                            <asp:Literal runat="server" Text="<%$  Resources: OrganizationManagement, PhoneFlagNewColonLabel %>" />
                        </td>
                        <td>
                            <asp:TextBox ID="txtPhoneFlagforNew" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td align="right" nowrap="nowrap">
                            <asp:Literal runat="server" Text="<%$  Resources: OrganizationManagement, FeatureCodeSourceColonLabel %>" />
                        </td>
                        <td nowrap="nowrap">
                            <asp:DropDownList ID="ddlFeaturecodeSource" runat="server">
                                <asp:ListItem Text="<%$  Resources: Default, eSecuritelListItem %>" Value="0" />
                                <asp:ListItem Text="<%$  Resources: Default, CarrierListItem %>" Value="1" />
                            </asp:DropDownList>
                        </td>
                        <td align="right" nowrap="nowrap">
                            <asp:Literal runat="server" Text="<%$  Resources: OrganizationManagement, PhoneFlagNonNewColonLabel %>" />
                        </td>
                        <td>
                            <asp:TextBox ID="txtPhoneFlagforNonNew" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td align="right" nowrap="nowrap">
                            <asp:Literal runat="server" Text="<%$  Resources: OrganizationManagement, InheritedModelMapOrgLabel %>" />
                        </td>
                        <td nowrap="nowrap">
                            <asp:DropDownList ID="ddlInheritedModelMapOrganization" runat="server" />
                        </td>
                        <td align="right" nowrap="nowrap">
                            <asp:Literal runat="server" Text="<%$ Resources: OrganizationManagement, PhoneFlagOthersColonLabel %>" />
                        </td>
                        <td>
                            <asp:TextBox ID="txtPhoneFlagforOthers" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td align="right" nowrap="nowrap">
                            <asp:Literal runat="server" Text="<%$ Resources: OrganizationManagement, BillingInfoCarrierColonLabel%>" />
                        </td>
                        <td>
                            <asp:CheckBox ID="chkBillInfoFlag" runat="server" />
                        </td>
                        <td align="right">
                            <asp:Literal runat="server" Text="<%$ Resources: OrganizationManagement, MultipleOrgsColonLabel%>" />
                        </td>
                        <td>
                            <asp:CheckBox ID="chkMultipleCarriers" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Literal runat="server" Text="<%$  Resources: OrganizationManagement, TechTypeProvCarrierColonLabel %>" />
                        </td>
                        <td>
                            <asp:CheckBox ID="chkDoesProvideTechType" runat="server" />
                        </td>
                        <td align="right">
                            <asp:Literal runat="server" Text="<%$  Resources: OrganizationManagement, HotlineEventColonLabel %>" />
                        </td>
                        <td>
                            <asp:CheckBox ID="chkHotlineEvent" runat="server" />
                        </td>
                    </tr>
                </table>
                <table id="tblReqFields">
                    <tbody>
                        <tr>
                            <td align="right">
                                <asp:Literal runat="server" Text="<%$ Resources: OrganizationManagement,  LoaderFieldsColonLabel %>" />
                            </td>
                            <td>
                                <asp:TextBox ID="txtLoaderList" runat="server" TextMode="MultiLine" />
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 21%;">
                                <asp:Literal runat="server" Text="<%$Resources: OrganizationManagement, WebserviceFieldsColonLabel %>" />
                            </td>
                            <td>
                                <asp:TextBox ID="txtWebserviceList" runat="server" TextMode="MultiLine" />
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 21%;">
                                <asp:Literal runat="server" Text="<%$Resources: OrganizationManagement, HeaderGridViewListReqFields %>" />
                            </td>
                            <td>
                                <asp:TextBox ID="txtListReqFields" runat="server" TextMode="MultiLine" />
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>

        <div style="margin-bottom: 15px;">
            <div class="mastersearch">
                <img src="../../../images/Expand_13x13.jpg" class="showstate" onclick="expandMasterSearch(this, 'divMoreFields')" alt="contract" />
                <asp:Literal ID="m_litSet" Text="View More Fields" runat="server" />
            </div>

            <div id="divMoreFields" style="background-color: #DBDCDE; display: none;">
                <table id="tblMoreFields" border="0" cellpadding="0" cellspacing="0" class="737">
                    <tr>
                        <td align="right">
                            <asp:Literal runat="server" Text="<%$Resources: OrganizationManagement, HeaderGridViewFileConvertMethod %>" />:
                        </td>
                        <td>
                            <asp:TextBox ID="txtFileConvertMethod" runat="server" />
                        </td>
                        <td align="right">
                            <asp:Literal runat="server" Text="<%$Resources: OrganizationManagement, HeaderGridViewNumberOfFields %>" />:
                        </td>
                        <td>
                            <asp:TextBox ID="txtNumberOfFields" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Literal runat="server" Text="<%$Resources: OrganizationManagement, HeaderGridViewClientIntegrationNotesSyncStartDate %>" />:
                        </td>
                        <td>
                            <uc:HITSCalendar ID="txtClientIntegrationNotesSyncStartDate" runat="server" />
                        </td>
                        <td align="right">
                            <asp:Literal runat="server" Text="<%$Resources: OrganizationManagement, HeaderGridViewClientIntegrationSyncMaxNoteLength %>" />:
                        </td>
                        <td>
                            <asp:TextBox ID="txtClientIntegrationSyncMaxNoteLength" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Literal runat="server" Text="<%$Resources: OrganizationManagement, HeaderGridViewClientIntegrationSyncNotesPerCycle %>" />:
                        </td>
                        <td>
                            <asp:TextBox ID="txtClientIntegrationSyncNotesPerCycle" runat="server" Width="168px" />
                        </td>
                        <td align="right">
                            <asp:Literal runat="server" Text="<%$Resources: OrganizationManagement, HeaderGridViewClientIntegrationSyncMaxRetries %>" />:
                        </td>
                        <td>
                            <asp:TextBox ID="txtClientIntegrationSyncMaxRetries" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Literal ID="Literal4" runat="server" Text="<%$Resources: OrganizationManagement, HeaderGridViewWaitDaysForCancelation %>" />:
                        </td>
                        <td>
                            <asp:TextBox ID="txtWaitDaysForCancelation" runat="server" />
                        </td>
                        <td align="right">
                            <asp:Literal ID="Literal5" runat="server" Text="<%$Resources: OrganizationManagement, HeaderGridViewDeactivationThreshold %>" />:
                        </td>
                        <td>
                            <asp:TextBox ID="txtDeactivationThreshold" runat="server" />
                        </td>
                    </tr>
                   
                    <tr>
                        <td align="right">
                            <asp:Literal ID="Literal6" runat="server" Text="<%$Resources: OrganizationManagement, HeaderGridViewCountryFormatID %>" />:
                        </td>
                        <td>
                            <asp:TextBox ID="txtCountryFormatID" runat="server" />
                        </td>
                        <td align="right">
                            <asp:Literal ID="Literal8" runat="server" Text="<%$Resources: OrganizationManagement, HeaderGridViewErrorThreshold %>"></asp:Literal>:
                        </td>
                        <td>
                            <asp:TextBox ID="txtErrorThreshold" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Literal ID="Literal1" runat="server" Text="<%$Resources: OrganizationManagement, HeaderGridViewIntDateFormat %>" />:
                        </td>
                        <td>
                            <asp:CheckBox ID="chkIntDateFormat" runat="server" />
                        </td>
                        <td align="right">
                            <asp:Literal ID="Literal2" runat="server" Text="<%$Resources: OrganizationManagement, HeaderGridViewZipCodeFormat %>" />:
                        </td>
                        <td>
                            <asp:CheckBox ID="chkZipCodeFormat" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Literal ID="Literal3" runat="server" Text="<%$Resources: OrganizationManagement, HeaderGridViewAccTypeForFulfillment %>" />:
                        </td>
                        <td>
                            <asp:CheckBox ID="chkAccTypeForFulfillment" runat="server" />
                        </td>
                        <td align="right">
                            <asp:Literal ID="Literal7" runat="server" Text="<%$Resources: OrganizationManagement, HeaderGridViewClientIntegrationEnabled %>" />:
                        </td>
                        <td>
                            <asp:CheckBox ID="chkClientIntegration" runat="server" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>

        <div style="text-align: center;">
            <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" />
            <asp:Button ID="btnCancel" runat="server" Text="Cancel" />
        </div>

    </div>

</asp:Content>
