<%@ Page Language="C#" MasterPageFile="~/2ColMaster.Master" AutoEventWireup="true" CodeBehind="Version.aspx.cs" Inherits="ProcessDefinition.Version" Title="Previous Revision" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentMain" runat="server">
    <h1 class='ui-widget-header processHead'><asp:Literal ID="litTitle" runat="server" /></h1>
            
    <div class="colmask threecol">
	    <div class="colmid">
		    <div class="colleft">
			    <div class="col1">
				    <!-- Column 1 start, middle -->
				    <h2>Comparison Summary</h2>
				    <%= GetComparrisonSummaryHtml() %>				    
				    <!-- Column 1 end -->
			    </div>
			    <div class="col2">
				    <!-- Column 2 start, lhs -->
				    <h2>Comparing revision <%= MinorPrev %></h2>
				    <%= GetRevisionPrevHtml() %>				    
				    <!-- Column 2 end -->
			    </div>
			    <div class="col3">
				    <!-- Column 3 start, rhs -->
				    <h2>To revision <%= Minor %></h2>
				    <%= GetRevisionHtml() %>
				    <!-- Column 3 end -->
			    </div>
		    </div>
        </div>
    </div>
            
    <div id="tabs" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
        <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
            <li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tabs-1">Description</a></li>
        </ul>
        <div id="tabs-1" class="ui-tabs-panel ui-widget-content ui-corner-bottom">
            <div class="postBody">            
                <asp:Literal ID="litBody" runat="server" EnableViewState="false" />
                <br class="clear" />
            </div>
        </div>
    </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-clock"></span><a href="<%=pd.R.GetReposRoot()+"/"+ PrettyTitle %>/Revisions">Revision history</a></li>
        <li class="btn"><span class="ui-icon ui-icon-arrowreturnthick-1-w"></span><a href="<%=pd.R.GetReposRoot()+"/"+PrettyTitle %>">Latest revision</a></li>
    </ul>
    
    <div  class='ui-widget-content ui-corner-all' id='ldChanges'>
    <h3>Changes</h3>
        <ul>
            <li class="btn"><span class="ui-icon ui-icon-arrow-1-n"></span><a href="#$Prev" id="ldPrev">Previous</a></li>
            <li class="btn"><span class="ui-icon ui-icon-shuffle"></span><a href="#$ToggleChange" id="ldToggle">Hide changes</a></li>
            <li class="btn"><span class="ui-icon ui-icon-arrow-1-s"></span><a href="#$Next" id="ldNext">Next</a></li>
        </ul>
     </div>
    
</asp:Content>
