mirror of
https://github.com/ansible/awx.git
synced 2026-05-03 23:55:28 -02:30
Latest UI changes
This commit is contained in:
@@ -38,12 +38,16 @@ angular.module('ansible', [
|
||||
'TeamsListDefinition',
|
||||
'TeamFormDefinition',
|
||||
'TeamHelper',
|
||||
'CredentialListDefinition',
|
||||
'CredentialsListDefinition',
|
||||
'CredentialFormDefinition',
|
||||
'LookUpHelper'
|
||||
'LookUpHelper',
|
||||
'JobTemplatesListDefinition'
|
||||
])
|
||||
.config(['$routeProvider', function($routeProvider) {
|
||||
$routeProvider.
|
||||
when('/job_templates', { templateUrl: urlPrefix + 'partials/job_templates.html',
|
||||
controller: JobTemplatesList }).
|
||||
|
||||
when('/inventories', { templateUrl: urlPrefix + 'partials/inventories.html',
|
||||
controller: InventoriesList }).
|
||||
|
||||
@@ -181,8 +185,10 @@ angular.module('ansible', [
|
||||
if (base == '') {
|
||||
base = 'organizations';
|
||||
$location.path('/organizations');
|
||||
$('.nav-tabs a[href="#' + base + '"]').tab('show');
|
||||
}
|
||||
else {
|
||||
base.replace(/\_/g,' ');
|
||||
$('.nav-tabs a[href="#' + base + '"]').tab('show');
|
||||
}
|
||||
}]);
|
||||
|
||||
Reference in New Issue
Block a user