Merge "Adding Angular Identity Projects Panel"
This commit is contained in:
commit
d6b181c8d6
@ -26,7 +26,8 @@
|
||||
*/
|
||||
angular
|
||||
.module('hz.dashboard.identity', [
|
||||
'hz.dashboard.identity.users'
|
||||
'hz.dashboard.identity.users',
|
||||
'hz.dashboard.identity.projects'
|
||||
]);
|
||||
|
||||
})();
|
||||
|
@ -1,2 +1,3 @@
|
||||
|
||||
@import "users/users";
|
||||
@import "projects/projects";
|
||||
|
@ -0,0 +1,33 @@
|
||||
/**
|
||||
* 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.identity.projects
|
||||
* @ng-module
|
||||
* @description
|
||||
* Provides all of the services and widgets required
|
||||
* to support and display the identity projects.
|
||||
*/
|
||||
angular
|
||||
.module('hz.dashboard.identity.projects', [])
|
||||
.constant('hz.dashboard.identity.projects.basePath', basePath());
|
||||
|
||||
function basePath() {
|
||||
return (window.WEBROOT || '') + '/static/dashboard/identity/projects/';
|
||||
}
|
||||
|
||||
})();
|
@ -0,0 +1,24 @@
|
||||
/**
|
||||
* 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('Identity projects module', function() {
|
||||
it('should exist', function() {
|
||||
expect(angular.module('hz.dashboard.identity.projects')).toBeDefined();
|
||||
});
|
||||
});
|
||||
|
||||
})();
|
Loading…
Reference in New Issue
Block a user