<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Web.Master" CodeBehind="Admin.aspx.vb" Inherits="AFMReportServer.Admin" %>
   <%@ MasterType VirtualPath="/Web.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="griddiv" >
                    <table width="900px" border="0px" cellpadding="0" cellspacing="0"  style="text-align: center;margin-left:auto;margin-right:auto;">
                        <tr><td colspan="2" class="label" style="text-align:center;">Admins have access to all reports and the User Manager section. Users only have access to the reports specified below.</td></tr>
                        <tr>
                            <td class="label" style="width:100px;">
                                User Type:
                            </td>
                            <td style="width:800px;text-align:left;">
                                <asp:RadioButtonList CssClass="label" ID="optUserType" runat="server" RepeatDirection="Horizontal">
                                    <asp:ListItem Text="User" Value="User" Selected="True"></asp:ListItem>
                                    <asp:ListItem Text="Admin" Value="Admin"></asp:ListItem>
                                </asp:RadioButtonList>
                            </td>
                        </tr>
                        <tr>
                            <td class="label">
                                Name:
                            </td>
                            <td style="text-align:left;">
                                <asp:TextBox ID="txtName" MaxLength="50" CssClass="textinput" runat="server" Width="200px"></asp:TextBox>
                                <asp:RequiredFieldValidator runat="server" ID="vldName" ControlToValidate="txtName"
                                    ValidationGroup="page" ErrorMessage=" * Required" CssClass="error" Display="Dynamic"></asp:RequiredFieldValidator>
                                
                            </td>
                        </tr>
                        <tr>
                            <td class="label">
                                Username:
                            </td>
                            <td style="text-align:left;">
                                <asp:TextBox ID="txtUserName" MaxLength="50" CssClass="textinput" runat="server"
                                    Width="200px"></asp:TextBox>
                                <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator1" ControlToValidate="txtUserName"
                                    ValidationGroup="page" ErrorMessage=" * Required" CssClass="error" Display="Dynamic"></asp:RequiredFieldValidator>
                                &nbsp;
                            </td>
                        </tr>
                       <tr>
                            <td class="label">
                                Password:
                            </td>
                            <td style="text-align:left;">
                                <asp:TextBox ID="txtPassword" MaxLength="50" CssClass="textinput" runat="server"
                                    Width="200px" TextMode="Password"></asp:TextBox>
                                <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator2" ControlToValidate="txtPassword"
                                    ValidationGroup="page" ErrorMessage=" * Required" CssClass="error" Display="Dynamic"></asp:RequiredFieldValidator>
                                &nbsp;
                            </td>
                       </tr>
                       <tr>
                            <td class="label">
                                InActive:
                            </td>
                            <td style="text-align:left;">
                                <asp:CheckBox CssClass="label" Text="" ID="chkDisabled" runat="server" />
                                </td>
                        </tr>
                        <tr>
                            <td class="label">
                                Reports:
                            </td>
                            <td style="text-align:left;">
                                <table width="800px" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td style="width:350px;text-align:center;" class="label">Available Reports<br /><asp:ListBox ID="lstAvailableReports" runat="server" Width="350px" Height="250px" CssClass="textinput"></asp:ListBox></td>
                                        <td style="width:100px;text-align:center"><asp:Button ID="btnAddReport" runat="server" Text="Add >" Width="95px" /><br /><br /><asp:Button ID="btnRemoveReport" runat="server" Text="< Remove" Width="95px" /></td>
                                        <td style="width:350px;text-align:center;" class="label">Current Reports<br /><asp:ListBox ID="lstCurrentReports" runat="server" Width="350px" Height="250px" CssClass="textinput"></asp:ListBox></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        
                        <tr>
                            <td></td>
                            <td style="height:50px;">
                                <asp:Button ID="btnSave" runat="server" Text="Save" ValidationGroup="page" Width="75px" />&nbsp;
                                <asp:Button ID="btnCancel" runat="server" Text="Cancel" Width="75px" />
                                <asp:Button ID="btnDelete" runat="server" Text="Delete" Width="75px" />
                                <asp:TextBox ID="txtID" runat="server" Visible="False" Width="1px" />
                                <asp:TextBox ID="txtPassword2" runat="server" Width="1px" Visible="False"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
    </div>
</asp:Content>
