mirror of
https://github.com/ansible/awx.git
synced 2026-05-18 06:47:41 -02:30
Hosts side of inventory detail page now working through modal dialogs. Fixed pagination on modal list. Test Add/Edit/Delete host buttons. Only piece left is to fix the host name link, which should bring up the Edit dialog.
This commit is contained in:
@@ -50,7 +50,8 @@ angular.module('ansible', [
|
||||
'JobEventsListDefinition',
|
||||
'JobEventFormDefinition',
|
||||
'JobHostDefinition',
|
||||
'GroupsHelper'
|
||||
'GroupsHelper',
|
||||
'HostsHelper'
|
||||
])
|
||||
.config(['$routeProvider', function($routeProvider) {
|
||||
$routeProvider.
|
||||
@@ -96,42 +97,6 @@ angular.module('ansible', [
|
||||
when('/inventories/:id',
|
||||
{ templateUrl: urlPrefix + 'partials/inventories.html', controller: InventoriesEdit }).
|
||||
|
||||
when('/inventories/:inventory_id/hosts',
|
||||
{ templateUrl: urlPrefix + 'partials/inventories.html', controller: HostsList }).
|
||||
|
||||
when('/inventories/:inventory_id/hosts/add',
|
||||
{ templateUrl: urlPrefix + 'partials/inventories.html', controller: HostsAdd }).
|
||||
|
||||
when('/inventories/:inventory_id/hosts/:host_id',
|
||||
{ templateUrl: urlPrefix + 'partials/inventories.html', controller: HostsEdit }).
|
||||
|
||||
when('/inventories/:inventory_id/groups',
|
||||
{ templateUrl: urlPrefix + 'partials/inventories.html', controller: GroupsList }).
|
||||
|
||||
when('/inventories/:inventory_id/groups/add',
|
||||
{ templateUrl: urlPrefix + 'partials/inventories.html', controller: GroupsAdd }).
|
||||
|
||||
when('/inventories/:inventory_id/groups/:group_id',
|
||||
{ templateUrl: urlPrefix + 'partials/inventories.html', controller: GroupsEdit }).
|
||||
|
||||
when('/inventories/:inventory_id/groups/:group_id/children',
|
||||
{ templateUrl: urlPrefix + 'partials/inventories.html', controller: GroupsList }).
|
||||
|
||||
when('/inventories/:inventory_id/groups/:group_id/children/add',
|
||||
{ templateUrl: urlPrefix + 'partials/inventories.html', controller: GroupsAdd }).
|
||||
|
||||
when('/inventories/:inventory_id/groups/:group_id/children/:child_id',
|
||||
{ templateUrl: urlPrefix + 'partials/inventories.html', controller: GroupsEdit }).
|
||||
|
||||
when('/inventories/:inventory_id/groups/:group_id/hosts',
|
||||
{ templateUrl: urlPrefix + 'partials/inventories.html', controller: HostsList }).
|
||||
|
||||
when('/inventories/:inventory_id/groups/:group_id/hosts/add',
|
||||
{ templateUrl: urlPrefix + 'partials/inventories.html', controller: HostsAdd }).
|
||||
|
||||
when('/inventories/:inventory_id/groups/:group_id/hosts/:host_id',
|
||||
{ templateUrl: urlPrefix + 'partials/inventories.html', controller: HostsEdit }).
|
||||
|
||||
when('/organizations', { templateUrl: urlPrefix + 'partials/organizations.html',
|
||||
controller: OrganizationsList }).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user