<%@ Page Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="EditTasks.aspx.cs" Inherits="ProcessDefinition.EditTasks" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentBody" runat="server">
<h2><asp:Literal ID="litTitle" runat="server" /></h2>
    <dp:StepList ID="steps" runat="server" />
<table id="tblStepEditor" width="100%">
        <tr>
        <td id="tblCellSteps"  width="70%">
            <div id="tasks">
                <asp:Literal ID="litEditTask" runat="server" EnableViewState="false" />            
            </div>

        </td>
        <td id="tblCellTasks">
        <div class="tblContentMainOpt">
    <ul class='ui-widget-content'>
        <li class="btn" id="btnCancel"><span class="ui-icon ui-icon-arrowreturnthick-1-w"></span><a href="#">Cancel</a></li>
    </ul>
    <ul class='ui-widget-content'>
        <li class="btn" id="btnSave"><span class="ui-icon ui-icon-disk"></span><a href="#">Save</a>
    </ul> 
    
    <ul class='ui-widget-content ui-corner-all'>
        <li class="btn"><span class="ui-icon ui-icon-search"></span><a href="<%=pd.R.GetReposRoot()+"/"+PrettyTitle %>/Latest" target="_blank">View latest</a></li>
    </ul> 
        
    </div>
            <h2>Add text task</h2>
            <ul id="taskPlaceholderList">
            <li id='taskPlaceholder' data-dragId='taskPlaceholder'>
            <div id='placeholderDrag'>
            <dp:JqTextBox ID="txtPlaceholder" runat="server" Columns="40" /><span id='placeholderDragging' style="display:none;"></span><span class='ui-icon ui-icon-arrow-4-diag' id='addPlaceholder'></span>
            </div>
            </li>
            </ul>
            <h2>Add process task</h2>
            <dp:JqTextBox ID="txtFilter" runat="server" Columns="40" /><input type="button" id='btnFilter' value="Find" onclick="filterChanged();" class="ui-corner-all ui-state-default dpButton" />
            <div id="procDragList">
            <dp:ProjectTagProcessList id="procDragTagList" runat="server" />
            </div>
        
         </td>
         </tr>
         </table>

    <div id="dlgProperties" title="Task properties" style="display:none;">
        <dp:JqTextBox ID="txtName" runat="server" LabelText="Name" AddLineBreak="true" />
        <label for="txtDescription">Notes</label><br />
        <dp:JqTextBox ID="txtDescription" runat="server" TextBoxMode="MultiLine" Columns="65"/>
    </div>
    <div id="dlgNewIterations" title="Add iterations" style="display:none;">
        <label for="txtNewIter">New iterations</label><br />
        <dp:JqTextBox ID="txtNewIter" runat="server" TextBoxMode="MultiLine" Columns="65"/>
    </div>
    <div id="dlgRemovalReason" title="Task removal" style="display:none;">
        <label for="txtRemovalReason">Reason for removal</label><br />
        <dp:JqTextBox ID="txtRemovalReason" runat="server" TextBoxMode="MultiLine" Columns="65"/>
    </div>
    <div id="dlgChooseAlternative" title="Choose alternative" style="display:none;">
        <label>Alternative group: </label><label id="lblAltGroup"></label> <br />
        <select id="listAlternatives">
        </select>

    </div>


</asp:Content>
