Merge "Dashboard ReOrg - Create 'project' module"

This commit is contained in:
Jenkins 2015-07-08 19:12:07 +00:00 committed by Gerrit Code Review
commit ace22fa69d
4 changed files with 61 additions and 0 deletions

View File

@ -0,0 +1,29 @@
/*
* (c) Copyright 2015 Hewlett-Packard Development Company, L.P.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
(function () {
'use strict';
/**
* @ngdoc hz.dashboard.project
* @ngModule
* @description
* Dashboard module to host project panels.
*/
angular
.module('hz.dashboard.project', []);
})();

View File

@ -0,0 +1,25 @@
/*
* (c) Copyright 2015 Hewlett-Packard Development Company, L.P.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
(function () {
'use strict';
describe('hz.dashboard.project', function () {
it('should be defined', function () {
expect(angular.module('hz.dashboard.project')).toBeDefined();
});
});
})();

View File

@ -23,6 +23,8 @@ ADD_INSTALLED_APPS = ['openstack_dashboard.dashboards.project']
ADD_ANGULAR_MODULES = ['hz.dashboard'] ADD_ANGULAR_MODULES = ['hz.dashboard']
AUTO_DISCOVER_STATIC_FILES = True
LAUNCH_INST = 'dashboard/launch-instance/' LAUNCH_INST = 'dashboard/launch-instance/'
ADD_JS_FILES = [ ADD_JS_FILES = [
@ -70,3 +72,7 @@ ADD_JS_SPEC_FILES = [
LAUNCH_INST + 'keypair/keypair.spec.js', LAUNCH_INST + 'keypair/keypair.spec.js',
LAUNCH_INST + 'configuration/configuration.spec.js', LAUNCH_INST + 'configuration/configuration.spec.js',
] ]
ADD_SCSS_FILES = [
'dashboard/project/project.scss'
]