<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/WFAdmin/AdmMaster.Master" CodeBehind="Configuration.aspx.vb" Inherits="WebFoundations.WFPortal.UI.Configuration" %>

<asp:Content ContentPlaceHolderID="TagHead" runat="server">
    <style type="text/css">
        div.tabelaGeral {
            margin-top: 100px;
        }

        section.config {
            -moz-column-gap: 2em;
            -webkit-column-gap: 2em;
            column-gap: 2em;
            -moz-column-width: 50em;
            -webkit-column-width: 50em;
            column-width: 50em;
            -moz-column-rule: dashed 1px #9ca6aa;
            -webkit-column-rule: dashed 1px #9ca6aa;
            column-rule: dashed 1px #9ca6aa;
        }

        h1 {
            font-size: 2em;
            font-weight: 600;
            /*-webkit-column-span: all;
            column-span: all;*/
        }

        fieldset.config {
            -webkit-break-inside: avoid-column;
            break-inside: avoid-column;
            page-break-inside: avoid;
        }

        fieldset.config legend {
            font-size: 1.5em;
            font-weight: 500;
            font-style: italic;
        }

        fieldset.config label > span:first-child, fieldset.config > div > label:first-child > span:first-child, div.config label > span:first-child, div.config > div > label:first-child > span:first-child {
            min-width: 12em;
        }

        fieldset.config label > select, fieldset.config label > input[type=text] {
            min-width: 20em;
        }
    </style>
</asp:Content>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <section class="config">
        <fieldset class="config">
            <legend>
                <asp:Literal runat="server" ID="litGeneral" Text="Geral" /></legend>
            <label class="config">
                <asp:Label ID="lblsitetitle" runat="server" />
                <asp:TextBox ID="txttitle" runat="server" />
            </label>

            <label class="config">
                <asp:Label ID="lblcontainer" runat="server" />
                <asp:DropDownList ID="lstcontainer" runat="server" />
            </label>

            <label class="config">
                <asp:Label ID="lbltemplate" runat="server" />
                <asp:DropDownList ID="lsttemplates" runat="server" />
            </label>

            <label class="config">
                <asp:Label ID="lblbasepath" runat="server" />
                <asp:TextBox ID="txtbasepath" runat="server" Enabled="False" />&nbsp;
            </label>

            <label class="config">
                <asp:Label ID="lblcompatibility" runat="server" />
                <asp:CheckBox ID="chkcompatibility" runat="server" CssClass="checkbox" Enabled="False" />
            </label>

            <label class="config">
                <asp:Label ID="lblemaillogin" runat="server" />
                <asp:CheckBox ID="chkemaillogin" runat="server" CssClass="checkbox" />
            </label>

            <label class="config">
                <asp:Label ID="lblpageexport" runat="server" />
                <asp:CheckBox ID="chkexport" runat="server" CssClass="checkbox" />
            </label>

            <label class="config">
                <asp:Label ID="lblselfregistering" runat="server" />
                <asp:CheckBox ID="chkselfregistering" runat="server" CssClass="checkbox" />
            </label>

            <label class="config">
                <asp:Label ID="lblviewstate" runat="server" />
                <asp:RadioButtonList ID="lstviewstate" runat="server" CssClass="checkbox" RepeatDirection="Horizontal" RepeatLayout="Flow" />
            </label>

            <label class="config">
                <asp:Label ID="lbllogintext" runat="server" />
                <asp:TextBox ID="txtlogintext" runat="server" />
            </label>

            <label class="config">
                <asp:Label ID="lbllanguages" runat="server" />
                <asp:TextBox ID="txtlanguages" runat="server" />
            </label>

            <%--            <label class="config">
                <asp:Label ID="lblloadcontrols" runat="server"/>
                <asp:TextBox ID="txtloadcontrols" runat="server" Width="200px"/>
            </label>--%>
        </fieldset>

        <fieldset class="config">
            <legend><asp:Literal runat="server" ID="litConfigEnc" Text="Proteção de Configuração" /></legend>
            <p><asp:Literal runat="server" ID="litConfigEncDesc" Text="Permite proteger/desproteger algumas definições existentes no web.config do site por meio de criptografia. Esta opção NÂO DEVE ser utilizada para causar recycle no site." /></p>
            <div>
                <asp:Button ID="btnencconfig" runat="server" CssClass="btnEnviar3" />
                <asp:Button ID="btndecconfig" runat="server" CssClass="btnEnviar3" />
            </div>
        </fieldset>

        <fieldset class="config">
            <legend><asp:Literal runat="server" ID="litCaches" Text="Caches" /></legend>
            <p><asp:Literal runat="server" ID="litClearCacheDesc" Text="Limpa todos os caches em memória para este site neste servidor (usuários, menus, grupos, etc...)." /></p>
            <div>
                <asp:Button runat="server" ID="btClearCaches" CssClass="btnEnviar3" />
            </div>
        </fieldset>
    </section>
    <section class="actions">
        <asp:Button ID="btnok" runat="server" CssClass="save" />
    </section>
</asp:Content>
