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

<%--Add SP Site--%>
<asp:Panel CssClass="col-xs-12" ID="Pnl_SPAddConfirm" runat="server" DefaultButton="Btn_AddSPSite">
    <div class="card">
        <div class="header">
            <div class="displayInlineBlock">
                <h2>
                    <asp:Literal ID="Literal44" runat="server" Text="<%$ Resources:Content,AddSite%>" /></h2>
            </div>
            <asp:LinkButton ID="lb_SPGoBack" runat="server" Text="<%$ Resources:Content,DGN1110542 %>" CausesValidation="false"
                CssClass="btn btn-primary waves-effect pull-right m-t--4px" />
        </div>
        <div class="body">
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    <label>
                        *<asp:Literal ID="Literal31" runat="server" Text="<%$ Resources:Content,Title%>"></asp:Literal>:</label>
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <div class="form-line">
                            <asp:TextBox ID="TxBx_Title" runat="server"></asp:TextBox>
                        </div>
                    </div>
                    <asp:RequiredFieldValidator ControlToValidate="TxBx_Title" ID="RequiredFieldValidator2" ErrorMessage="<%$ Resources:Content, GN00001243%>"
                        runat="server" ValidationGroup="AddSPSite" SetFocusOnError="true" Display="None"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    <label>
                        *<asp:Literal ID="Literal33" runat="server" Text="<%$ Resources:Content,Url%>"></asp:Literal>:</label>
                </div>
                <div class="col-sm-4 col-md-3 col-xs-12">
                    <label>
                        <asp:Literal ID="Lbl_UrlDomain" runat="server"></asp:Literal></label>
                </div>
                <div class="col-sm-2 col-xs-12">
                    <div class="form-group">
                        <asp:DropDownList ID="DDL_SPPaths" runat="server">
                        </asp:DropDownList>
                    </div>
                </div>
                <div class="col-sm-3 col-xs-12">
                    <div class="form-group">
                        <div class="form-line">
                            <asp:TextBox ID="TxBx_UrlSubDomain" runat="server"></asp:TextBox>
                        </div>
                    </div>
                    <asp:RegularExpressionValidator ID="REV_UPN" runat="server" ValidationExpression="[^\s]+"
                        ValidationGroup="AddSPSite" ErrorMessage='<%$ Resources:Content, SubDomainCannotHaveSpaces%>'
                        ControlToValidate="TxBx_UrlSubDomain" SetFocusOnError="true" Display="None"></asp:RegularExpressionValidator>
                    <asp:RequiredFieldValidator ControlToValidate="TxBx_UrlSubDomain" ID="REQ_UPN" runat="server" SetFocusOnError="true"
                        ValidationGroup="AddSPSite" ErrorMessage='<%$ Resources:Content, SubDomainRequired%>' Display="None"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    <label>
                        <asp:Literal ID="Literal38" runat="server" Text="<%$ Resources:Content,Description%>"></asp:Literal>:</label>
                </div>
                <div class="col-sm-8 col-xs-12">
                    <div class="form-group">
                        <asp:TextBox runat="server" ID="TxBx_Description" TextMode="MultiLine" Width="100%" Height="150px"></asp:TextBox>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    <label>
                        *<asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,Owner%>"></asp:Literal>:</label>
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <asp:DropDownList ID="DDL_Owner" runat="server">
                        </asp:DropDownList>
                    </div>
                    <asp:RequiredFieldValidator ControlToValidate="DDL_Owner" ID="RequiredFieldValidator5" runat="server" SetFocusOnError="true"
                        ValidationGroup="AddSPSite" ErrorMessage='<%$ Resources:Content, OwnerRequired%>' Display="None"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    <label>
                        *<asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:Content,Template%>"></asp:Literal>:</label>
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <asp:DropDownList ID="DDL_Template" runat="server">
                        </asp:DropDownList>
                    </div>
                    <asp:RequiredFieldValidator ControlToValidate="DDL_Template" ID="RequiredFieldValidator4" runat="server" SetFocusOnError="true"
                        ValidationGroup="AddSPSite" ErrorMessage='<%$ Resources:Content, TemplateRequired%>' Display="None"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    <label>
                        *<asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:Content,Language%>"></asp:Literal>:</label>
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <asp:DropDownList ID="DDL_Language" runat="server">
                        </asp:DropDownList>
                    </div>
                    <asp:RequiredFieldValidator ControlToValidate="DDL_Language" ID="RequiredFieldValidator3" runat="server" SetFocusOnError="true"
                        ValidationGroup="AddSPSite" ErrorMessage='<%$ Resources:Content, LanguageRequired%>' Display="None"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    <label>
                        <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,RequestAccessEmail%>"></asp:Literal>:</label>
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <div class="form-line">
                            <asp:TextBox ID="TxBx_RequestAccessEmail" runat="server"></asp:TextBox>
                        </div>
                    </div>
                    <%--<asp:RegularExpressionValidator
                        ID="RegularExpressionValidator1" runat="server" ControlToValidate="TxBx_RequestAccessEmail" SetFocusOnError="true"
                        ValidationExpression="^[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\.)+[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?$"
                        ValidationGroup="AddSPSite" ErrorMessage="<%$ Resources:Content,SMI00940 %>" Display="None"></asp:RegularExpressionValidator>--%>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    <label>
                        <asp:Literal ID="Literal40" runat="server" Text="<%$ Resources:Content,AllowDesigner%>"></asp:Literal>:</label>
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <asp:CheckBox Text=" " ID="ChBx_AllowDesigners" runat="server" />
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    <label>
                        <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Content,ShareByEmail%>"></asp:Literal>:</label>
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <asp:CheckBox Text=" " ID="ChBx_ShareByEmail" runat="server" />
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    <label>
                        <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,AllowRssFeeds%>"></asp:Literal>:</label>
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <asp:CheckBox Text=" " ID="ChBx_AllowRssFeeds" runat="server" />
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    <label>
                        *<asp:Literal ID="Literal7" runat="server" Text="<%$ Resources:Content,SharingCapability%>"></asp:Literal>:</label>
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <asp:DropDownList ID="DDL_SharingCapability" runat="server">
                        </asp:DropDownList>
                    </div>
                    <asp:RequiredFieldValidator ControlToValidate="DDL_SharingCapability" ID="RequiredFieldValidator1" runat="server" SetFocusOnError="true"
                        ValidationGroup="AddSPSite" ErrorMessage='<%$ Resources:Content, SharingCapabilityRequired%>' Display="None"></asp:RequiredFieldValidator>
                </div>
            </div>

            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    <label>
                        <asp:Literal ID="Literal8" runat="server" Text="<%$ Resources:Content,StorageQuotaMB%>"></asp:Literal>:</label>
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <div class="form-line">
                            <asp:TextBox runat="server" ID="TxBx_StorageQuota" CssClass="allowonlynumbers"></asp:TextBox>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-xs-12">
                    <asp:ValidationSummary ID="VS" runat="server" ShowMessageBox="true" ShowSummary="false"
                        ValidationGroup="AddSPSite" HeaderText="<%$ Resources:Content,EM000001%>" />

                    <asp:Button ID="Btn_AddSPSite" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,AddSite%>"
                        ValidationGroup="AddSPSite" />
                    <asp:Button ID="Btn_AddSPSiteClose" runat="server" CausesValidation="false" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000572%>" />
                </div>
            </div>
        </div>
    </div>
</asp:Panel>
