<%@ Page Language="C#" MasterPageFile="~/MasterPages/DefaultLogedContentMasterPage.master" AutoEventWireup="true" Inherits="Cadastro_cadastrousuario" Title="Untitled Page" CodeBehind="cadastrousuario.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ConteudoSideBar" runat="Server">
    Cadastro de usuários:<br />
    <br />
    Altere sua senha ou dados do cadastro.<br />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ConteudoCorpo" runat="Server">
    <table border="0" cellpadding="0" cellspacing="0" style="width: 400px" id="tbComboUsuarios" runat="server">
        <tr>
            <td colspan="3" style="height: 15px; width: 400px;">
                <h6>Administração dos Usuários:</h6>
            </td>
        </tr>
        <tr>
            <td colspan="3" style="height: 15px; width: 400px;">&nbsp;</td>
        </tr>
        <tr>
            <td style="height: 22px; width: 180px;">&nbsp;USUÁRIOS CADASTRADOS:</td>
            <td style="height: 22px; width: 190px;">
                <asp:DropDownList ID="drpUsuarios" runat="server" CssClass="textbox" Width="188px">
                </asp:DropDownList></td>
            <td style="height: 22px; width: 30px;">
                <asp:ImageButton ID="btnOK" runat="server" SkinID="next" CssClass="button" OnClick="btnOK_Click" /></td>
        </tr>
    </table>
    <asp:Panel ID="pnlToken" runat="server">
        <br />
        <fieldset>
            <legend>Token para reset de senha</legend>
            <table>
                <tr>
                    <td style="height: 22px; width: 150px; text-align:right">
                        <asp:ImageButton ID="btnToken" runat="server" CssClass="button" SkinID="token" OnClick="btnToken_Click" />
                    </td>
                    <td style="height: 22px; width: 50px;">&nbsp;Token:
                    </td>
                    <td style="height: 22px; width: 220px;">
                        <asp:TextBox ID="txtToken" runat="server" Width="150px" ReadOnly="True" SkinID="TextBoxReadOnly"></asp:TextBox>
                    </td>

                </tr>

            </table>
        </fieldset>
    </asp:Panel>
    <br />
            <fieldset>
            <legend>Informações Cadastrais
            </legend>
                <br />
    <table border="0" cellpadding="0" cellspacing="0" style="width: 400px" id="tbEdicaoUsuario" runat="server">
        <tr>
            <td style="height: 22px; width: 107px;">&nbsp;Código:</td>
            <td style="height: 22px; width: 220px;">
                <asp:TextBox ID="txtCodigo" runat="server" Width="63px" ReadOnly="True" SkinID="TextBoxReadOnly"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="height: 22px; width: 107px;">&nbsp;Nome Completo:</td>
            <td style="height: 22px; width: 220px;">
                <asp:TextBox ID="txtNome" runat="server" Width="245px" ReadOnly="True"
                    SkinID="TextBoxReadOnly"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="height: 22px; width: 107px;">&nbsp;Login:</td>
            <td style="height: 22px; width: 220px;">
                <asp:TextBox ID="txtLogin" runat="server" Width="245px" ReadOnly="True"
                    SkinID="TextBoxReadOnly"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="height: 22px; width: 107px;">&nbsp; Senha:</td>
            <td style="height: 22px; width: 220px;">
                <asp:TextBox ID="txtSenha" runat="server" TextMode="Password" Width="150px"></asp:TextBox>&nbsp;</td>
        </tr>
        <tr>
            <td style="height: 22px; width: 107px;">&nbsp;
                Confirmar Senha:</td>
            <td style="height: 22px; width: 220px;">
                <asp:TextBox ID="txtConfirmaSenha" runat="server" TextMode="Password"
                    Width="150px"></asp:TextBox>
                <asp:CompareValidator ID="CompareValidator1" runat="server"
                    ControlToCompare="txtConfirmaSenha" ControlToValidate="txtSenha"
                    ErrorMessage="*" ValidationGroup="Salvar"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td style="height: 22px; width: 107px;">&nbsp;Data Nascimento:</td>
            <td style="height: 22px; width: 220px;">
                <asp:TextBox ID="txtDtNasc" runat="server" Width="100px" ReadOnly="True"
                    SkinID="TextBoxReadOnly"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="height: 22px; width: 107px;">&nbsp;CPF:</td>
            <td style="height: 22px; width: 220px;">
                <asp:TextBox ID="txtCPF" runat="server" Width="150px" ReadOnly="True"
                    SkinID="TextBoxReadOnly"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="height: 22px; width: 107px;">&nbsp;E-mail:</td>
            <td style="height: 22px; width: 220px;">
                <asp:TextBox ID="txtEmail" runat="server" Width="245px" SkinID="TextBox"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="height: 50px; width: 107px;"></td>
            <td style="vertical-align: bottom; height: 50px; width: 220px;" align="right">
                <asp:ImageButton ID="btnSalvar" runat="server"
                    SkinID="salvar" CssClass="button" OnClick="btnSalvar_Click"
                    ValidationGroup="Salvar" />
                <asp:ImageButton ID="btnDelete" runat="server" SkinID="delete" CssClass="button"
                    OnClick="btnDelete_Click" />
            </td>
        </tr>
    </table>
                </fieldset>
    <asp:Label ID="lblMsgSucesso" runat="server" SkinID="ErroLabel" Text="Label" ForeColor="Blue"></asp:Label><br />
    <asp:Label ID="lblMsgErro" runat="server" Text="Label" SkinID="ErroLabel"></asp:Label>
    <br />
</asp:Content>

