rpm-ostree/fedostree/web/app.js
Colin Walters a3a65fd7b5 Switch to taking JSON as input, generate "treefile" from products.json
This is somewhat similar to what we've been doing with Continuous; we
take the manifest.json, and turn it into a "snapshot".  Except here
there is a notion of inheritance.

This gets stored into the tree as /usr/share/rpm-ostree/treefile.json.

Additionally, it goes into the autobuilder directory in
products-built.json.  Though really we should split up that file,
since it will be kind of...large.
2014-02-12 18:28:42 -05:00

24 lines
606 B
JavaScript

(function(exports) {
'use strict';
var rpmostree = angular.module('rpm-ostree', [
'ngRoute',
'rpmostreeControllers',
]);
rpmostree.config(['$routeProvider', function($routeProvider) {
$routeProvider.
when('/', {
templateUrl: 'partials/home.html',
controller: 'rpmostreeHomeCtrl'
}).
when('/installation', {
templateUrl: 'partials/installation.html'
}).
otherwise({
redirectTo: 'partials/unknown.html',
});
}]);
})(window);