mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 00:37:37 -02:30
Update UI build system
* Faster build times * Smaller bundle sizes * Adjust paths * Cleanup npm dependencies * Remove unneded Grunt tasks
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
const templateUrl = require('@components/layout/side-nav.partial.html');
|
||||
|
||||
function atSideNavLink (scope, element, attrs, ctrl) {
|
||||
scope.layoutVm = ctrl;
|
||||
}
|
||||
@@ -12,7 +14,7 @@ function AtSideNavController () {
|
||||
}
|
||||
}
|
||||
|
||||
function atSideNav (pathService) {
|
||||
function atSideNav () {
|
||||
return {
|
||||
restrict: 'E',
|
||||
replace: true,
|
||||
@@ -21,12 +23,10 @@ function atSideNav (pathService) {
|
||||
controllerAs: 'vm',
|
||||
link: atSideNavLink,
|
||||
transclude: true,
|
||||
templateUrl: pathService.getPartialPath('components/layout/side-nav'),
|
||||
templateUrl,
|
||||
scope: {
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
atSideNav.$inject = ['PathService'];
|
||||
|
||||
export default atSideNav;
|
||||
|
||||
Reference in New Issue
Block a user