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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="AjaxToolkit" %>
<%@ Register Assembly="obout_Editor" Namespace="OboutInc.Editor" TagPrefix="obout" %>

<div class="row" id="Div_AlertLimit" runat="server" visible="false">
    <div class="col-sm-3 col-xs-12 row-label">
        <label>
            *<asp:Literal ID="Ltrl_AlertLimit" runat="server" EnableViewState="false" Text="Alert Limit" />:
        </label>
    </div>
    <div class="col-sm-4 col-xs-12">
        <asp:DropDownList ID="Ddl_AlertLimit" runat="server">
            <%--Send alert when IP pool usage reaches: Dropdown: 70%, 75%, 80%, 85%, 90%, 95%--%>
            <asp:ListItem Text="70%" Value="70"></asp:ListItem>
            <asp:ListItem Text="75%" Value="75"></asp:ListItem>
            <asp:ListItem Text="80%" Value="80"></asp:ListItem>
            <asp:ListItem Text="85%" Value="85"></asp:ListItem>
            <asp:ListItem Text="90%" Value="90"></asp:ListItem>
            <asp:ListItem Text="95%" Value="95"></asp:ListItem>
        </asp:DropDownList>
    </div>
</div>
<div class="row">
    <div class="col-sm-3 col-xs-12 row-label">
        <label>
            *<asp:Literal ID="Literal8" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000601%>" />:
        </label>
    </div>
    <div class="col-sm-4 col-xs-12">
        <div class="form-group">
            <div class="form-line">
                <asp:TextBox ID="TxBx_FromName" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RFV_FromName" runat="server" Display="None" SetFocusOnError="true" ValidationGroup="AddWorkflow"
                    ControlToValidate="TxBx_FromName" ErrorMessage=""></asp:RequiredFieldValidator>
            </div>
        </div>
    </div>
</div>

<div class="row">
    <div class="col-sm-3 col-xs-12 row-label">
        <label>
            *<asp:Literal ID="Literal9" runat="server" EnableViewState="false" Text="<%$ Resources:Content,FromEmail%>" />:
        </label>
    </div>
    <div class="col-sm-4 col-xs-12">
        <div class="form-group">
            <div class="form-line">
                <asp:TextBox ID="TxBx_FromEmail" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RFV_FromEmail" runat="server" Display="None" SetFocusOnError="true" ValidationGroup="AddWorkflow"
                    ControlToValidate="TxBx_FromEmail" ErrorMessage=""></asp:RequiredFieldValidator>
            </div>
        </div>
    </div>
</div>

<div class="row">
    <div class="col-sm-3 col-xs-12 row-label">
        <label>
            *<asp:Literal ID="Literal1" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strEmailTo%>" />:
        </label>
    </div>
    <div class="col-sm-4 col-xs-12">
        <div class="form-group">
            <div class="form-line">
                <asp:TextBox ID="TxBx_EmailTo" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RFV_EmailTo" runat="server" Display="None" SetFocusOnError="true" ValidationGroup="AddWorkflow"
                    ControlToValidate="TxBx_EmailTo" ErrorMessage="<%$Resources:Content, GN00008027 %>"></asp:RequiredFieldValidator>
            </div>
        </div>
    </div>
    <div class="col-sm-4 col-xs-12">
        <label>
            <strong>
                <asp:Literal ID="Ltrl_EmailToCSVNote" runat="server" Text="<%$Resources:Content, String597%>"></asp:Literal></strong>
        </label>
    </div>
</div>


<div class="row">
    <div class="col-sm-3 col-xs-12 row-label">
        <label>
            <asp:Literal ID="Literal2" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001248%>" />:
        </label>
    </div>
    <div class="col-sm-4 col-xs-12">
        <div class="form-group">
            <div class="form-line">
                <asp:TextBox ID="TxBx_EmailCC" runat="server"></asp:TextBox>
            </div>
        </div>
    </div>
    <div class="col-sm-4 col-xs-12">
        <label>
            <strong>
                <asp:Literal ID="Literal7" runat="server" Text="<%$Resources:Content, String597%>"></asp:Literal></strong>
        </label>
    </div>
</div>


<div class="row">
    <div class="col-sm-3 col-xs-12 row-label">
        <label>
            <asp:Literal ID="Literal3" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001249%>" />:
        </label>
    </div>
    <div class="col-sm-4 col-xs-12">
        <div class="form-group">
            <div class="form-line">
                <asp:TextBox ID="TxBx_EmailBCC" runat="server"></asp:TextBox>
            </div>
        </div>
    </div>
    <div class="col-sm-4 col-xs-12">
        <label>
            <strong>
                <asp:Literal ID="Literal6" runat="server" Text="<%$Resources:Content, String597%>"></asp:Literal></strong>
        </label>
    </div>
</div>

<div class="row">
    <div class="col-sm-3 col-xs-12 row-label">
        <label>
            *<asp:Literal ID="Literal4" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000371%>" />:
        </label>
    </div>
    <div class="col-sm-4 col-xs-12">
        <div class="form-group">
            <div class="form-line">
                <asp:TextBox ID="TxBx_EmailSubject" runat="server" MaxLength="250"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RFV_EmailSubject" runat="server" Display="None" SetFocusOnError="true" ValidationGroup="AddWorkflow"
                    ControlToValidate="TxBx_EmailSubject" ErrorMessage="<%$Resources:Content, EmailSubjectMandatory %>"></asp:RequiredFieldValidator>
            </div>
        </div>
    </div>
</div>


<div class="row">
    <div class="col-sm-3 col-xs-12 row-label">
        <label>
            *<asp:Literal ID="Literal5" runat="server" EnableViewState="false" Text="<%$ Resources:Content,USM0052%>" />:
        </label>
    </div>
    <div class="col-sm-9 col-xs-12">

        <div class="form-group">

            <obout:Editor ID="OE_EmailText" Submit="false" ShowWaitMessage="false" AjaxWait="false" runat="server" Appearance="custom">
                <Buttons>
                    <obout:Select Name="FontName" />
                    <obout:Select Name="FontSize" />
                    <obout:HorizontalSeparator />
                    <obout:Toggle Name="Bold" />
                    <obout:Toggle Name="Italic" />
                    <obout:Toggle Name="Underline" />
                    <obout:Toggle Name="StrikeThrough" />
                    <obout:Toggle Name="SuperScript" />
                    <obout:Toggle Name="SubScript" />
                    <obout:HorizontalSeparator />
                    <obout:Method Name="ForeColor" />
                    <obout:Method Name="ForeColorClear" />
                    <obout:Method Name="BackColor" />
                    <obout:Method Name="BackColorClear" />
                    <obout:VerticalSeparator />
                    <obout:Method Name="Redo" />
                    <obout:Method Name="Undo" />
                    <obout:HorizontalSeparator />
                    <obout:Method Name="Cut" />
                    <obout:Method Name="Copy" />
                    <obout:Method Name="Paste" />
                    <obout:Method Name="PasteText" />
                    <obout:HorizontalSeparator />
                    <obout:Method Name="Paragraph" />
                    <obout:Method Name="GetFormat" />
                    <obout:Method Name="ApplyFormat" />
                    <obout:HorizontalSeparator />
                    <obout:Method Name="JustifyLeft" />
                    <obout:Method Name="JustifyCenter" />
                    <obout:Method Name="JustifyRight" />
                    <obout:Method Name="JustifyFull" />
                    <obout:HorizontalSeparator />
                    <obout:Method Name="OrderedList" />
                    <obout:Method Name="BulletedList" />
                    <obout:HorizontalSeparator />
                    <obout:Method Name="InsertHR" />
                    <obout:Method Name="CreateLink" />
                    <obout:Method Name="InsertAnchor" />
                    <obout:Method Name="InsertIMG" />
                    <obout:HorizontalSeparator />
                    <obout:Method Name="ClearStyles" />
                </Buttons>
            </obout:Editor>

            <asp:RequiredFieldValidator ID="RFV_EmailText" ControlToValidate="OE_EmailText" Display='none'
                runat="server" SetFocusOnError="true" ValidationGroup="AddWorkflow"></asp:RequiredFieldValidator>
        </div>

    </div>
</div>

