<%@ Page Title="" Language="C#" MasterPageFile="~/2ColMaster.Master" AutoEventWireup="true"
    CodeBehind="ManageUsers.aspx.cs" Inherits="ProcessDefinition.Auth.Admin.ManageUsers" %>
<%@ Register Src="~/Controls/RepositoryMemberList.ascx" TagPrefix="pd" TagName="RepositoryMemberList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentMain" runat="server">

    <pd:RepositoryMemberList ID="rmlAdmins" runat="server" MemberRole="Admin">
        <Description>
        <p>Admins can add, remove and change the access of team members. Admins also have the rights of authors and readers.</p>
        </Description>
    </pd:RepositoryMemberList>
    <pd:RepositoryMemberList ID="rmlAuthors" runat="server" MemberRole="Author">
        <Description>
        <p>Authors can create processes and define properties and project metadata. Authors also have the rights of readers.</p>
        </Description>
    </pd:RepositoryMemberList>
    
    <pd:RepositoryMemberList ID="rmlCommenters" runat="server" MemberRole="Comment">
        <Description>
        <p>Readers can access, download, send processes and supply process data.</p>
        </Description>
    </pd:RepositoryMemberList>



    <div class="adminUsers ui-corner-all">
        <h3>Add new users as:</h3>
        <div class="reposAccessOptions newUsersAccessOptions">
            <asp:RadioButton ID="admin_4" runat="server" Text="Admin" CssClass="reposAccessOption adminAccess" GroupName="newUsersAccess" />
            <asp:RadioButton ID="author_3" runat="server" Text="Author" CssClass="reposAccessOption authorAccess" GroupName="newUsersAccess" />
            <asp:RadioButton ID="comment_2" runat="server" Text="Reader" Checked="true" CssClass="reposAccessOption commentAccess" GroupName="newUsersAccess" />
        </div>
        <br style="clear: both" />
        <textarea cols="40" rows="1" id="txtNewUsers"></textarea>
        <input type="button" value="Add users" id="btnAddUsers" class="ui-corner-all ui-state-default dpButton"/>
    </div>
    
    <div id="dialog" title="Remove this user?"> 
	    <p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>This user will be removed from this repository. Are you sure?</p> 
    </div> 
    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentOptions" runat="server">
    <ul class='ui-widget-content'>
        <li class="btn"><span class="ui-icon ui-icon-arrowreturnthick-1-w"></span><a href="..">Back to library</a></li>
    </ul>
</asp:Content>