<%@ Page Language="C#" MasterPageFile="~/masterpages/eDashboard.master" AutoEventWireup="True" Inherits="site_Administrative_ClaimWizardScripts_Default" Title="Brightstar Device Protection: Claim Wizard Scripts" Theme ="eMain" ValidateRequest = "false" Culture="auto" UICulture="auto" Codebehind="Default.aspx.cs" %>

<%@ Register Assembly="eSecuritel.HITS.UI.Components" Namespace = "eSecuritel.HITS.UI.Components" TagPrefix = "cc1" %>
<%@ Register Src = "~/Controls/WizardAdministration/GeneralScripts.ascx" TagName = "GeneralScripts" TagPrefix = "uc" %>
<%@ Register Src = "~/Controls/Claims/ClaimsWizardScriptViewer.ascx" TagName = "ClaimsWizardScriptViewer" TagPrefix = "uc" %>
<%@ Register Src = "~/Controls/WizardAdministration/RejectionEmailAddresses.ascx" TagName = "RejectionEmailAddresses" TagPrefix = "uc" %>
<%@ Register Src="~/Controls/WizardAdministration/ScriptCreationDialogue.ascx" TagName = "ScriptCreationDialogue" TagPrefix = "uc" %>
<%@ Register Src = "~/Controls/WizardAdministration/CarrierScriptManagement.ascx" TagName = "CarrierScriptManagement" TagPrefix = "uc" %>
<%@ Register Src="~/Controls/WizardAdministration/NavigationSettings.ascx" TagName = "NavigationSettings" TagPrefix = "uc" %>
<%@ Register Src ="~/Controls/PageLoadedValidation.ascx" TagName = "PageLoadedValidation" TagPrefix = "uc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="eContent" runat="Server">        
    
    <h1>
        <asp:Localize ID = "Localize3" runat = "server" Text = "<%$ Resources: ScriptManagement, ScriptAdministrationLabel %> " />                    
    </h1>
     
    <asp:UpdatePanel ID = "UpdatePanel1" runat = "server" UpdateMode = "Conditional">
        <ContentTemplate>
            <div class = "claimsWizardAdminFormAction">
            <table>
                <tr>
<%--
                    <td align = "right">
                        <asp:Localize ID = "Localize7" runat = "server" Text = "<%$ Resources: OrganizationManagement, LabelLanguageColon %>" />
                    </td>
                    <td>
                        <asp:DropDownList ID = "ddlLanguage" runat = "server" AutoPostBack = "true" OnSelectedIndexChanged = "ddlLanguage_SelectedIndexChanged">
                            <asp:ListItem Text ="English"  Value = "1"></asp:ListItem>
                            <asp:ListItem Text ="Turkish"  Value = "2"></asp:ListItem>
                            <asp:ListItem Text ="Spanish"  Value = "3"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
--%>
                    <td align = "right">
                        <asp:Localize ID = "Localize4" runat = "server" Text = "<%$ Resources: ScriptManagement, WizardTypeLabel %> " />
                    </td>
                    <td>
                        <asp:DropDownList ID = "ddlWizardType" runat = "server" AutoPostBack = "true" OnSelectedIndexChanged = "ddlWizardType_SelectedIndexChanged"/>
                    </td>               
                    <td align = "right">
                        <asp:Localize ID = "Localize1" runat = "server" Text = "<%$ Resources: ScriptManagement, TaskLabel %> "   />
                    </td>
                    <td>
                        <asp:DropDownList ID = "ddlAdminWizardType" runat = "server">
                            <asp:ListItem Text = "<%$ Resources:Default, TopLevelDropDownItemTextSelect %>" Value = "0" />
                            <asp:ListItem Text = "<%$ Resources:Default, EditClientScript %>" Value = "EditClient" />
                            <asp:ListItem Text = "<%$ Resources:Default, EditMasterScript %>" Value = "EditMaster" />                        
                        </asp:DropDownList>      
                    </td>                            
                    <td id = "tdMasterScriptTypeCol1" runat = "server" align = "right">
                        <asp:Localize ID = "Localize2" runat = "server" Text = "<%$ Resources: ScriptManagement, MasterScriptTypeLabel %> " />                    
                    </td>
                    <td id = "tdMasterScriptTypeCol2" runat = "server" align = "left" >
                        <asp:DropDownList ID = "ddlMasterScriptType" runat = "server" />
                        <asp:LinkButton ID = "lbCreateNewMasterScript" runat = "server"  Text = "<%$ Resources: ScriptManagement, CreateNewLabel %> " OnClick = "lbCreateNewMasterScript_Click" />
                        
                    </td>
                    <td>
                        <asp:Button ID = "btnSelectWizardAdmin" runat = "server" Enabled = "false" Text = "<%$ Resources: ScriptManagement, SelectLabel %> " OnClick = "btnSelectWizardAdmin_Click" />
                    </td>   
                </tr>
            </table>
            </div>            
        </ContentTemplate>
    </asp:UpdatePanel>
    
    <uc:ScriptCreationDialogue ID = "ucScriptCreationDialogue" runat = "server" Visible = "false" OnCancelClick = "ucScriptCreationDialogue_CancelClick" OnScriptsCreated = "ucScriptCreationDialogue_ScriptsCreated" />
    <uc:CarrierScriptManagement ID = "ucCarrierScriptManagement" runat = "server" Visible = "false" OnCarrierSelected = "ucCarrierScriptManagement_CarrierSelected" />    
        
    <asp:Panel ID = "pnlWizardContent" runat = "server" Visible = "False" >        
        <div class = "claimsWizardAdminSectionMajorHeader">
            <asp:Localize ID = "Localize5" runat = "server" Text = "<%$ Resources: ScriptManagement, NowEditingLabel %> " />        
            <asp:Label ID = "lblHostName" runat = "server" Font-Bold = "True" />
        </div>        
        <div class = "claimsWizardAdminFormAction">        
            <asp:Localize ID = "Localize6" runat = "server" Text = "<%$ Resources: ScriptManagement, AdministrationTaskLabel %> " />
              
            <asp:DropDownList ID = "ddlAdministrationTask" runat = "server" AutoPostBack = "True" OnSelectedIndexChanged = "ddlAdministrationTask_SelectedIndexChanged">
                <asp:ListItem Text = "<%$ Resources: ScriptManagement, SelectItem %> " Value = "Select" />
                <asp:ListItem Text = '<%$ Resources:AdministrationManagement, GeneralScriptsHeader %>' Value = "General Scripts"/>
                <asp:ListItem Text = '<%$ Resources:AdministrationManagement, WizardEventScriptsHeader %>' Value = "Wizard Event Scripts" />                            
                <asp:ListItem Text = '<%$ Resources:AdministrationManagement, RejectionScriptsHeader %>' Value = "Rejection Scripts" />
                <asp:ListItem Text = '<%$ Resources:AdministrationManagement, RejectionEmailsHeader %>' Value = "Rejection Emails" />
            </asp:DropDownList>
        </div>
        
        <uc:NavigationSettings ID = "ucNavigationSettings" runat = "server" Visible = "false" OnRefreshRequested = "ucNavigationSettings_RefreshRequested" OnScriptTitleClicked = "ucNavigationSettings_ScriptTitleClicked" />        
        <uc:GeneralScripts ID = "ucGeneralScripts" runat = "server" Visible = "false" OnViewWizardScriptClicked = "ucGeneralScripts_ViewWizardScriptClicked"/>
        <uc:RejectionEmailAddresses ID = "ucRejectionEmailAddresses" runat = "server" Visible = "false" />
        <uc:ClaimsWizardScriptViewer ID = "ucClaimWizardScriptViewer" runat = "server" Visible = "false" ShowRestart = "false" AdminMode = "true" OnNavigateToWizardStep = "ucClaimWizardScriptViewer_NavigateToWizardStep" />
    </asp:Panel>

</asp:Content>

