Files
vitrage-dashboard/vitrage_dashboard/dashboard/static/dashboard/project/layout/main/main.controller.js
Matthias Runge 7b4cbda930 create a horizon plugin
Move vitragedashboard to vitrage-dashboard/dashboard
vitragealarms to vitrage-dashboard/alarms
vitragetemplates to vitrage-dashboard/templates
etc.

Enable to use this as horizon plugin without the need of
copying over API files, simply place files from enabled
directory in horizons openstack_dashboard/local/enabled
folder.

Change-Id: I38ea4e32abbad75e5432b8c1dfe64511162a7248
2016-11-20 16:24:15 +02:00

15 lines
330 B
JavaScript

(function () {
'use strict';
angular
.module('horizon.dashboard.project.vitrage')
.controller('MainController', MainController);
MainController.$inject = ['$scope', 'vitrageTopologySrv'];
function MainController($scope, vitrageTopologySrv) {
$scope.STATIC_URL = STATIC_URL;
}
})();