<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="HostingAddonsEditAddon.ascx.cs" Inherits="SolidCP.Portal.HostingAddonsEditAddon" %>
<%@ Register Src="HostingPlansQuotas.ascx" TagName="HostingPlansQuotas" TagPrefix="uc1" %>
<%@ Register TagPrefix="scp" TagName="CollapsiblePanel" Src="UserControls/CollapsiblePanel.ascx" %>

<div class="panel-body form-horizontal">
<asp:UpdatePanel runat="server" ID="updatePanelUsers">
    <ContentTemplate> 

<asp:Label ID="lblMessage" runat="server" CssClass="NormalBold" ForeColor="red"></asp:Label>
<table width="100%">
    <tr>
        <td class="SubHead" style="width:200px;"><asp:Label ID="lblAddOnName" runat="server" meta:resourcekey="lblAddOnName" Text="Add-On Name:"></asp:Label></td>
        <td class="Normal">
            <asp:TextBox ID="txtPlanName" runat="server" Width="300" CssClass="HugeTextBox"></asp:TextBox>
            <asp:RequiredFieldValidator ID="valPlanName" runat="server" ControlToValidate="txtPlanName"
                ErrorMessage="*"></asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td class="SubHead" valign="top"><asp:Label ID="lblAddOnDescription" runat="server" meta:resourcekey="lblAddOnDescription" Text="Add-On Description:"></asp:Label></td>
        <td class="Normal">
            <asp:TextBox ID="txtPlanDescription" runat="server" Width="300" Rows="4" TextMode="MultiLine" CssClass="NormalTextBox"></asp:TextBox></td>
    </tr>
</table>

<scp:CollapsiblePanel id="secQuotas" runat="server"
    TargetControlID="QuotasPanel" meta:resourcekey="secQuotas" Text="Quotas">
</scp:CollapsiblePanel>
<asp:Panel ID="QuotasPanel" runat="server" Height="0" style="overflow:hidden;">
    <uc1:HostingPlansQuotas id="hostingPlansQuotas" runat="server" IsPlan="false">
    </uc1:HostingPlansQuotas>
</asp:Panel>

</ContentTemplate>
</asp:UpdatePanel>
</div>

<div class="panel-footer text-right">
    <CPCC:StyleButton id="btnDelete" CssClass="btn btn-danger" runat="server" CausesValidation="False" OnClick="btnDelete_Click"> <i class="fa fa-trash-o">&nbsp;</i>&nbsp;<asp:Localize runat="server" meta:resourcekey="btnDeleteText"/> </CPCC:StyleButton>&nbsp;
    <CPCC:StyleButton id="btnCancel" CssClass="btn btn-warning" runat="server" CausesValidation="False" OnClick="btnCancel_Click"> <i class="fa fa-times">&nbsp;</i>&nbsp;<asp:Localize runat="server" meta:resourcekey="btnCancelText"/> </CPCC:StyleButton>&nbsp;
    <CPCC:StyleButton id="btnSave" CssClass="btn btn-success" runat="server" OnClick="btnSave_Click"> <i class="fa fa-floppy-o">&nbsp;</i>&nbsp;<asp:Localize runat="server" meta:resourcekey="btnSaveText"/> </CPCC:StyleButton>
</div>
