fedostree/web: Add links to products.json and VM images

This commit is contained in:
Colin Walters 2014-02-12 19:39:18 -05:00
parent ff08e35f98
commit 726df3909d
2 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,7 @@
for (var ref in trees) {
var treeData = trees[ref];
var refUnix = ref.replace(/\//g, '-');
treeData.refUnix = refUnix;
treeData.screenshotUrl = '/results/tasks/smoketest/smoketest/work-' + refUnix + '/screenshot-final.png';
}
$scope.trees = trees;

View File

@ -17,11 +17,16 @@
</ul>
</p>
<h3>Current build status</h3>
<p>The contents of these trees is defined by
the <a href="https://github.com/cgwalters/rpm-ostree/blob/master/fedostree/products.json">products.json</a>
file.</p>
<div ng-repeat="(ref, treedata) in trees">
<div>
<div>Name: {{ ref }}</div>
<div>Description: {{ treedata.comment }}</div>
<div>Packages: {{ treedata.packages }}</div>
<div>VM Image: <a href="images/auto/{{ treedata.refUnix }}">Download</a></div>
<div><a href="{{ treedata.screenshotUrl }}"><img src="{{ treedata.screenshotUrl }}" width="160" height="120"></img></div>
<div><a href="{{ treedata.screenshotUrl }}"><img src="{{ treedata.screenshotUrl }}" width="160" height="120"></img></div>
</div>
</div>