<%
    my ($retcode,$tracestr,$duration,$menu_items,$prjid) = @_;
    use obfui::cmn;

    my $st = $retcode ? __('Operation has <span class=build-failed>failed</span>.') : 
	sprintf(__('Operation has <span class=build-succeeded>succeeded</span> in %d seconds. '),$duration);
%>
<div id=content>
<%$ $st %> <%= __('Use shortcuts below to repeat build-related commands.') %>
<br>
<% $forge->include('block-menuitems',$menu_items,$prjid); %>
<p>
<%= __('The following output was produced:') %>
<pre>
<%$ $tracestr %>
</pre>
<%$ $st %>
</div>
<div style="padding-top: 40px;">&nbsp;<p>&nbsp;<p>&nbsp;<p></div>
<script language=javascript>
<!--
window.parent['export-data'] =   ge_by_id('content').innerHTML;
-->
</script>
