<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/WFContent/Modules/ModuleConfig.Master" CodeBehind="Divider.aspx.vb" Inherits="WebFoundations.WFPortal.BaseModules.UI.Divider1" %>

<%@ Register Assembly="WebFoundations.WFPortal.Controls" Namespace="WebFoundations.WFPortal.Controls.Content" TagPrefix="WFC" %>

<asp:Content runat="server" ContentPlaceHolderID="TagHead">
    <style type="text/css">
        .div-areas select {
            width: calc(100% - 2em);
            height: 6em;
            vertical-align: top;
        }


        .div-areas > div {
            display: inline-block;
            width: 1.5em;
        }
    </style>
</asp:Content>

<asp:Content runat="server" ContentPlaceHolderID="MainContent">
    <WFC:EditorManager id="EditorManager1" runat="server" />

    <h3>
        <asp:label id="lblnew" runat="server" />
    </h3>
    <div class="fields no-columns">
        <label>
            <asp:label id="lblName" runat="server" />
            <asp:textbox id="txtname" runat="server" maxlength="40" />
            <asp:regularexpressionvalidator id="vlName" validationgroup="NOVO" runat="server" validationexpression="^[-a-zA-Z0-9\-]{4,}$" controltovalidate="txtname" />
        </label>
        <asp:checkbox id="chkspacer" cssclass="checkbox" runat="server" />
        <label>
            <asp:label id="lblwidth" runat="server" />
            <asp:textbox id="txtwidth" runat="server" maxlength="8" />
        </label>
    </div>
    <div class="actions">
        <asp:button id="btninclude" validationgroup="NOVO" runat="server" />
    </div>

    <div class="div-areas">
        <asp:listbox id="lstareas" runat="server" />
        <div>
            <asp:imagebutton id="btnup" causesvalidation="false" runat="server" />
            <asp:imagebutton id="btndown" causesvalidation="false" runat="server" />
            <asp:imagebutton id="btndelete" causesvalidation="false" runat="server" />
        </div>
    </div>

    <section class="actions">
        <asp:button id="btnok" runat="server" cssclass="button" />
        <input id="btncancel" type="button" class="button" onclick="CancelEdit();" runat="server" />
    </section>
</asp:Content>
