<%@ control language="VB" autoeventwireup="false" inherits="Admin_Clients_CC_SP_Resource, MachSol.MachPanel.Web" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>

<div class="col-xs-12">
<div id="Tbl_Listing" runat="server">
    <div>
        <h4>
            <%= Resources.Content.GN0000112%>
        </h4>
        <hr />
        <table id="Tbl_SPPortalSettings" runat="server" class="table table-bordered table-striped table-hover table-responsive">
            <tr>
                <th class="col-xs-4 row-label">
                    <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,GN0000199%>"
                        EnableViewState="false" />
                </th>
                <th class="col-xs-2 row-label">
                    <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Content,DGN1110615%>"
                        EnableViewState="false" />
                </th>
                <th class="col-xs-2 row-label">
                    <asp:Literal ID="Literal15" runat="server" Text="<%$ Resources:Content,String346%>"
                        EnableViewState="false" />
                </th>
                <th class="col-xs-2 row-label">
                    <asp:Literal ID="Literal113" runat="server" Text="<%$ Resources:Content,DGN1110616%>"
                        EnableViewState="false" />
                </th>
                <th class="col-xs-2 row-label">
                    <asp:Literal ID="Literal110" runat="server" Text="<%$ Resources:Content,String347%>"
                        EnableViewState="false" />
                </th>
            </tr>
            <tr id='tr_orgs' runat='server'>
                <td>
                    <asp:Literal ID="Literal3" runat="server" Text='<%$ Resources:Content,String147%>'
                        EnableViewState="false" />:
                </td>
                <td id="Td_Orgs" runat="server"></td>
                <td id="Td_Orgs_NA" runat="server"></td>
                <td id="Td_Orgs_Used" runat="server"></td>
                <td id="Td_Orgs_Rem" runat="server"></td>
            </tr>
            <tr id='tr_foundation' runat='server' visible='false'>
                <td>
                    <asp:Literal ID="Literal18" runat="server" Text="<%$ Resources:Content,SMI0332%>"
                        EnableViewState="false" />:
                </td>
                <td id="Td_fOrgs" runat="server"></td>
                <td id="Td_fOrgs_NA" runat="server"></td>
                <td id="Td_fOrgs_Used" runat="server"></td>
                <td id="Td_fOrgs_Rem" runat="server"></td>
            </tr>
            <tr id='tr_standard' runat='server' visible='false'>
                <td>
                    <asp:Literal ID="Literal21" runat="server" Text="<%$ Resources:Content,SMI0333%>"
                        EnableViewState="false" />:
                </td>
                <td id="Td_sOrgs" runat="server"></td>
                <td id="Td_sOrgs_NA" runat="server"></td>
                <td id="Td_sOrgs_Used" runat="server"></td>
                <td id="Td_sOrgs_Rem" runat="server"></td>
            </tr>
            <tr id='tr_enterprise' runat='server' visible='false'>
                <td>
                    <asp:Literal ID="Literal22" runat="server" Text="<%$ Resources:Content,SMI0334%>"
                        EnableViewState="false" />:
                </td>
                <td id="Td_eOrgs" runat="server"></td>
                <td id="Td_eOrgs_NA" runat="server"></td>
                <td id="Td_eOrgs_Used" runat="server"></td>
                <td id="Td_eOrgs_Rem" runat="server"></td>
            </tr>
            <tr>
                <td>
                    <asp:Literal ID="Literal4" runat="server" Text='<%$ Resources:Content,String148%>'
                        EnableViewState="false" />:
                </td>
                <td id="Td_Users" runat="server"></td>
                <td id="Td_Users_NA" runat="server"></td>
                <td id="Td_Users_Used" runat="server"></td>
                <td id="Td_Users_Rem" runat="server"></td>
            </tr>
            <tr>
                <td>
                    <asp:Literal ID="Literal6" runat="server" Text='<%$ Resources:Content,String150%>'
                        EnableViewState="false" />:
                </td>
                <td id="Td_StorageLevel" runat="server"></td>
                <td>
                    <asp:Literal ID="Literal9" runat="server" Text='<%$ Resources:Content,String349 %>'
                        EnableViewState="false" />
                </td>
                <td>
                    <asp:Literal ID="Literal10" runat="server" Text='<%$ Resources:Content,String349 %>'
                        EnableViewState="false" />
                </td>
                <td>
                    <asp:Literal ID="Literal11" runat="server" Text='<%$ Resources:Content,String349 %>'
                        EnableViewState="false" />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Literal ID="Literal7" runat="server" Text='<%$ Resources:Content,String151%>'
                        EnableViewState="false" />:
                </td>
                <td id="Td_WarningLevel" runat="server"></td>
                <td>
                    <asp:Literal ID="Literal12" runat="server" Text='<%$ Resources:Content,String349 %>'
                        EnableViewState="false" />
                </td>
                <td>
                    <asp:Literal ID="Literal13" runat="server" Text='<%$ Resources:Content,String349 %>'
                        EnableViewState="false" />
                </td>
                <td>
                    <asp:Literal ID="Literal14" runat="server" Text='<%$ Resources:Content,String349 %>'
                        EnableViewState="false" />
                </td>
            </tr>
            <tr id='Tr_MaxUsagePerDayLimit' runat='server'>
                <td>
                    <asp:Literal ID="Literal24" runat="server" Text='<%$ Resources:Content,USM0042 %>'
                        EnableViewState="false" />
                </td>
                <td id="Td_MaxUsagePerDayLimit" runat="server"></td>
                <td>
                    <asp:Literal ID="Literal25" runat="server" Text='<%$ Resources:Content,String349 %>'
                        EnableViewState="false" />
                </td>
                <td>
                    <asp:Literal ID="Literal26" runat="server" Text='<%$ Resources:Content,String349 %>'
                        EnableViewState="false" />
                </td>
                <td>
                    <asp:Literal ID="Literal27" runat="server" Text='<%$ Resources:Content,String349 %>'
                        EnableViewState="false" />
                </td>
            </tr>
            <tr id='Tr_MaxUsagePerDayWarning' runat='server'>
                <td>
                    <asp:Literal ID="Literal28" runat="server" Text='<%$ Resources:Content,USM0043 %>'
                        EnableViewState="false" />
                </td>
                <td id="Td_MaxUsagePerDayWarning" runat="server"></td>
                <td>
                    <asp:Literal ID="Literal29" runat="server" Text='<%$ Resources:Content,String349 %>'
                        EnableViewState="false" />
                </td>
                <td>
                    <asp:Literal ID="Literal30" runat="server" Text='<%$ Resources:Content,String349 %>'
                        EnableViewState="false" />
                </td>
                <td>
                    <asp:Literal ID="Literal31" runat="server" Text='<%$ Resources:Content,String349 %>'
                        EnableViewState="false" />
                </td>
            </tr>
            <tr id="Tr_SP2013AdditionalUrls" runat="server">
                <td>
                    <asp:Literal ID="Ltrl_SP2013AdditionalUrlsAllowed" runat="server" Text="<%$ Resources:Content,USM0137 %>"></asp:Literal>:
                </td>
                <td id="TD_SP2013AdditionalUrlsAllowed" runat="server"></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
        </table>
    </div>
    <br />
    <div>
        <div>
            <h4><%= Resources.Content.LimitDetails %></h4>
            <hr />
            <asp:Repeater ID="Rpt_Resources" OnItemDataBound="Rpt_Resources_ItemDataBound" runat="server">
                <HeaderTemplate>
                    <table class="table table-bordered table-striped table-hover">
                        <tr>
                            <th class="col-xs-4 row-label">
                                <asp:Literal ID="Literal251" runat="server" Text="<%$ Resources:Content,GN0000199%>"
                                    EnableViewState="false" />
                            </th>
                            <th class="col-xs-2 row-label">
                                <asp:Literal ID="Literal252" runat="server" Text="<%$ Resources:Content,GN0000112%>"
                                    EnableViewState="false" />
                            </th>
                            <th class="col-xs-2 row-label">
                                <asp:Literal ID="Literal253" runat="server" Text="<%$ Resources:Content,String346%>"
                                    EnableViewState="false" />
                            </th>
                            <th class="col-xs-2 row-label">
                                <asp:Literal ID="Literal254" runat="server" Text="<%$ Resources:Content,DGN1110616%>"
                                    EnableViewState="false" />
                            </th>
                            <th class="col-xs-2 row-label">
                                <asp:Literal ID="Literal255" runat="server" Text="<%$ Resources:Content,String347%>"
                                    EnableViewState="false" />
                            </th>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td class="col--xs-4">
                            <asp:Literal ID="Ltr_ResourceName" runat="server" Text='' />:
                        </td>
                        <td colspan="8" class="td-enclosing-table">
                            <asp:Repeater ID="Rpt_ResourcesDetail" OnItemDataBound="Rpt_ResourcesDetail_ItemDataBound" runat="server">
                                <HeaderTemplate>
                                    <table class="table">
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <tr>
                                        <td class="col-xs-3" id="Td_Allocation" runat="server"></td>
                                        <td class="col-xs-3" id="Td_NetAllocation" runat="server"></td>
                                        <td class="col-xs-3" id="Td_Used" runat="server"></td>
                                        <td class="col-xs-3" id="Td_Remaining" runat="server"></td>
                                    </tr>
                                </ItemTemplate>
                                <FooterTemplate>
                                    </table>
                                </FooterTemplate>
                            </asp:Repeater>
                        </td>
                    </tr>

                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
        </div>
    </div>
</div>
</div>
<div id="Tbl_Edit" runat="server">

    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h3>
                    <%= Resources.Content.GN0000112%>                                                                                                                                
                </h3>
            </div>
            <div class="body">

                <div class="row" id='tr_editOrgs' runat='server'>
                    <div class="col-sm-6 col-xs-12 row-label">
                        <asp:Literal ID="Literal8" runat="server" Text='<%$ Resources:Content,String147 %>'
                            EnableViewState="false" />:
                    </div>

                    <div class="col-sm-4 col-xs-7">
                        <div class="form-group">
                            <div class="form-line">
                                <asp:TextBox ID="TxBx_Orgs" runat="server" Text="<%$ Resources:Content,GN00001032%>"
                                    MaxLength="10"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row" id='tr_editMTOrgs' runat='server'>
                    <div class="col-sm-6 col-xs-12 row-label">
                        <asp:Literal ID="Literal23" runat="server" Text='<%$ Resources:Content,String147 %>'
                            EnableViewState="false" />:
                    </div>

                    <div class="col-sm-6 col-xs-7">
                        <div class="row">
                            <div class="col-sm-4 col-xs-12 row-label">
                                <label><%= Resources.Content.USM0091%></label>:
                            </div>
                            <div class="col-sm-8 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="TxBx_EditFOrgs" runat="server" Text="<%$ Resources:Content,GN00001032%>"
                                            MaxLength="10"></asp:TextBox>
                                        <asp:HiddenField ID='HF_FFPId' runat='server' />
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4 col-xs-12 row-label">
                                <label><%= Resources.Content.SPLA05%></label>:
                            </div>
                            <div class="col-sm-8 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="TxBx_EditSOrgs" runat="server" Text="<%$ Resources:Content,GN00001032%>"
                                            MaxLength="10"></asp:TextBox>
                                        <asp:HiddenField ID='HF_SFPId' runat='server' />
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4 col-xs-12 row-label">
                                <label><%= Resources.Content.Exch00909%></label>:
                            </div>
                            <div class="col-sm-8 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="TxBx_EditEOrgs" runat="server" Text="<%$ Resources:Content,GN00001032%>"
                                            MaxLength="10"></asp:TextBox>
                                        <asp:HiddenField ID='HF_EFPId' runat='server' />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-6 col-xs-12 row-label">
                        <asp:Literal ID="Literal17" runat="server" Text='<%$ Resources:Content,String148%>'
                            EnableViewState="false" />:

                    </div>

                    <div class="col-sm-4 col-xs-7">
                        <div class="form-group">
                            <div class="form-line">
                                <asp:TextBox ID="TxBx_Users" runat="server" Text="<%$ Resources:Content,GN00001033%>"
                                    MaxLength="10"></asp:TextBox>
                            </div>
                            <asp:Label ID="Lbl_Users" runat="server" ForeColor="red" Visible="false">*</asp:Label>
                        </div>
                    </div>

                    <div class="col-sm-2 col-xs-5">
                        <div class="form-group">
                            <asp:CheckBox ID="ChBx_Users" Text="<%$ Resources:Content,GN0000908%>" runat="server" />
                        </div>

                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-6 col-xs-12 row-label">
                        <asp:Literal ID="Literal19" runat="server" Text='<%$ Resources:Content,String150%>'
                            EnableViewState="false" />:
                    </div>

                    <div class="col-sm-4 col-xs-7">
                        <div class="form-group">
                            <div class="form-line">
                                <asp:TextBox ID="TxBx_StorageLevel" Text="<%$ Resources:Content,SMI0008%>" runat="server"
                                    MaxLength="15"></asp:TextBox>
                            </div>
                            <asp:Label ID="Lbl_StorageLevel" runat="server" ForeColor="red" Visible="false">*</asp:Label>
                        </div>
                    </div>

                    <div class="col-sm-2 col-xs-5">
                        <div class="form-group">
                            <asp:CheckBox ID="ChBx_StorageLevel" Text="<%$ Resources:Content,GN0000908%>" runat="server" />
                        </div>

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

                    <div class="col-sm-4 col-xs-7">
                        <div class="form-group">
                            <div class="form-line">
                                <asp:TextBox ID="TxBx_SendWarning" runat="server" Text="<%$ Resources:Content,SMI0009%>"
                                    MaxLength="15"></asp:TextBox>
                            </div>
                            <asp:Label ID="Literal70" ForeColor="forestgreen" runat="server" Text='<%$Resources:Content,String415 %>'></asp:Label>
                        </div>
                    </div>

                    <div class="col-sm-2 col-xs-5">
                        <div class="form-group">
                            <asp:CheckBox ID="ChBx_SendWarning" Text="<%$ Resources:Content,GN0000908%>" runat="server" />
                            <asp:Label ID="Lbl_SendWarning" runat="server" ForeColor="red" Visible="false">*</asp:Label>
                        </div>

                    </div>
                </div>
                <div class="row" id='tbledit_sandboxedquotalimit' runat='server'>
                    <div class="col-sm-6 col-xs-12 row-label">
                        <asp:Literal ID="ltrledit_sndbxqutalimit" runat="server" Text="<%$ Resources:Content,USM0042 %>"></asp:Literal>
                    </div>

                    <div class="col-sm-4 col-xs-7">
                        <div class="form-group">
                            <div class="form-line">
                                <asp:TextBox ID='TxBx_UsagePerDayLimit' runat='server'></asp:TextBox>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row" id='tbledit_sandboxedquotawarning' runat='server'>
                    <div class="col-sm-6 col-xs-12 row-label">
                        <asp:Literal ID="ltrledit_sndbxqutawrning" runat="server" Text="<%$ Resources:Content,USM0043 %>"></asp:Literal>
                    </div>

                    <div class="col-sm-4 col-xs-7">
                        <div class="form-group">
                            <div class="form-line">
                                <asp:TextBox ID='TxBx_UsagePerDayWarning' runat='server'></asp:TextBox>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row" id="tr_editsp2013additionalurls" runat="server" visible="false">
                    <div class="col-sm-6 col-xs-12 row-label">
                        <asp:Literal ID="Ltrl_EditSP2013AdditionalUrls" runat="server" Text="<%$ Resources:Content,USM0136 %>"></asp:Literal>:
                    </div>

                    <div class="col-sm-4 col-xs-7">
                        <div class="form-group">
                            <asp:CheckBox ID="CB_EditSP2013AdditionalUrls" runat="server" Checked="false" Text=" " />
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-xs-12">
                        <asp:Button SkinID="saveButton" ID="Btn_Update" runat="server" Text="<%$ Resources:Content,GN0000281%>" CssClass="btn btn-primary btnAction" />
                        <asp:Button SkinID="cancelButton" ID="Btn_Cancel" runat="server" Text="<%$ Resources:Content,GN0000572%>" CssClass="btn btn-primary" />
                    </div>
                </div>
            </div>
        </div>
    </div>

</div>

