forked from lix-project/hydra
Fix indentation of build.tt
This commit is contained in:
parent
f544c63607
commit
b5d59c5c63
1 changed files with 429 additions and 448 deletions
|
@ -62,7 +62,6 @@
|
||||||
</table>
|
</table>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
|
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
<li class="active"><a href="#tabs-summary" data-toggle="tab">Summary</a></li>
|
<li class="active"><a href="#tabs-summary" data-toggle="tab">Summary</a></li>
|
||||||
<li><a href="#tabs-information" data-toggle="tab">Details</a></li>
|
<li><a href="#tabs-information" data-toggle="tab">Details</a></li>
|
||||||
|
@ -72,7 +71,9 @@
|
||||||
[% IF build.dependents %]<li><a href="#tabs-usedby" data-toggle="tab">Used by</a></li>[% END%]
|
[% IF build.dependents %]<li><a href="#tabs-usedby" data-toggle="tab">Used by</a></li>[% END%]
|
||||||
[% IF prevBuilds %]<li><a href="#tabs-history" data-toggle="tab">History chart</a></li>[% END %]
|
[% IF prevBuilds %]<li><a href="#tabs-history" data-toggle="tab">History chart</a></li>[% END %]
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div id="generic-tabs" class="tab-content">
|
<div id="generic-tabs" class="tab-content">
|
||||||
|
|
||||||
<div id="tabs-summary" class="tab-pane active">
|
<div id="tabs-summary" class="tab-pane active">
|
||||||
|
|
||||||
<table class="layoutTable">
|
<table class="layoutTable">
|
||||||
|
@ -88,9 +89,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Status:</th>
|
<th>Status:</th>
|
||||||
<td>
|
<td>[% INCLUDE renderStatus build=build icon=0 %]</td>
|
||||||
[% INCLUDE renderStatus build=build icon=0 %]
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>System:</th>
|
<th>System:</th>
|
||||||
|
@ -110,16 +109,12 @@
|
||||||
[% IF build.iscachedbuild %]
|
[% IF build.iscachedbuild %]
|
||||||
<tr>
|
<tr>
|
||||||
<th>Cached from:</th>
|
<th>Cached from:</th>
|
||||||
<td>
|
<td>[% INCLUDE renderFullBuildLink build=cachedBuild %]</td>
|
||||||
[% INCLUDE renderFullBuildLink build=cachedBuild %]
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
[% ELSE %]
|
[% ELSE %]
|
||||||
<tr>
|
<tr>
|
||||||
<th>Duration:</th>
|
<th>Duration:</th>
|
||||||
<td>
|
<td>[% INCLUDE renderDuration duration = build.stoptime - build.starttime %]; finished at [% INCLUDE renderDateTime timestamp = build.stoptime %]</td>
|
||||||
[% INCLUDE renderDuration duration = build.stoptime - build.starttime %]; finished at [% INCLUDE renderDateTime timestamp = build.stoptime %]
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF log_exists(build.drvpath) %]
|
[% IF log_exists(build.drvpath) %]
|
||||||
|
@ -201,18 +196,19 @@
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
[% IF build.errormsg && build.buildstatus != 5 %]
|
[% IF build.errormsg && build.buildstatus != 5 %]
|
||||||
|
|
||||||
<h2 id="nix-error">Nix error output</h2>
|
<h2 id="nix-error">Nix error output</h2>
|
||||||
|
|
||||||
<pre class="buildlog">[% HTML.escape(build.errormsg) %]</pre>
|
<pre class="buildlog">[% HTML.escape(build.errormsg) %]</pre>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
[% IF logtext %]
|
[% IF logtext %]
|
||||||
<h2>Log</h2>
|
<h2>Log</h2>
|
||||||
<pre class="buildlog">[% HTML.escape(logtext) %]</pre>
|
<pre class="buildlog">[% HTML.escape(logtext) %]</pre>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="tabs-information" class="tab-pane">
|
<div id="tabs-information" class="tab-pane">
|
||||||
|
|
||||||
<table class="layoutTable">
|
<table class="layoutTable">
|
||||||
|
@ -252,21 +248,11 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Derivation store path:</th>
|
<th>Derivation store path:</th>
|
||||||
<td>
|
<td><tt>[% build.drvpath %]</tt>[% IF drvAvailable %] (<a href="[% c.uri_for('/build' build.id 'deps') %]#buildtime">build-time dependencies</a>)[% END %]</td>
|
||||||
<tt>[% build.drvpath %]</tt>
|
|
||||||
[% IF drvAvailable %]
|
|
||||||
(<a href="[% c.uri_for('/build' build.id 'deps') %]#buildtime">build-time dependencies</a>)
|
|
||||||
[% END %]
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Output store paths:</th>
|
<th>Output store paths:</th>
|
||||||
<td>
|
<td><tt>[% INCLUDE renderOutputs outputs=build.buildoutputs %]</tt> [% IF available %](<a href="[% c.uri_for('/build' build.id 'deps') %]#runtime">runtime dependencies</a>)[% END %]</td>
|
||||||
<tt>[% INCLUDE renderOutputs outputs=build.buildoutputs %]</tt>
|
|
||||||
[% IF available %]
|
|
||||||
(<a href="[% c.uri_for('/build' build.id 'deps') %]#runtime">runtime dependencies</a>)
|
|
||||||
[% END %]
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Time added:</th>
|
<th>Time added:</th>
|
||||||
|
@ -304,6 +290,7 @@
|
||||||
[% END %]
|
[% END %]
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="tabs-buildinputs" class="tab-pane">
|
<div id="tabs-buildinputs" class="tab-pane">
|
||||||
|
|
||||||
<table class="tablesorter table table-striped table-condensed">
|
<table class="tablesorter table table-striped table-condensed">
|
||||||
|
@ -331,7 +318,7 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<p/>
|
<br />
|
||||||
|
|
||||||
[% IF prevBuild %]
|
[% IF prevBuild %]
|
||||||
<h3>Changes since previous build: [% INCLUDE renderFullBuildLink build=prevBuild, hideProjectName=1, hideJobsetName=1 %]</h3>
|
<h3>Changes since previous build: [% INCLUDE renderFullBuildLink build=prevBuild, hideProjectName=1, hideJobsetName=1 %]</h3>
|
||||||
|
@ -353,7 +340,6 @@
|
||||||
</div>
|
</div>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
|
|
||||||
[% IF build.dependents %]
|
[% IF build.dependents %]
|
||||||
<div id="tabs-usedby" class="tab-pane">
|
<div id="tabs-usedby" class="tab-pane">
|
||||||
|
|
||||||
|
@ -378,6 +364,7 @@
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
[% IF prevBuilds %]
|
[% IF prevBuilds %]
|
||||||
<div id="tabs-history" class="tab-pane">
|
<div id="tabs-history" class="tab-pane">
|
||||||
<h2>Build time history (in seconds)</h2>
|
<h2>Build time history (in seconds)</h2>
|
||||||
|
@ -390,10 +377,10 @@
|
||||||
$(function() {
|
$(function() {
|
||||||
var d = [];
|
var d = [];
|
||||||
var ids = [];
|
var ids = [];
|
||||||
[% FOREACH prevbuild IN prevBuilds %][% IF prevbuild.build.starttime != 0 %]
|
[% FOREACH prevbuild IN prevBuilds; IF prevbuild.build.starttime != 0 %]
|
||||||
d.push([[% prevbuild.starttime * 1000 %],[% prevbuild.get_column('actualBuildTime') %]]);
|
d.push([[% prevbuild.starttime * 1000 %],[% prevbuild.get_column('actualBuildTime') %]]);
|
||||||
ids[[% prevbuild.starttime * 1000 %]] = [% prevbuild.id %] ;
|
ids[[% prevbuild.starttime * 1000 %]] = [% prevbuild.id %] ;
|
||||||
[% END %][% END %]
|
[% END; END %]
|
||||||
|
|
||||||
var options = {
|
var options = {
|
||||||
xaxis: { mode: "time" },
|
xaxis: { mode: "time" },
|
||||||
|
@ -446,7 +433,6 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<h2>Store path size history (in MB)</h2>
|
<h2>Store path size history (in MB)</h2>
|
||||||
|
@ -456,10 +442,10 @@
|
||||||
$(function() {
|
$(function() {
|
||||||
var d = [];
|
var d = [];
|
||||||
var ids = [];
|
var ids = [];
|
||||||
[% FOREACH prevbuild IN prevBuilds %][% IF prevbuild.size != 0 %]
|
[% FOREACH prevbuild IN prevBuilds; IF prevbuild.size != 0 %]
|
||||||
d.push([[% prevbuild.starttime * 1000 %],[% prevbuild.size / (1024*1024.0) %]]);
|
d.push([[% prevbuild.starttime * 1000 %],[% prevbuild.size / (1024*1024.0) %]]);
|
||||||
ids[[% prevbuild.starttime * 1000 %]] = [% prevbuild.id %] ;
|
ids[[% prevbuild.starttime * 1000 %]] = [% prevbuild.id %] ;
|
||||||
[% END %][% END %]
|
[% END; END %]
|
||||||
|
|
||||||
var options = {
|
var options = {
|
||||||
xaxis: { mode: "time" },
|
xaxis: { mode: "time" },
|
||||||
|
@ -474,7 +460,6 @@
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
var plot = $.plot($("#placeholder-size"), [d], options);
|
var plot = $.plot($("#placeholder-size"), [d], options);
|
||||||
|
|
||||||
var overview = $.plot($("#overview-size"), [d], {
|
var overview = $.plot($("#overview-size"), [d], {
|
||||||
|
@ -512,10 +497,8 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
|
@ -525,7 +508,5 @@
|
||||||
$('#tab').tab('show');
|
$('#tab').tab('show');
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue