<%@ Page Title="" Language="C#" MasterPageFile="~/2ColMaster.Master" AutoEventWireup="true"
    CodeBehind="ProcessLibrarySettings.aspx.cs" Inherits="ProcessDefinition.Auth.Admin.ProcessLibrarySettings" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentMain" runat="server">
    <h2>
        Process Type</h2>
    <p class="hBlurb ui-state-highlight">
        Select the process type that represents a process in this process library.<br />
        <br />
        <asp:Label ID="lblProcessType" runat="server" Text="Available types:" />
        <dp:MissingDropDownList ID="ddlProcessType" runat="server" DataSourceID="odsProcessTypes"
            DataTextField="ProcessTypeName" DataValueField="ProcessTypeId" AppendDataBoundItems="true">
            <asp:ListItem Value="-1" Text="Please select a type" />
        </dp:MissingDropDownList>
    </p>
    <h2>
        Role Process Type</h2>
    <p class="hBlurb ui-state-highlight">
        Select the process type that represents a role in this process library.<br />
        <br />
        <asp:Label ID="lblPersonType" runat="server" Text="Available types:" />
        <dp:MissingDropDownList ID="ddlPersonType" runat="server" DataSourceID="odsProcessTypes"
            DataTextField="ProcessTypeName" DataValueField="ProcessTypeId" AppendDataBoundItems="true">
            <asp:ListItem Value="-1" Text="Please select a type" />
        </dp:MissingDropDownList>
    </p>
    <asp:ObjectDataSource ID="odsProcessTypes" runat="server" OldValuesParameterFormatString="original_{0}"
        SelectMethod="GetProcessTypes" TypeName="DevProcess.ProcessDefinitionService.ProcessDefinitionManager">
        <SelectParameters>
            <asp:Parameter Name="repositoryName" Type="String" />
        </SelectParameters>
    </asp:ObjectDataSource>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentOptions" runat="server">
    <ul class='ui-widget-content'>
        <li class="btn"><span class="ui-icon ui-icon-disk"></span>
            <asp:LinkButton ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" OnClientClick="javascript: this.innerHTML='Saving...'" /></li>
    </ul>
    <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>
