Use broccoli to build app

This commit is contained in:
Joe Fiorini
2015-02-04 09:38:54 -05:00
parent 2eb16eb04e
commit a9e0de98d7
150 changed files with 17234 additions and 16381 deletions

5
.gitignore vendored
View File

@@ -32,6 +32,10 @@ tar-build
/bower.json /bower.json
/package.json /package.json
node_modules/** node_modules/**
/tmp
# UI build debugging
/DEBUG-*
# Testing # Testing
.coverage .coverage
@@ -63,3 +67,4 @@ setup/inventory
env/* env/*
nohup.out nohup.out
reports reports

View File

@@ -8,6 +8,7 @@
"latedef": "nofunc", "latedef": "nofunc",
"noarg": true, "noarg": true,
"nonew": true, "nonew": true,
"maxerr": 10000,
"notypeof": true, "notypeof": true,
"globals": { "globals": {
"angular":false, "angular":false,

View File

@@ -10,6 +10,8 @@ var concatFiles = require('broccoli-sourcemap-concat');
var compileLess = require('broccoli-less-single'); var compileLess = require('broccoli-less-single');
var gzip = require('broccoli-gzip'); var gzip = require('broccoli-gzip');
var debug = require('broccoli-stew').debug; var debug = require('broccoli-stew').debug;
var ES6 = require('broccoli-es6modules');
var Funnel = require('broccoli-funnel');
// Get extra args after '--' // Get extra args after '--'
var allArgs = parseArgs(process.argv.slice(2), { '--': true }); var allArgs = parseArgs(process.argv.slice(2), { '--': true });
@@ -19,8 +21,15 @@ var shouldCompress = isUndefined(args.compress) ? false : args.compress;
var debugMode = isUndefined(args.debug) ? false : args.debug; var debugMode = isUndefined(args.debug) ? false : args.debug;
var silentMode = isUndefined(args.silent) ? false : args.silent; var silentMode = isUndefined(args.silent) ? false : args.silent;
var appName = 'tower';
if (debugMode) {
log('*** DEBUG MODE ***');
}
var vendorFiles = var vendorFiles =
[ 'jquery/dist/jquery.js', [ 'loader.js/loader.js',
'jquery/dist/jquery.js',
'angular/angular.js', 'angular/angular.js',
'angular-route/angular-route.js', 'angular-route/angular-route.js',
'angular-resource/angular-resource.js', 'angular-resource/angular-resource.js',
@@ -34,7 +43,7 @@ var vendorFiles =
'angular-animate/angular-animate.js', 'angular-animate/angular-animate.js',
'angular-tz-extensions/packages/jstimezonedetect/jstz.js', 'angular-tz-extensions/packages/jstimezonedetect/jstz.js',
'socket.io-client/dist/socket.io.js', 'socket.io-client/dist/socket.io.js',
'd3js/build/d3.v3.js', 'd3/d3.js',
'novus-nvd3/nv.d3.js', 'novus-nvd3/nv.d3.js',
'angular-codemirror/lib/AngularCodeMirror.js', 'angular-codemirror/lib/AngularCodeMirror.js',
'timezone-js/src/date.js', 'timezone-js/src/date.js',
@@ -59,11 +68,21 @@ var vendorFiles =
]; ];
function log() { function log() {
var msgs = Array.prototype.splice.apply(arguments); var msgs = Array.prototype.slice.apply(arguments);
if (!silentMode) { if (!silentMode) {
console.log.apply(null, msgs); console.log.apply(null, msgs);
} }
return msgs.slice(-1);
}
function doDebug(name, tree) {
if (debugMode) {
tree = debug(tree, { name: name });
}
return tree;
} }
function prependLibDir(file) { function prependLibDir(file) {
@@ -73,21 +92,44 @@ function prependLibDir(file) {
vendorFiles = vendorFiles.map(prependLibDir); vendorFiles = vendorFiles.map(prependLibDir);
var root = 'awx/ui/static'; var root = 'awx/ui/static';
var app = root; var app = new Funnel(root,
{ include: flatten([vendorFiles, 'js/**/*.js'])
});
function log(msg, obj) { app = doDebug('initial-select', app);
console.log(msg + ":", obj);
return obj; var appStyles = new Funnel(root,
} { include: ['**/*.less']
});
var applicationJS = new Funnel(app,
{ include: ['**/*.js'],
srcDir: 'js',
destDir: appName
});
applicationJS = doDebug('app-funnel', applicationJS);
var vendorJS = new Funnel(app,
{ include: ['lib/**/*.js']
});
vendorJS = doDebug('vendor-funnel', vendorJS);
applicationJS = new ES6(applicationJS);
app = mergeTrees([vendorJS, applicationJS]);
app = doDebug('merged-app-vendor', app);
app = concatFiles(app, app = concatFiles(app,
{ outputFile: 'tower.concat.js', { outputFile: 'tower.concat.js',
inputFiles: flatten([vendorFiles, ['js/**/*.js', 'js/app.js', 'js/config.js', 'js/local_config.js']]) inputFiles: flatten([vendorFiles, ['tower/**/*.js', 'tower/app.js', 'tower/config.js', 'tower/local_config.js']])
}); });
app = debug(app, {name: 'concat'}); app = doDebug('concat', app);
var styles = compileLess(path.join(root, 'less'), 'ansible-ui.less', 'tower.min.css'); var styles = compileLess(appStyles, 'less/ansible-ui.less', 'tower.min.css');
app = mergeTrees([app, styles]); app = mergeTrees([app, styles]);

View File

@@ -7,8 +7,7 @@
* *
*/ */
var urlPrefix, var urlPrefix;
$AnsibleConfig;
if ($basePath) { if ($basePath) {
urlPrefix = $basePath; urlPrefix = $basePath;
@@ -18,17 +17,46 @@ if ($basePath) {
urlPrefix = $basePath; urlPrefix = $basePath;
} }
import * as Helpers from 'tower/helpers';
import * as Forms from 'tower/forms';
import * as Lists from 'tower/lists';
import * as Widgets from 'tower/widgets';
import * as Help from 'tower/help';
import {Home, HomeGroups, HomeHosts} from 'tower/controllers/Home';
import {SocketsController} from 'tower/controllers/Sockets';
import {Authenticate} from 'tower/controllers/Authentication';
import {CredentialsAdd, CredentialsEdit, CredentialsList} from 'tower/controllers/Credentials';
import {JobsListController} from 'tower/controllers/Jobs';
import {PortalController} from 'tower/controllers/Portal';
angular.module('Tower', [ import dataServices from 'tower/services/_data-services';
import dashboardGraphs from 'tower/directives/_dashboard-graphs';
import {JobDetailController} from 'tower/controllers/JobDetail';
import {JobStdoutController} from 'tower/controllers/JobStdout';
import {JobTemplatesList, JobTemplatesAdd, JobTemplatesEdit} from 'tower/controllers/JobTemplates';
import {ScheduleEditController} from 'tower/controllers/Schedules';
import {ProjectsList, ProjectsAdd, ProjectsEdit} from 'tower/controllers/Projects';
import {OrganizationsList, OrganizationsAdd, OrganizationsEdit} from 'tower/controllers/Organizations';
import {InventoriesList, InventoriesAdd, InventoriesEdit} from 'tower/controllers/Inventories';
import {AdminsList} from 'tower/controllers/Admins';
import {UsersList, UsersAdd, UsersEdit} from 'tower/controllers/Users';
import {TeamsList, TeamsAdd, TeamsEdit} from 'tower/controllers/Teams';
import {PermissionsAdd, PermissionsList, PermissionsEdit} from 'tower/controllers/Permissions';
var tower = angular.module('Tower', [
'ngRoute', 'ngRoute',
'ngSanitize', 'ngSanitize',
'ngCookies', 'ngCookies',
'RestServices', 'RestServices',
'DataServices', dataServices.name,
'DashboardGraphs', dashboardGraphs.name,
'AuthService', 'AuthService',
'Utilities', 'Utilities',
'LicenseHelper', Helpers.License.name,
'OrganizationFormDefinition', 'OrganizationFormDefinition',
'UserFormDefinition', 'UserFormDefinition',
'FormGenerator', 'FormGenerator',
@@ -138,267 +166,267 @@ angular.module('Tower', [
when('/jobs', { when('/jobs', {
templateUrl: urlPrefix + 'partials/jobs.html', templateUrl: urlPrefix + 'partials/jobs.html',
controller: 'JobsListController' controller: JobsListController
}). }).
when('/portal', { when('/portal', {
templateUrl: urlPrefix + 'partials/portal.html', templateUrl: urlPrefix + 'partials/portal.html',
controller: 'PortalController' controller: PortalController
}). }).
when('/jobs/:id', { when('/jobs/:id', {
templateUrl: urlPrefix + 'partials/job_detail.html', templateUrl: urlPrefix + 'partials/job_detail.html',
controller: 'JobDetailController' controller: JobDetailController
}). }).
when('/jobs/:id/stdout', { when('/jobs/:id/stdout', {
templateUrl: urlPrefix + 'partials/job_stdout.html', templateUrl: urlPrefix + 'partials/job_stdout.html',
controller: 'JobStdoutController' controller: JobStdoutController
}). }).
when('/job_templates', { when('/job_templates', {
templateUrl: urlPrefix + 'partials/job_templates.html', templateUrl: urlPrefix + 'partials/job_templates.html',
controller: 'JobTemplatesList' controller: JobTemplatesList
}). }).
when('/job_templates/add', { when('/job_templates/add', {
templateUrl: urlPrefix + 'partials/job_templates.html', templateUrl: urlPrefix + 'partials/job_templates.html',
controller: 'JobTemplatesAdd' controller: JobTemplatesAdd
}). }).
when('/job_templates/:template_id', { when('/job_templates/:template_id', {
templateUrl: urlPrefix + 'partials/job_templates.html', templateUrl: urlPrefix + 'partials/job_templates.html',
controller: 'JobTemplatesEdit' controller: JobTemplatesEdit
}). }).
when('/job_templates/:id/schedules', { when('/job_templates/:id/schedules', {
templateUrl: urlPrefix + 'partials/schedule_detail.html', templateUrl: urlPrefix + 'partials/schedule_detail.html',
controller: 'ScheduleEditController' controller: ScheduleEditController
}). }).
when('/projects', { when('/projects', {
templateUrl: urlPrefix + 'partials/projects.html', templateUrl: urlPrefix + 'partials/projects.html',
controller: 'ProjectsList' controller: ProjectsList
}). }).
when('/projects/add', { when('/projects/add', {
templateUrl: urlPrefix + 'partials/projects.html', templateUrl: urlPrefix + 'partials/projects.html',
controller: 'ProjectsAdd' controller: ProjectsAdd
}). }).
when('/projects/:id', { when('/projects/:id', {
templateUrl: urlPrefix + 'partials/projects.html', templateUrl: urlPrefix + 'partials/projects.html',
controller: 'ProjectsEdit' controller: ProjectsEdit
}). }).
when('/projects/:id/schedules', { when('/projects/:id/schedules', {
templateUrl: urlPrefix + 'partials/schedule_detail.html', templateUrl: urlPrefix + 'partials/schedule_detail.html',
controller: 'ScheduleEditController' controller: ScheduleEditController
}). }).
when('/projects/:project_id/organizations', { when('/projects/:project_id/organizations', {
templateUrl: urlPrefix + 'partials/projects.html', templateUrl: urlPrefix + 'partials/projects.html',
controller: 'OrganizationsList' controller: OrganizationsList
}). }).
when('/projects/:project_id/organizations/add', { when('/projects/:project_id/organizations/add', {
templateUrl: urlPrefix + 'partials/projects.html', templateUrl: urlPrefix + 'partials/projects.html',
controller: 'OrganizationsAdd' controller: OrganizationsAdd
}). }).
when('/inventories', { when('/inventories', {
templateUrl: urlPrefix + 'partials/inventories.html', templateUrl: urlPrefix + 'partials/inventories.html',
controller: 'InventoriesList' controller: InventoriesList
}). }).
when('/inventories/add', { when('/inventories/add', {
templateUrl: urlPrefix + 'partials/inventories.html', templateUrl: urlPrefix + 'partials/inventories.html',
controller: 'InventoriesAdd' controller: InventoriesAdd
}). }).
when('/inventories/:inventory_id', { when('/inventories/:inventory_id', {
templateUrl: urlPrefix + 'partials/inventory-edit.html', templateUrl: urlPrefix + 'partials/inventory-edit.html',
controller: 'InventoriesEdit' controller: InventoriesEdit
}). }).
when('/organizations', { when('/organizations', {
templateUrl: urlPrefix + 'partials/organizations.html', templateUrl: urlPrefix + 'partials/organizations.html',
controller: 'OrganizationsList' controller: OrganizationsList
}). }).
when('/organizations/add', { when('/organizations/add', {
templateUrl: urlPrefix + 'partials/organizations.html', templateUrl: urlPrefix + 'partials/organizations.html',
controller: 'OrganizationsAdd' controller: OrganizationsAdd
}). }).
when('/organizations/:organization_id', { when('/organizations/:organization_id', {
templateUrl: urlPrefix + 'partials/organizations.html', templateUrl: urlPrefix + 'partials/organizations.html',
controller: 'OrganizationsEdit' controller: OrganizationsEdit
}). }).
when('/organizations/:organization_id/admins', { when('/organizations/:organization_id/admins', {
templateUrl: urlPrefix + 'partials/organizations.html', templateUrl: urlPrefix + 'partials/organizations.html',
controller: 'AdminsList' controller: AdminsList
}). }).
when('/organizations/:organization_id/users', { when('/organizations/:organization_id/users', {
templateUrl: urlPrefix + 'partials/users.html', templateUrl: urlPrefix + 'partials/users.html',
controller: 'UsersList' controller: UsersList
}). }).
when('/organizations/:organization_id/users/add', { when('/organizations/:organization_id/users/add', {
templateUrl: urlPrefix + 'partials/users.html', templateUrl: urlPrefix + 'partials/users.html',
controller: 'UsersAdd' controller: UsersAdd
}). }).
when('/organizations/:organization_id/users/:user_id', { when('/organizations/:organization_id/users/:user_id', {
templateUrl: urlPrefix + 'partials/users.html', templateUrl: urlPrefix + 'partials/users.html',
controller: 'UsersEdit' controller: UsersEdit
}). }).
when('/teams', { when('/teams', {
templateUrl: urlPrefix + 'partials/teams.html', templateUrl: urlPrefix + 'partials/teams.html',
controller: 'TeamsList' controller: TeamsList
}). }).
when('/teams/add', { when('/teams/add', {
templateUrl: urlPrefix + 'partials/teams.html', templateUrl: urlPrefix + 'partials/teams.html',
controller: 'TeamsAdd' controller: TeamsAdd
}). }).
when('/teams/:team_id', { when('/teams/:team_id', {
templateUrl: urlPrefix + 'partials/teams.html', templateUrl: urlPrefix + 'partials/teams.html',
controller: 'TeamsEdit' controller: TeamsEdit
}). }).
when('/teams/:team_id/permissions/add', { when('/teams/:team_id/permissions/add', {
templateUrl: urlPrefix + 'partials/teams.html', templateUrl: urlPrefix + 'partials/teams.html',
controller: 'PermissionsAdd' controller: PermissionsAdd
}). }).
when('/teams/:team_id/permissions', { when('/teams/:team_id/permissions', {
templateUrl: urlPrefix + 'partials/teams.html', templateUrl: urlPrefix + 'partials/teams.html',
controller: 'PermissionsList' controller: PermissionsList
}). }).
when('/teams/:team_id/permissions/:permission_id', { when('/teams/:team_id/permissions/:permission_id', {
templateUrl: urlPrefix + 'partials/teams.html', templateUrl: urlPrefix + 'partials/teams.html',
controller: 'PermissionsEdit' controller: PermissionsEdit
}). }).
when('/teams/:team_id/users', { when('/teams/:team_id/users', {
templateUrl: urlPrefix + 'partials/teams.html', templateUrl: urlPrefix + 'partials/teams.html',
controller: 'UsersList' controller: UsersList
}). }).
when('/teams/:team_id/users/:user_id', { when('/teams/:team_id/users/:user_id', {
templateUrl: urlPrefix + 'partials/teams.html', templateUrl: urlPrefix + 'partials/teams.html',
controller: 'UsersEdit' controller: UsersEdit
}). }).
when('/teams/:team_id/projects', { when('/teams/:team_id/projects', {
templateUrl: urlPrefix + 'partials/teams.html', templateUrl: urlPrefix + 'partials/teams.html',
controller: 'ProjectsList' controller: ProjectsList
}). }).
when('/teams/:team_id/projects/add', { when('/teams/:team_id/projects/add', {
templateUrl: urlPrefix + 'partials/teams.html', templateUrl: urlPrefix + 'partials/teams.html',
controller: 'ProjectsAdd' controller: ProjectsAdd
}). }).
when('/teams/:team_id/projects/:project_id', { when('/teams/:team_id/projects/:project_id', {
templateUrl: urlPrefix + 'partials/teams.html', templateUrl: urlPrefix + 'partials/teams.html',
controller: 'ProjectsEdit' controller: ProjectsEdit
}). }).
when('/teams/:team_id/credentials', { when('/teams/:team_id/credentials', {
templateUrl: urlPrefix + 'partials/teams.html', templateUrl: urlPrefix + 'partials/teams.html',
controller: 'CredentialsList' controller: CredentialsList
}). }).
when('/teams/:team_id/credentials/add', { when('/teams/:team_id/credentials/add', {
templateUrl: urlPrefix + 'partials/teams.html', templateUrl: urlPrefix + 'partials/teams.html',
controller: 'CredentialsAdd' controller: CredentialsAdd
}). }).
when('/teams/:team_id/credentials/:credential_id', { when('/teams/:team_id/credentials/:credential_id', {
templateUrl: urlPrefix + 'partials/teams.html', templateUrl: urlPrefix + 'partials/teams.html',
controller: 'CredentialsEdit' controller: CredentialsEdit
}). }).
when('/credentials', { when('/credentials', {
templateUrl: urlPrefix + 'partials/credentials.html', templateUrl: urlPrefix + 'partials/credentials.html',
controller: 'CredentialsList' controller: CredentialsList
}). }).
when('/credentials/add', { when('/credentials/add', {
templateUrl: urlPrefix + 'partials/credentials.html', templateUrl: urlPrefix + 'partials/credentials.html',
controller: 'CredentialsAdd' controller: CredentialsAdd
}). }).
when('/credentials/:credential_id', { when('/credentials/:credential_id', {
templateUrl: urlPrefix + 'partials/credentials.html', templateUrl: urlPrefix + 'partials/credentials.html',
controller: 'CredentialsEdit' controller: CredentialsEdit
}). }).
when('/users', { when('/users', {
templateUrl: urlPrefix + 'partials/users.html', templateUrl: urlPrefix + 'partials/users.html',
controller: 'UsersList' controller: UsersList
}). }).
when('/users/add', { when('/users/add', {
templateUrl: urlPrefix + 'partials/users.html', templateUrl: urlPrefix + 'partials/users.html',
controller: 'UsersAdd' controller: UsersAdd
}). }).
when('/users/:user_id', { when('/users/:user_id', {
templateUrl: urlPrefix + 'partials/users.html', templateUrl: urlPrefix + 'partials/users.html',
controller: 'UsersEdit' controller: UsersEdit
}). }).
when('/users/:user_id/credentials', { when('/users/:user_id/credentials', {
templateUrl: urlPrefix + 'partials/users.html', templateUrl: urlPrefix + 'partials/users.html',
controller: 'CredentialsList' controller: CredentialsList
}). }).
when('/users/:user_id/permissions/add', { when('/users/:user_id/permissions/add', {
templateUrl: urlPrefix + 'partials/users.html', templateUrl: urlPrefix + 'partials/users.html',
controller: 'PermissionsAdd' controller: PermissionsAdd
}). }).
when('/users/:user_id/permissions', { when('/users/:user_id/permissions', {
templateUrl: urlPrefix + 'partials/users.html', templateUrl: urlPrefix + 'partials/users.html',
controller: 'PermissionsList' controller: PermissionsList
}). }).
when('/users/:user_id/permissions/:permission_id', { when('/users/:user_id/permissions/:permission_id', {
templateUrl: urlPrefix + 'partials/users.html', templateUrl: urlPrefix + 'partials/users.html',
controller: 'PermissionsEdit' controller: PermissionsEdit
}). }).
when('/users/:user_id/credentials/add', { when('/users/:user_id/credentials/add', {
templateUrl: urlPrefix + 'partials/teams.html', templateUrl: urlPrefix + 'partials/teams.html',
controller: 'CredentialsAdd' controller: CredentialsAdd
}). }).
when('/teams/:user_id/credentials/:credential_id', { when('/teams/:user_id/credentials/:credential_id', {
templateUrl: urlPrefix + 'partials/teams.html', templateUrl: urlPrefix + 'partials/teams.html',
controller: 'CredentialsEdit' controller: CredentialsEdit
}). }).
when('/login', { when('/login', {
templateUrl: urlPrefix + 'partials/blank.html', templateUrl: urlPrefix + 'partials/blank.html',
controller: 'Authenticate' controller: Authenticate
}). }).
when('/logout', { when('/logout', {
templateUrl: urlPrefix + 'partials/blank.html', templateUrl: urlPrefix + 'partials/blank.html',
controller: 'Authenticate' controller: Authenticate
}). }).
when('/home', { when('/home', {
templateUrl: urlPrefix + 'partials/home.html', templateUrl: urlPrefix + 'partials/home.html',
controller: 'Home', controller: Home,
resolve: { resolve: {
graphData: ['$q', 'jobStatusGraphData', 'hostCountGraphData', function($q, jobStatusGraphData, hostCountGraphData) { graphData: ['$q', 'jobStatusGraphData', 'hostCountGraphData', function($q, jobStatusGraphData, hostCountGraphData) {
return $q.all({ return $q.all({
@@ -411,17 +439,17 @@ angular.module('Tower', [
when('/home/groups', { when('/home/groups', {
templateUrl: urlPrefix + 'partials/subhome.html', templateUrl: urlPrefix + 'partials/subhome.html',
controller: 'HomeGroups' controller: HomeGroups
}). }).
when('/home/hosts', { when('/home/hosts', {
templateUrl: urlPrefix + 'partials/subhome.html', templateUrl: urlPrefix + 'partials/subhome.html',
controller: 'HomeHosts' controller: HomeHosts
}). }).
when('/sockets', { when('/sockets', {
templateUrl: urlPrefix + 'partials/sockets.html', templateUrl: urlPrefix + 'partials/sockets.html',
controller: 'SocketsController' controller: SocketsController
}). }).
otherwise({ otherwise({
@@ -756,3 +784,6 @@ angular.module('Tower', [
LoadConfig(); LoadConfig();
} }
]); ]);
export default tower;

View File

@@ -19,7 +19,7 @@
*/ */
function AdminsList($scope, $rootScope, $location, $log, $routeParams, Rest, Alert, AdminList, GenerateList, LoadBreadCrumbs, export function AdminsList($scope, $rootScope, $location, $log, $routeParams, Rest, Alert, AdminList, GenerateList, LoadBreadCrumbs,
Prompt, SearchInit, PaginateInit, ReturnToCaller, GetBasePath, SelectionInit) { Prompt, SearchInit, PaginateInit, ReturnToCaller, GetBasePath, SelectionInit) {
var list = AdminList, var list = AdminList,

View File

@@ -59,7 +59,7 @@
*/ */
function Authenticate($log, $cookieStore, $compile, $window, $rootScope, $location, Authorization, ToggleClass, Alert, Wait, export function Authenticate($log, $cookieStore, $compile, $window, $rootScope, $location, Authorization, ToggleClass, Alert, Wait,
Timer, Empty, ClearScope) { Timer, Empty, ClearScope) {
var setLoginFocus, lastPath, sessionExpired, loginAgain, var setLoginFocus, lastPath, sessionExpired, loginAgain,

View File

@@ -13,7 +13,7 @@
*/ */
function CredentialsList($scope, $rootScope, $location, $log, $routeParams, Rest, Alert, CredentialList, export function CredentialsList($scope, $rootScope, $location, $log, $routeParams, Rest, Alert, CredentialList,
GenerateList, LoadBreadCrumbs, Prompt, SearchInit, PaginateInit, ReturnToCaller, GenerateList, LoadBreadCrumbs, Prompt, SearchInit, PaginateInit, ReturnToCaller,
ClearScope, ProcessErrors, GetBasePath, SelectionInit, GetChoices, Wait, Stream) { ClearScope, ProcessErrors, GetBasePath, SelectionInit, GetChoices, Wait, Stream) {
@@ -134,7 +134,7 @@ CredentialsList.$inject = ['$scope', '$rootScope', '$location', '$log', '$routeP
]; ];
function CredentialsAdd($scope, $rootScope, $compile, $location, $log, $routeParams, CredentialForm, GenerateForm, Rest, Alert, export function CredentialsAdd($scope, $rootScope, $compile, $location, $log, $routeParams, CredentialForm, GenerateForm, Rest, Alert,
ProcessErrors, LoadBreadCrumbs, ReturnToCaller, ClearScope, GenerateList, SearchInit, PaginateInit, LookUpInit, UserList, TeamList, ProcessErrors, LoadBreadCrumbs, ReturnToCaller, ClearScope, GenerateList, SearchInit, PaginateInit, LookUpInit, UserList, TeamList,
GetBasePath, GetChoices, Empty, KindChange, OwnerChange, LoginMethodChange, FormSave) { GetBasePath, GetChoices, Empty, KindChange, OwnerChange, LoginMethodChange, FormSave) {
@@ -286,7 +286,7 @@ CredentialsAdd.$inject = ['$scope', '$rootScope', '$compile', '$location', '$log
]; ];
function CredentialsEdit($scope, $rootScope, $compile, $location, $log, $routeParams, CredentialForm, GenerateForm, Rest, Alert, export function CredentialsEdit($scope, $rootScope, $compile, $location, $log, $routeParams, CredentialForm, GenerateForm, Rest, Alert,
ProcessErrors, LoadBreadCrumbs, RelatedSearchInit, RelatedPaginateInit, ReturnToCaller, ClearScope, Prompt, GetBasePath, GetChoices, ProcessErrors, LoadBreadCrumbs, RelatedSearchInit, RelatedPaginateInit, ReturnToCaller, ClearScope, Prompt, GetBasePath, GetChoices,
KindChange, UserList, TeamList, LookUpInit, Empty, OwnerChange, LoginMethodChange, FormSave, Stream, Wait) { KindChange, UserList, TeamList, LookUpInit, Empty, OwnerChange, LoginMethodChange, FormSave, Stream, Wait) {

View File

@@ -25,7 +25,8 @@
* Host count graph should only be loaded if the user is a super user * Host count graph should only be loaded if the user is a super user
* *
*/ */
function Home($scope, $compile, $routeParams, $rootScope, $location, $log, Wait, DashboardCounts, DashboardJobs,
export function Home($scope, $compile, $routeParams, $rootScope, $location, $log, Wait, DashboardCounts, DashboardJobs,
ClearScope, Stream, Rest, GetBasePath, ProcessErrors, Button, $window, graphData){ ClearScope, Stream, Rest, GetBasePath, ProcessErrors, Button, $window, graphData){
ClearScope('home'); ClearScope('home');
@@ -136,7 +137,7 @@ Home.$inject = ['$scope', '$compile', '$routeParams', '$rootScope', '$location',
* @description This controls the 'home/groups' page that is loaded from the dashboard * @description This controls the 'home/groups' page that is loaded from the dashboard
* *
*/ */
function HomeGroups($log, $scope, $filter, $compile, $location, $routeParams, LogViewer, HomeGroupList, GenerateList, ProcessErrors, LoadBreadCrumbs, ReturnToCaller, ClearScope, export function HomeGroups($log, $scope, $filter, $compile, $location, $routeParams, LogViewer, HomeGroupList, GenerateList, ProcessErrors, LoadBreadCrumbs, ReturnToCaller, ClearScope,
GetBasePath, SearchInit, PaginateInit, FormatDate, GetHostsStatusMsg, GetSyncStatusMsg, ViewUpdateStatus, Stream, GroupsEdit, Wait, GetBasePath, SearchInit, PaginateInit, FormatDate, GetHostsStatusMsg, GetSyncStatusMsg, ViewUpdateStatus, Stream, GroupsEdit, Wait,
Alert, Rest, Empty, InventoryUpdate, Find, GroupsCancelUpdate, Store, Socket) { Alert, Rest, Empty, InventoryUpdate, Find, GroupsCancelUpdate, Store, Socket) {
@@ -572,7 +573,8 @@ HomeGroups.$inject = ['$log', '$scope', '$filter', '$compile', '$location', '$ro
* @description This loads the page for 'home/hosts' * @description This loads the page for 'home/hosts'
* *
*/ */
function HomeHosts($scope, $location, $routeParams, HomeHostList, GenerateList, ProcessErrors, LoadBreadCrumbs, ReturnToCaller, ClearScope,
export function HomeHosts($scope, $location, $routeParams, HomeHostList, GenerateList, ProcessErrors, LoadBreadCrumbs, ReturnToCaller, ClearScope,
GetBasePath, SearchInit, PaginateInit, FormatDate, SetStatus, ToggleHostEnabled, HostsEdit, Stream, Find, ShowJobSummary, ViewJob) { GetBasePath, SearchInit, PaginateInit, FormatDate, SetStatus, ToggleHostEnabled, HostsEdit, Stream, Find, ShowJobSummary, ViewJob) {
ClearScope('htmlTemplate'); //Garbage collection. Don't leave behind any listeners/watchers from the prior ClearScope('htmlTemplate'); //Garbage collection. Don't leave behind any listeners/watchers from the prior

View File

@@ -14,7 +14,7 @@
*/ */
function InventoriesList($scope, $rootScope, $location, $log, $routeParams, $compile, $filter, Rest, Alert, InventoryList, GenerateList, export function InventoriesList($scope, $rootScope, $location, $log, $routeParams, $compile, $filter, Rest, Alert, InventoryList, GenerateList,
LoadBreadCrumbs, Prompt, SearchInit, PaginateInit, ReturnToCaller, ClearScope, ProcessErrors, GetBasePath, Wait, Stream, LoadBreadCrumbs, Prompt, SearchInit, PaginateInit, ReturnToCaller, ClearScope, ProcessErrors, GetBasePath, Wait, Stream,
EditInventoryProperties, Find, Empty, LogViewer) { EditInventoryProperties, Find, Empty, LogViewer) {
@@ -368,7 +368,7 @@ InventoriesList.$inject = ['$scope', '$rootScope', '$location', '$log', '$routeP
]; ];
function InventoriesAdd($scope, $rootScope, $compile, $location, $log, $routeParams, InventoryForm, GenerateForm, Rest, export function InventoriesAdd($scope, $rootScope, $compile, $location, $log, $routeParams, InventoryForm, GenerateForm, Rest,
Alert, ProcessErrors, LoadBreadCrumbs, ReturnToCaller, ClearScope, GenerateList, OrganizationList, SearchInit, PaginateInit, Alert, ProcessErrors, LoadBreadCrumbs, ReturnToCaller, ClearScope, GenerateList, OrganizationList, SearchInit, PaginateInit,
LookUpInit, GetBasePath, ParseTypeChange, Wait, ToJSON) { LookUpInit, GetBasePath, ParseTypeChange, Wait, ToJSON) {
@@ -478,7 +478,7 @@ InventoriesAdd.$inject = ['$scope', '$rootScope', '$compile', '$location', '$log
function InventoriesEdit ($log, $scope, $location, $routeParams, $compile, GenerateList, ClearScope, Empty, Wait, Rest, Alert, LoadBreadCrumbs, GetBasePath, ProcessErrors, export function InventoriesEdit ($log, $scope, $location, $routeParams, $compile, GenerateList, ClearScope, Empty, Wait, Rest, Alert, LoadBreadCrumbs, GetBasePath, ProcessErrors,
Breadcrumbs, InventoryGroups, InjectHosts, Find, HostsReload, SearchInit, PaginateInit, GetSyncStatusMsg, GetHostsStatusMsg, GroupsEdit, InventoryUpdate, Breadcrumbs, InventoryGroups, InjectHosts, Find, HostsReload, SearchInit, PaginateInit, GetSyncStatusMsg, GetHostsStatusMsg, GroupsEdit, InventoryUpdate,
GroupsCancelUpdate, ViewUpdateStatus, GroupsDelete, Store, HostsEdit, HostsDelete, EditInventoryProperties, ToggleHostEnabled, Stream, ShowJobSummary, GroupsCancelUpdate, ViewUpdateStatus, GroupsDelete, Store, HostsEdit, HostsDelete, EditInventoryProperties, ToggleHostEnabled, Stream, ShowJobSummary,
InventoryGroupsHelp, HelpDialog, ViewJob, WatchInventoryWindowResize, GetHostContainerRows, GetGroupContainerRows, GetGroupContainerHeight, InventoryGroupsHelp, HelpDialog, ViewJob, WatchInventoryWindowResize, GetHostContainerRows, GetGroupContainerRows, GetGroupContainerHeight,

View File

@@ -11,7 +11,7 @@
*/ */
function JobDetailController ($location, $rootScope, $scope, $compile, $routeParams, $log, ClearScope, Breadcrumbs, LoadBreadCrumbs, GetBasePath, Wait, Rest, export function JobDetailController ($location, $rootScope, $scope, $compile, $routeParams, $log, ClearScope, Breadcrumbs, LoadBreadCrumbs, GetBasePath, Wait, Rest,
ProcessErrors, SelectPlay, SelectTask, Socket, GetElapsed, DrawGraph, LoadHostSummary, ReloadHostSummaryList, JobIsFinished, SetTaskStyles, DigestEvent, ProcessErrors, SelectPlay, SelectTask, Socket, GetElapsed, DrawGraph, LoadHostSummary, ReloadHostSummaryList, JobIsFinished, SetTaskStyles, DigestEvent,
UpdateDOM, EventViewer, DeleteJob, PlaybookRun, HostEventsViewer, LoadPlays, LoadTasks, LoadHosts, HostsEdit, ParseVariableString) { UpdateDOM, EventViewer, DeleteJob, PlaybookRun, HostEventsViewer, LoadPlays, LoadTasks, LoadHosts, HostsEdit, ParseVariableString) {

View File

@@ -14,7 +14,7 @@
*/ */
function JobEventsList($sce, $filter, $scope, $rootScope, $location, $log, $routeParams, Rest, Alert, JobEventList, GenerateList, export function JobEventsList($sce, $filter, $scope, $rootScope, $location, $log, $routeParams, Rest, Alert, JobEventList, GenerateList,
LoadBreadCrumbs, Prompt, SearchInit, PaginateInit, ReturnToCaller, ClearScope, ProcessErrors, GetBasePath, LookUpInit, ToggleChildren, LoadBreadCrumbs, Prompt, SearchInit, PaginateInit, ReturnToCaller, ClearScope, ProcessErrors, GetBasePath, LookUpInit, ToggleChildren,
FormatDate, EventView, Refresh, Wait) { FormatDate, EventView, Refresh, Wait) {
@@ -260,7 +260,7 @@ JobEventsList.$inject = ['$sce', '$filter', '$scope', '$rootScope', '$location',
'GetBasePath', 'LookUpInit', 'ToggleChildren', 'FormatDate', 'EventView', 'Refresh', 'Wait' 'GetBasePath', 'LookUpInit', 'ToggleChildren', 'FormatDate', 'EventView', 'Refresh', 'Wait'
]; ];
function JobEventsEdit($scope, $rootScope, $compile, $location, $log, $routeParams, JobEventsForm, GenerateForm, export function JobEventsEdit($scope, $rootScope, $compile, $location, $log, $routeParams, JobEventsForm, GenerateForm,
Rest, Alert, ProcessErrors, LoadBreadCrumbs, ClearScope, GetBasePath, FormatDate, EventView, Wait) { Rest, Alert, ProcessErrors, LoadBreadCrumbs, ClearScope, GetBasePath, FormatDate, EventView, Wait) {
ClearScope(); ClearScope();

View File

@@ -14,7 +14,7 @@
*/ */
function JobHostSummaryList($scope, $rootScope, $location, $log, $routeParams, Rest, Alert, JobHostList, GenerateList, export function JobHostSummaryList($scope, $rootScope, $location, $log, $routeParams, Rest, Alert, JobHostList, GenerateList,
LoadBreadCrumbs, Prompt, SearchInit, PaginateInit, ReturnToCaller, ClearScope, ProcessErrors, GetBasePath, Refresh, LoadBreadCrumbs, Prompt, SearchInit, PaginateInit, ReturnToCaller, ClearScope, ProcessErrors, GetBasePath, Refresh,
JobStatusToolTip) { JobStatusToolTip) {

View File

@@ -11,7 +11,7 @@
*/ */
function JobStdoutController ($log, $rootScope, $scope, $compile, $routeParams, ClearScope, GetBasePath, Wait, Rest, ProcessErrors, Socket) { export function JobStdoutController ($log, $rootScope, $scope, $compile, $routeParams, ClearScope, GetBasePath, Wait, Rest, ProcessErrors, Socket) {
ClearScope(); ClearScope();

View File

@@ -14,7 +14,7 @@
*/ */
function JobTemplatesList($scope, $rootScope, $location, $log, $routeParams, Rest, Alert, JobTemplateList, export function JobTemplatesList($scope, $rootScope, $location, $log, $routeParams, Rest, Alert, JobTemplateList,
GenerateList, LoadBreadCrumbs, Prompt, SearchInit, PaginateInit, ReturnToCaller, ClearScope, ProcessErrors, GenerateList, LoadBreadCrumbs, Prompt, SearchInit, PaginateInit, ReturnToCaller, ClearScope, ProcessErrors,
GetBasePath, JobTemplateForm, CredentialList, LookUpInit, PlaybookRun, Wait, Stream, CreateDialog, $compile) { GetBasePath, JobTemplateForm, CredentialList, LookUpInit, PlaybookRun, Wait, Stream, CreateDialog, $compile) {
@@ -246,7 +246,7 @@ JobTemplatesList.$inject = ['$scope', '$rootScope', '$location', '$log', '$route
'PlaybookRun', 'Wait', 'Stream', 'CreateDialog' , '$compile' 'PlaybookRun', 'Wait', 'Stream', 'CreateDialog' , '$compile'
]; ];
function JobTemplatesAdd($scope, $rootScope, $compile, $location, $log, $routeParams, JobTemplateForm, export function JobTemplatesAdd($scope, $rootScope, $compile, $location, $log, $routeParams, JobTemplateForm,
GenerateForm, Rest, Alert, ProcessErrors, LoadBreadCrumbs, ReturnToCaller, ClearScope, GetBasePath, GenerateForm, Rest, Alert, ProcessErrors, LoadBreadCrumbs, ReturnToCaller, ClearScope, GetBasePath,
InventoryList, CredentialList, ProjectList, LookUpInit, md5Setup, ParseTypeChange, Wait, Empty, ToJSON, InventoryList, CredentialList, ProjectList, LookUpInit, md5Setup, ParseTypeChange, Wait, Empty, ToJSON,
CallbackHelpInit, SurveyControllerInit, Prompt) { CallbackHelpInit, SurveyControllerInit, Prompt) {
@@ -551,7 +551,7 @@ JobTemplatesAdd.$inject = ['$scope', '$rootScope', '$compile', '$location', '$lo
]; ];
function JobTemplatesEdit($scope, $rootScope, $compile, $location, $log, $routeParams, JobTemplateForm, GenerateForm, Rest, export function JobTemplatesEdit($scope, $rootScope, $compile, $location, $log, $routeParams, JobTemplateForm, GenerateForm, Rest,
Alert, ProcessErrors, LoadBreadCrumbs, RelatedSearchInit, RelatedPaginateInit, ReturnToCaller, ClearScope, InventoryList, Alert, ProcessErrors, LoadBreadCrumbs, RelatedSearchInit, RelatedPaginateInit, ReturnToCaller, ClearScope, InventoryList,
CredentialList, ProjectList, LookUpInit, GetBasePath, md5Setup, ParseTypeChange, JobStatusToolTip, FormatDate, CredentialList, ProjectList, LookUpInit, GetBasePath, md5Setup, ParseTypeChange, JobStatusToolTip, FormatDate,
Wait, Stream, Empty, Prompt, ParseVariableString, ToJSON, SchedulesControllerInit, JobsControllerInit, JobsListUpdate, Wait, Stream, Empty, Prompt, ParseVariableString, ToJSON, SchedulesControllerInit, JobsControllerInit, JobsListUpdate,

View File

@@ -14,7 +14,7 @@
*/ */
function JobsListController ($rootScope, $log, $scope, $compile, $routeParams, ClearScope, Breadcrumbs, LoadBreadCrumbs, LoadSchedulesScope, export function JobsListController ($rootScope, $log, $scope, $compile, $routeParams, ClearScope, Breadcrumbs, LoadBreadCrumbs, LoadSchedulesScope,
LoadJobsScope, RunningJobsList, CompletedJobsList, QueuedJobsList, ScheduledJobsList, GetChoices, GetBasePath, Wait, Socket) { LoadJobsScope, RunningJobsList, CompletedJobsList, QueuedJobsList, ScheduledJobsList, GetChoices, GetBasePath, Wait, Socket) {
ClearScope(); ClearScope();

View File

@@ -14,7 +14,7 @@
*/ */
function OrganizationsList($routeParams, $scope, $rootScope, $location, $log, Rest, Alert, LoadBreadCrumbs, Prompt, export function OrganizationsList($routeParams, $scope, $rootScope, $location, $log, Rest, Alert, LoadBreadCrumbs, Prompt,
GenerateList, OrganizationList, SearchInit, PaginateInit, ClearScope, ProcessErrors, GetBasePath, SelectionInit, Wait, Stream) { GenerateList, OrganizationList, SearchInit, PaginateInit, ClearScope, ProcessErrors, GetBasePath, SelectionInit, Wait, Stream) {
ClearScope(); ClearScope();
@@ -101,7 +101,7 @@ OrganizationsList.$inject = ['$routeParams', '$scope', '$rootScope', '$location'
]; ];
function OrganizationsAdd($scope, $rootScope, $compile, $location, $log, $routeParams, OrganizationForm, export function OrganizationsAdd($scope, $rootScope, $compile, $location, $log, $routeParams, OrganizationForm,
GenerateForm, Rest, Alert, ProcessErrors, LoadBreadCrumbs, ClearScope, GetBasePath, GenerateForm, Rest, Alert, ProcessErrors, LoadBreadCrumbs, ClearScope, GetBasePath,
ReturnToCaller, Wait) { ReturnToCaller, Wait) {
@@ -152,7 +152,7 @@ OrganizationsAdd.$inject = ['$scope', '$rootScope', '$compile', '$location', '$l
]; ];
function OrganizationsEdit($scope, $rootScope, $compile, $location, $log, $routeParams, OrganizationForm, GenerateForm, Rest, export function OrganizationsEdit($scope, $rootScope, $compile, $location, $log, $routeParams, OrganizationForm, GenerateForm, Rest,
Alert, ProcessErrors, LoadBreadCrumbs, RelatedSearchInit, RelatedPaginateInit, Prompt, ClearScope, GetBasePath, Wait, Stream) { Alert, ProcessErrors, LoadBreadCrumbs, RelatedSearchInit, RelatedPaginateInit, Prompt, ClearScope, GetBasePath, Wait, Stream) {
ClearScope(); ClearScope();

View File

@@ -14,7 +14,7 @@
*/ */
function PermissionsList($scope, $rootScope, $location, $log, $routeParams, Rest, Alert, PermissionList, export function PermissionsList($scope, $rootScope, $location, $log, $routeParams, Rest, Alert, PermissionList,
GenerateList, LoadBreadCrumbs, Prompt, SearchInit, PaginateInit, ReturnToCaller, ClearScope, ProcessErrors, GenerateList, LoadBreadCrumbs, Prompt, SearchInit, PaginateInit, ReturnToCaller, ClearScope, ProcessErrors,
GetBasePath, CheckAccess, Wait) { GetBasePath, CheckAccess, Wait) {
@@ -102,7 +102,7 @@ PermissionsList.$inject = ['$scope', '$rootScope', '$location', '$log', '$routeP
]; ];
function PermissionsAdd($scope, $rootScope, $compile, $location, $log, $routeParams, PermissionsForm, export function PermissionsAdd($scope, $rootScope, $compile, $location, $log, $routeParams, PermissionsForm,
GenerateForm, Rest, Alert, ProcessErrors, LoadBreadCrumbs, ClearScope, GenerateForm, Rest, Alert, ProcessErrors, LoadBreadCrumbs, ClearScope,
GetBasePath, ReturnToCaller, InventoryList, ProjectList, LookUpInit, CheckAccess, GetBasePath, ReturnToCaller, InventoryList, ProjectList, LookUpInit, CheckAccess,
Wait, PermissionCategoryChange) { Wait, PermissionCategoryChange) {
@@ -199,7 +199,7 @@ PermissionsAdd.$inject = ['$scope', '$rootScope', '$compile', '$location', '$log
]; ];
function PermissionsEdit($scope, $rootScope, $compile, $location, $log, $routeParams, PermissionsForm, export function PermissionsEdit($scope, $rootScope, $compile, $location, $log, $routeParams, PermissionsForm,
GenerateForm, Rest, Alert, ProcessErrors, LoadBreadCrumbs, ReturnToCaller, ClearScope, Prompt, GetBasePath, GenerateForm, Rest, Alert, ProcessErrors, LoadBreadCrumbs, ReturnToCaller, ClearScope, Prompt, GetBasePath,
InventoryList, ProjectList, LookUpInit, CheckAccess, Wait, PermissionCategoryChange) { InventoryList, ProjectList, LookUpInit, CheckAccess, Wait, PermissionCategoryChange) {

View File

@@ -24,7 +24,7 @@
* *
* *
*/ */
function PortalController($scope, $compile, $routeParams, $rootScope, $location, $log, Wait, ClearScope, Stream, Rest, GetBasePath, ProcessErrors, export function PortalController($scope, $compile, $routeParams, $rootScope, $location, $log, Wait, ClearScope, Stream, Rest, GetBasePath, ProcessErrors,
Button, PortalJobsWidget, GenerateList, PortalJobTemplateList, SearchInit, PaginateInit, PlaybookRun){ Button, PortalJobsWidget, GenerateList, PortalJobTemplateList, SearchInit, PaginateInit, PlaybookRun){
ClearScope('portal'); ClearScope('portal');

View File

@@ -14,7 +14,7 @@
*/ */
function ProjectsList ($scope, $rootScope, $location, $log, $routeParams, Rest, Alert, ProjectList, GenerateList, LoadBreadCrumbs, export function ProjectsList ($scope, $rootScope, $location, $log, $routeParams, Rest, Alert, ProjectList, GenerateList, LoadBreadCrumbs,
Prompt, SearchInit, PaginateInit, ReturnToCaller, ClearScope, ProcessErrors, GetBasePath, SelectionInit, ProjectUpdate, Prompt, SearchInit, PaginateInit, ReturnToCaller, ClearScope, ProcessErrors, GetBasePath, SelectionInit, ProjectUpdate,
Refresh, Wait, Stream, GetChoices, Empty, Find, LogViewer, GetProjectIcon, GetProjectToolTip) { Refresh, Wait, Stream, GetChoices, Empty, Find, LogViewer, GetProjectIcon, GetProjectToolTip) {
@@ -391,7 +391,7 @@ ProjectsList.$inject = ['$scope', '$rootScope', '$location', '$log', '$routePara
]; ];
function ProjectsAdd($scope, $rootScope, $compile, $location, $log, $routeParams, ProjectsForm, GenerateForm, Rest, Alert, ProcessErrors, export function ProjectsAdd($scope, $rootScope, $compile, $location, $log, $routeParams, ProjectsForm, GenerateForm, Rest, Alert, ProcessErrors,
LoadBreadCrumbs, ClearScope, GetBasePath, ReturnToCaller, GetProjectPath, LookUpInit, OrganizationList, LoadBreadCrumbs, ClearScope, GetBasePath, ReturnToCaller, GetProjectPath, LookUpInit, OrganizationList,
CredentialList, GetChoices, DebugForm, Wait) { CredentialList, GetChoices, DebugForm, Wait) {
@@ -537,7 +537,7 @@ ProjectsAdd.$inject = ['$scope', '$rootScope', '$compile', '$location', '$log',
]; ];
function ProjectsEdit($scope, $rootScope, $compile, $location, $log, $routeParams, ProjectsForm, export function ProjectsEdit($scope, $rootScope, $compile, $location, $log, $routeParams, ProjectsForm,
GenerateForm, Rest, Alert, ProcessErrors, LoadBreadCrumbs, RelatedSearchInit, RelatedPaginateInit, Prompt, GenerateForm, Rest, Alert, ProcessErrors, LoadBreadCrumbs, RelatedSearchInit, RelatedPaginateInit, Prompt,
ClearScope, GetBasePath, ReturnToCaller, GetProjectPath, Authorization, CredentialList, LookUpInit, GetChoices, ClearScope, GetBasePath, ReturnToCaller, GetProjectPath, Authorization, CredentialList, LookUpInit, GetChoices,
Empty, DebugForm, Wait, Stream, SchedulesControllerInit, SchedulesListInit, SchedulesList, ProjectUpdate) { Empty, DebugForm, Wait, Stream, SchedulesControllerInit, SchedulesListInit, SchedulesList, ProjectUpdate) {

View File

@@ -14,7 +14,7 @@
*/ */
function ScheduleEditController($scope, $compile, $location, $routeParams, SchedulesList, Rest, ProcessErrors, LoadBreadCrumbs, ReturnToCaller, ClearScope, export function ScheduleEditController($scope, $compile, $location, $routeParams, SchedulesList, Rest, ProcessErrors, LoadBreadCrumbs, ReturnToCaller, ClearScope,
GetBasePath, Wait, Breadcrumbs, Find, LoadDialogPartial, LoadSchedulesScope, GetChoices, Stream) { GetBasePath, Wait, Breadcrumbs, Find, LoadDialogPartial, LoadSchedulesScope, GetChoices, Stream) {
ClearScope(); ClearScope();

View File

@@ -13,7 +13,7 @@
*/ */
function SocketsController ($scope, $compile, ClearScope, Socket) { export function SocketsController ($scope, $compile, ClearScope, Socket) {
ClearScope(); ClearScope();

View File

@@ -14,7 +14,7 @@
*/ */
function TeamsList($scope, $rootScope, $location, $log, $routeParams, Rest, Alert, TeamList, GenerateList, LoadBreadCrumbs, export function TeamsList($scope, $rootScope, $location, $log, $routeParams, Rest, Alert, TeamList, GenerateList, LoadBreadCrumbs,
Prompt, SearchInit, PaginateInit, ReturnToCaller, ClearScope, ProcessErrors, SetTeamListeners, GetBasePath, SelectionInit, Wait, Prompt, SearchInit, PaginateInit, ReturnToCaller, ClearScope, ProcessErrors, SetTeamListeners, GetBasePath, SelectionInit, Wait,
Stream) { Stream) {
@@ -116,7 +116,7 @@ TeamsList.$inject = ['$scope', '$rootScope', '$location', '$log', '$routeParams'
]; ];
function TeamsAdd($scope, $rootScope, $compile, $location, $log, $routeParams, TeamForm, GenerateForm, export function TeamsAdd($scope, $rootScope, $compile, $location, $log, $routeParams, TeamForm, GenerateForm,
Rest, Alert, ProcessErrors, LoadBreadCrumbs, ReturnToCaller, ClearScope, GenerateList, Rest, Alert, ProcessErrors, LoadBreadCrumbs, ReturnToCaller, ClearScope, GenerateList,
OrganizationList, SearchInit, PaginateInit, GetBasePath, LookUpInit, Wait) { OrganizationList, SearchInit, PaginateInit, GetBasePath, LookUpInit, Wait) {
ClearScope('htmlTemplate'); //Garbage collection. Don't leave behind any listeners/watchers from the prior ClearScope('htmlTemplate'); //Garbage collection. Don't leave behind any listeners/watchers from the prior
@@ -177,7 +177,7 @@ TeamsAdd.$inject = ['$scope', '$rootScope', '$compile', '$location', '$log', '$r
]; ];
function TeamsEdit($scope, $rootScope, $compile, $location, $log, $routeParams, TeamForm, GenerateForm, Rest, Alert, ProcessErrors, export function TeamsEdit($scope, $rootScope, $compile, $location, $log, $routeParams, TeamForm, GenerateForm, Rest, Alert, ProcessErrors,
LoadBreadCrumbs, RelatedSearchInit, RelatedPaginateInit, ReturnToCaller, ClearScope, LookUpInit, Prompt, GetBasePath, CheckAccess, LoadBreadCrumbs, RelatedSearchInit, RelatedPaginateInit, ReturnToCaller, ClearScope, LookUpInit, Prompt, GetBasePath, CheckAccess,
OrganizationList, Wait, Stream) { OrganizationList, Wait, Stream) {

View File

@@ -13,7 +13,7 @@
*/ */
function UsersList($scope, $rootScope, $location, $log, $routeParams, Rest, Alert, UserList, GenerateList, LoadBreadCrumbs, export function UsersList($scope, $rootScope, $location, $log, $routeParams, Rest, Alert, UserList, GenerateList, LoadBreadCrumbs,
Prompt, SearchInit, PaginateInit, ReturnToCaller, ClearScope, ProcessErrors, GetBasePath, SelectionInit, Wait, Stream) { Prompt, SearchInit, PaginateInit, ReturnToCaller, ClearScope, ProcessErrors, GetBasePath, SelectionInit, Wait, Stream) {
ClearScope(); ClearScope();
@@ -105,7 +105,7 @@ UsersList.$inject = ['$scope', '$rootScope', '$location', '$log', '$routeParams'
]; ];
function UsersAdd($scope, $rootScope, $compile, $location, $log, $routeParams, UserForm, GenerateForm, Rest, Alert, ProcessErrors, export function UsersAdd($scope, $rootScope, $compile, $location, $log, $routeParams, UserForm, GenerateForm, Rest, Alert, ProcessErrors,
LoadBreadCrumbs, ReturnToCaller, ClearScope, GetBasePath, LookUpInit, OrganizationList, ResetForm, Wait) { LoadBreadCrumbs, ReturnToCaller, ClearScope, GetBasePath, LookUpInit, OrganizationList, ResetForm, Wait) {
ClearScope(); ClearScope();
@@ -208,7 +208,7 @@ UsersAdd.$inject = ['$scope', '$rootScope', '$compile', '$location', '$log', '$r
]; ];
function UsersEdit($scope, $rootScope, $compile, $location, $log, $routeParams, UserForm, GenerateForm, Rest, Alert, export function UsersEdit($scope, $rootScope, $compile, $location, $log, $routeParams, UserForm, GenerateForm, Rest, Alert,
ProcessErrors, LoadBreadCrumbs, RelatedSearchInit, RelatedPaginateInit, ReturnToCaller, ClearScope, GetBasePath, ProcessErrors, LoadBreadCrumbs, RelatedSearchInit, RelatedPaginateInit, ReturnToCaller, ClearScope, GetBasePath,
Prompt, CheckAccess, ResetForm, Wait, Stream) { Prompt, CheckAccess, ResetForm, Wait, Stream) {

View File

@@ -1 +1,12 @@
angular.module('DashboardGraphs', []); import JobStatusGraph from 'tower/directives/job-status-graph';
import HostCountGraph from 'tower/directives/host-count-graph';
import HostStatusGraph from 'tower/directives/host-status-graph';
import AutoSizeModule from 'tower/directives/auto-size-module';
import AdjustGraphSize from 'tower/services/adjust-graph-size';
export default angular.module('DashboardGraphs', [])
.directive('jobStatusGraph', JobStatusGraph)
.directive('hostCountGraph', HostCountGraph)
.directive('hostStatusGraph', HostStatusGraph)
.directive('autoSizeModule', AutoSizeModule)
.service('adjustGraphSize', AdjustGraphSize);

View File

@@ -1,5 +1,9 @@
angular.module('DashboardGraphs') export default
.directive('autoSizeModule', ['$window', function($window) { [ '$window',
AutoSizeModule
];
function AutoSizeModule($window) {
// Adjusts the size of the module so that all modules // Adjusts the size of the module so that all modules
// fit into a single a page; assumes there are 2 rows // fit into a single a page; assumes there are 2 rows
@@ -32,4 +36,4 @@ angular.module('DashboardGraphs')
}; };
}]); }

View File

@@ -1,5 +1,10 @@
angular.module('DashboardGraphs'). export default
directive('hostCountGraph', ['GetBasePath', 'Rest', 'adjustGraphSize', '$window', function(getBasePath, Rest, adjustGraphSize, $window) { [ 'adjustGraphSize',
'$window',
HostCountGraph
];
function HostCountGraph(adjustGraphSize, $window) {
return { return {
restrict: 'E', restrict: 'E',
@@ -116,4 +121,4 @@ angular.module('DashboardGraphs').
} }
} }
}]); }

View File

@@ -1,6 +1,10 @@
angular.module('DashboardGraphs') export default
.directive('hostStatusGraph', ['$compile', '$window', [ '$compile',
function ($compile, $window) { '$window',
HostStatusGraph
];
function HostStatusGraph($compile, $window) {
return { return {
restrict: 'E', restrict: 'E',
link: link, link: link,
@@ -99,4 +103,4 @@ angular.module('DashboardGraphs')
} }
} }
}]); }

View File

@@ -1,6 +1,15 @@
angular.module('DashboardGraphs') export default
.directive('jobStatusGraph', ['$rootScope', '$compile', '$location' , '$window', 'Wait', 'adjustGraphSize', 'jobStatusGraphData', [ '$rootScope',
function ($rootScope, $compile , $location, $window, Wait, adjustGraphSize) { '$compile',
'$location' ,
'$window',
'Wait',
'adjustGraphSize',
'jobStatusGraphData',
JobStatusGraph
];
function JobStatusGraph($rootScope, $compile , $location, $window, Wait, adjustGraphSize) {
return { return {
restrict: 'E', restrict: 'E',
templateUrl: '/static/partials/job_status_graph.html', templateUrl: '/static/partials/job_status_graph.html',
@@ -117,4 +126,4 @@ angular.module('DashboardGraphs')
} }
} }
}]); }

58
awx/ui/static/js/forms.js Normal file
View File

@@ -0,0 +1,58 @@
import ActivityDetail from "tower/forms/ActivityDetail";
import Credentials from "tower/forms/Credentials";
import CustomInventory from "tower/forms/CustomInventory";
import EventsViewer from "tower/forms/EventsViewer";
import Groups from "tower/forms/Groups";
import HostGroups from "tower/forms/HostGroups";
import Hosts from "tower/forms/Hosts";
import Inventories from "tower/forms/Inventories";
import InventoryStatus from "tower/forms/InventoryStatus";
import JobEventData from "tower/forms/JobEventData";
import JobSummary from "tower/forms/JobSummary";
import JobTemplates from "tower/forms/JobTemplates";
import JobVarsPrompt from "tower/forms/JobVarsPrompt";
import Jobs from "tower/forms/Jobs";
import LicenseForm from "tower/forms/LicenseForm";
import LicenseUpdate from "tower/forms/LicenseUpdate";
import LogViewerOptions from "tower/forms/LogViewerOptions";
import LogViewerStatus from "tower/forms/LogViewerStatus";
import Organizations from "tower/forms/Organizations";
import Permissions from "tower/forms/Permissions";
import ProjectStatus from "tower/forms/ProjectStatus";
import Projects from "tower/forms/Projects";
import Source from "tower/forms/Source";
import SurveyMaker from "tower/forms/SurveyMaker";
import SurveyQuestion from "tower/forms/SurveyQuestion";
import Teams from "tower/forms/Teams";
import Users from "tower/forms/Users";
export
{ ActivityDetail,
Credentials,
CustomInventory,
EventsViewer,
Groups,
HostGroups,
Hosts,
Inventories,
InventoryStatus,
JobEventData,
JobSummary,
JobTemplates,
JobVarsPrompt,
Jobs,
LicenseForm,
LicenseUpdate,
LogViewerOptions,
LogViewerStatus,
Organizations,
Permissions,
ProjectStatus,
Projects,
Source,
SurveyMaker,
SurveyQuestion,
Teams,
Users
}

View File

@@ -16,6 +16,8 @@
* @name forms.function:ActivityDetail * @name forms.function:ActivityDetail
* @description This form is for activity detail modal that can be shown on most pages. * @description This form is for activity detail modal that can be shown on most pages.
*/ */
export default
angular.module('ActivityDetailDefinition', []) angular.module('ActivityDetailDefinition', [])
.value('ActivityDetailForm', { .value('ActivityDetailForm', {

View File

@@ -10,6 +10,8 @@
* @name forms.function:Credentials * @name forms.function:Credentials
* @description This form is for adding/editing a Credential * @description This form is for adding/editing a Credential
*/ */
export default
angular.module('CredentialFormDefinition', []) angular.module('CredentialFormDefinition', [])
.value('CredentialForm', { .value('CredentialForm', {

View File

@@ -11,6 +11,8 @@
* @name forms.function:Organizations * @name forms.function:Organizations
* @description This form is for adding/editing an organization * @description This form is for adding/editing an organization
*/ */
export default
angular.module('CustomInventoryFormDefinition', []) angular.module('CustomInventoryFormDefinition', [])
.value('CustomInventoryForm', { .value('CustomInventoryForm', {

View File

@@ -9,6 +9,8 @@
* @name forms.function:EventsViewer * @name forms.function:EventsViewer
* @description This form is for events on the job detail page * @description This form is for events on the job detail page
*/ */
export default
angular.module('EventsViewerFormDefinition', []) angular.module('EventsViewerFormDefinition', [])
.value('EventsViewerForm', { .value('EventsViewerForm', {

View File

@@ -11,6 +11,8 @@
* @name forms.function:Groups * @name forms.function:Groups
* @description This form is for adding/editing a Group on the inventory page * @description This form is for adding/editing a Group on the inventory page
*/ */
export default
angular.module('GroupFormDefinition', []) angular.module('GroupFormDefinition', [])
.value('GroupForm', { .value('GroupForm', {

View File

@@ -11,6 +11,8 @@
* @name forms.function:HostGroups * @name forms.function:HostGroups
* @description This form is for groups of hosts on the inventory page * @description This form is for groups of hosts on the inventory page
*/ */
export default
angular.module('HostGroupsFormDefinition', []) angular.module('HostGroupsFormDefinition', [])
.value('HostGroupsForm', { .value('HostGroupsForm', {

View File

@@ -11,6 +11,8 @@
* @name forms.function:Hosts * @name forms.function:Hosts
* @description This form is for adding/editing a host on the inventory page * @description This form is for adding/editing a host on the inventory page
*/ */
export default
angular.module('HostFormDefinition', []) angular.module('HostFormDefinition', [])
.value('HostForm', { .value('HostForm', {

View File

@@ -11,6 +11,8 @@
* @name forms.function:Inventories * @name forms.function:Inventories
* @description This form is for adding/editing an inventory * @description This form is for adding/editing an inventory
*/ */
export default
angular.module('InventoryFormDefinition', []) angular.module('InventoryFormDefinition', [])
.value('InventoryForm', { .value('InventoryForm', {

View File

@@ -11,6 +11,7 @@
* @name forms.function:InventoryStatus * @name forms.function:InventoryStatus
* @description This form is for adding/editing an InventoryStatus * @description This form is for adding/editing an InventoryStatus
*/ */
export default
angular.module('InventoryStatusDefinition', []) angular.module('InventoryStatusDefinition', [])
.value('InventoryStatusForm', { .value('InventoryStatusForm', {

View File

@@ -11,6 +11,8 @@
* @name forms.function:JobEventData * @name forms.function:JobEventData
* @description Not sure if this is used... * @description Not sure if this is used...
*/ */
export default
angular.module('JobEventDataDefinition', []) angular.module('JobEventDataDefinition', [])
.value('JobEventDataForm', { .value('JobEventDataForm', {

View File

@@ -12,6 +12,7 @@
* @description Display job status info in a dialog * @description Display job status info in a dialog
*/ */
export default
angular.module('JobSummaryDefinition', []) angular.module('JobSummaryDefinition', [])
.value('JobSummary', { .value('JobSummary', {

View File

@@ -13,7 +13,7 @@
* @description This form is for adding/editing a Job Template * @description This form is for adding/editing a Job Template
*/ */
export default
angular.module('JobTemplateFormDefinition', ['SchedulesListDefinition', 'CompletedJobsDefinition']) angular.module('JobTemplateFormDefinition', ['SchedulesListDefinition', 'CompletedJobsDefinition'])
.value ('JobTemplateFormObject', { .value ('JobTemplateFormObject', {

View File

@@ -12,7 +12,7 @@
* @description This form is for job variables prompt modal * @description This form is for job variables prompt modal
*/ */
export default
angular.module('JobVarsPromptFormDefinition', []) angular.module('JobVarsPromptFormDefinition', [])
.value ('JobVarsPromptForm', { .value ('JobVarsPromptForm', {

View File

@@ -11,6 +11,8 @@
* @name forms.function:Jobs * @name forms.function:Jobs
* @description This form is for adding/editing a Job * @description This form is for adding/editing a Job
*/ */
export default
angular.module('JobFormDefinition', []) angular.module('JobFormDefinition', [])
.value('JobForm', { .value('JobForm', {

View File

@@ -12,6 +12,7 @@
*/ */
export default
angular.module('LicenseFormDefinition', []) angular.module('LicenseFormDefinition', [])
.value('LicenseForm', { .value('LicenseForm', {

View File

@@ -11,6 +11,8 @@
* @name forms.function:LicenseUpdate * @name forms.function:LicenseUpdate
* @description This form is for updating a license * @description This form is for updating a license
*/ */
export default
angular.module('LicenseUpdateFormDefinition', []) angular.module('LicenseUpdateFormDefinition', [])
.value('LicenseUpdateForm', { .value('LicenseUpdateForm', {

View File

@@ -11,6 +11,8 @@
* @name forms.function:LogViewerOptions * @name forms.function:LogViewerOptions
* @description This form is for the page to view logs * @description This form is for the page to view logs
*/ */
export default
angular.module('LogViewerOptionsDefinition', []) angular.module('LogViewerOptionsDefinition', [])
.value('LogViewerOptionsForm', { .value('LogViewerOptionsForm', {

View File

@@ -11,6 +11,8 @@
* @name forms.function:LogViewerStatus * @name forms.function:LogViewerStatus
* @description Form definition for LogViewer.js helper * @description Form definition for LogViewer.js helper
*/ */
export default
angular.module('LogViewerStatusDefinition', []) angular.module('LogViewerStatusDefinition', [])
.value('LogViewerStatusForm', { .value('LogViewerStatusForm', {

View File

@@ -11,6 +11,8 @@
* @name forms.function:Organizations * @name forms.function:Organizations
* @description This form is for adding/editing an organization * @description This form is for adding/editing an organization
*/ */
export default
angular.module('OrganizationFormDefinition', []) angular.module('OrganizationFormDefinition', [])
.value('OrganizationForm', { .value('OrganizationForm', {

View File

@@ -12,6 +12,8 @@
* @name forms.function:Permissions * @name forms.function:Permissions
* @description This form is for adding/editing persmissions * @description This form is for adding/editing persmissions
*/ */
export default
angular.module('PermissionFormDefinition', []) angular.module('PermissionFormDefinition', [])
.value('PermissionsForm', { .value('PermissionsForm', {

View File

@@ -11,6 +11,8 @@
* @name forms.function:ProjectStatus * @name forms.function:ProjectStatus
* @description This form is for adding/editing project status * @description This form is for adding/editing project status
*/ */
export default
angular.module('ProjectStatusDefinition', []) angular.module('ProjectStatusDefinition', [])
.value('ProjectStatusForm', { .value('ProjectStatusForm', {

View File

@@ -12,6 +12,8 @@
* @name forms.function:Projects * @name forms.function:Projects
* @description This form is for adding/editing projects * @description This form is for adding/editing projects
*/ */
export default
angular.module('ProjectFormDefinition', ['SchedulesListDefinition']) angular.module('ProjectFormDefinition', ['SchedulesListDefinition'])
.value('ProjectsFormObject', { .value('ProjectsFormObject', {

View File

@@ -11,6 +11,8 @@
* @name forms.function:Source * @name forms.function:Source
* @description This form is for group model * @description This form is for group model
*/ */
export default
angular.module('SourceFormDefinition', []) angular.module('SourceFormDefinition', [])
.value('SourceForm', { .value('SourceForm', {

View File

@@ -11,6 +11,8 @@
* @name forms.function:SurveyMaker * @name forms.function:SurveyMaker
* @description This form is for adding/editing a survey * @description This form is for adding/editing a survey
*/ */
export default
angular.module('SurveyMakerFormDefinition', []) angular.module('SurveyMakerFormDefinition', [])
.value('SurveyMakerForm', { .value('SurveyMakerForm', {

View File

@@ -11,6 +11,8 @@
* @name forms.function:Questions * @name forms.function:Questions
* @description This form is for adding a question * @description This form is for adding a question
*/ */
export default
angular.module('SurveyQuestionFormDefinition', []) angular.module('SurveyQuestionFormDefinition', [])
.value('SurveyQuestionForm', { .value('SurveyQuestionForm', {

View File

@@ -11,6 +11,8 @@
* @name forms.function:Teams * @name forms.function:Teams
* @description This form is for adding/editing teams * @description This form is for adding/editing teams
*/ */
export default
angular.module('TeamFormDefinition', []) angular.module('TeamFormDefinition', [])
.value('TeamForm', { .value('TeamForm', {

View File

@@ -11,6 +11,8 @@
* @name forms.function:Users * @name forms.function:Users
* @description This form is for adding/editing users * @description This form is for adding/editing users
*/ */
export default
angular.module('UserFormDefinition', []) angular.module('UserFormDefinition', [])
.value('UserForm', { .value('UserForm', {

11
awx/ui/static/js/help.js Normal file
View File

@@ -0,0 +1,11 @@
import ChromeSocketHelp from "tower/help/ChromeSocketHelp";
import FirefoxSocketHelp from "tower/help/FirefoxSocketHelp";
import InventoryGroups from "tower/help/InventoryGroups";
import SafariSocketHelp from "tower/help/SafariSocketHelp";
export
{ ChromeSocketHelp,
FirefoxSocketHelp,
InventoryGroups,
SafariSocketHelp
}

View File

@@ -0,0 +1,82 @@
import 'tower/forms';
import 'tower/lists';
import AboutAnsible from "tower/helpers/AboutAnsible";
import Access from "tower/helpers/Access";
import Children from "tower/helpers/Children";
import ConfigureTower from "tower/helpers/ConfigureTower";
import Credentials from "tower/helpers/Credentials";
import CustomInventory from "tower/helpers/CustomInventory";
import EventViewer from "tower/helpers/EventViewer";
import Events from "tower/helpers/Events";
import Groups from "tower/helpers/Groups";
import HostEventsViewer from "tower/helpers/HostEventsViewer";
import Hosts from "tower/helpers/Hosts";
import JobDetail from "tower/helpers/JobDetail";
import JobSubmission from "tower/helpers/JobSubmission";
import JobTemplates from "tower/helpers/JobTemplates";
import Jobs from "tower/helpers/Jobs";
import License from "tower/helpers/License";
import LoadConfig from "tower/helpers/LoadConfig";
import LogViewer from "tower/helpers/LogViewer";
import Lookup from "tower/helpers/Lookup";
import PaginationHelpers from "tower/helpers/PaginationHelpers";
import Parse from "tower/helpers/Parse";
import Permissions from "tower/helpers/Permissions";
import ProjectPath from "tower/helpers/ProjectPath";
import Projects from "tower/helpers/Projects";
import Schedules from "tower/helpers/Schedules";
import Selection from "tower/helpers/Selection";
import SocketHelper from "tower/helpers/SocketHelper";
import Survey from "tower/helpers/Survey";
import Users from "tower/helpers/Users";
import Variables from "tower/helpers/Variables";
import ApiDefaults from "tower/helpers/api-defaults";
import inventory from "tower/helpers/inventory";
import MD5 from "tower/helpers/md5";
import RefreshRelated from "tower/helpers/refresh-related";
import Refresh from "tower/helpers/refresh";
import RelatedSearch from "tower/helpers/related-search";
import Search from "tower/helpers/search";
import Teams from "tower/helpers/teams";
export
{ AboutAnsible,
Access,
Children,
ConfigureTower,
Credentials,
CustomInventory,
EventViewer,
Events,
Groups,
HostEventsViewer,
Hosts,
JobDetail,
JobSubmission,
JobTemplates,
Jobs,
License,
LoadConfig,
LogViewer,
Lookup,
PaginationHelpers,
Parse,
Permissions,
ProjectPath,
Projects,
Schedules,
Selection,
SocketHelper,
Survey,
Users,
Variables,
ApiDefaults,
inventory,
MD5,
RefreshRelated,
Refresh,
RelatedSearch,
Search,
Teams
}

View File

@@ -18,6 +18,7 @@
*/ */
export default
angular.module('AboutAnsibleHelpModal', ['RestServices', 'Utilities','ModalDialog']) angular.module('AboutAnsibleHelpModal', ['RestServices', 'Utilities','ModalDialog'])
.factory('AboutAnsibleHelp', ['$rootScope', '$compile', '$location' , 'Rest', 'GetBasePath', 'ProcessErrors', 'Wait', 'CreateDialog', .factory('AboutAnsibleHelp', ['$rootScope', '$compile', '$location' , 'Rest', 'GetBasePath', 'ProcessErrors', 'Wait', 'CreateDialog',
function ($rootScope, $compile , $location, Rest, GetBasePath, ProcessErrors, Wait, CreateDialog) { function ($rootScope, $compile , $location, Rest, GetBasePath, ProcessErrors, Wait, CreateDialog) {

View File

@@ -13,7 +13,7 @@
*/ */
export default
angular.module('AccessHelper', ['RestServices', 'Utilities']) angular.module('AccessHelper', ['RestServices', 'Utilities'])
.factory('CheckAccess', ['$rootScope', 'Alert', 'Rest', 'GetBasePath', 'ProcessErrors', '$cookieStore', function ($rootScope, Alert, Rest, GetBasePath, ProcessErrors, $cookieStore) { .factory('CheckAccess', ['$rootScope', 'Alert', 'Rest', 'GetBasePath', 'ProcessErrors', '$cookieStore', function ($rootScope, Alert, Rest, GetBasePath, ProcessErrors, $cookieStore) {

View File

@@ -12,7 +12,7 @@
* See the filter in job_events.js list. * See the filter in job_events.js list.
*/ */
export default
angular.module('ChildrenHelper', ['RestServices', 'Utilities']) angular.module('ChildrenHelper', ['RestServices', 'Utilities'])
.factory('ToggleChildren', ['$location', 'Store', function ($location, Store) { .factory('ToggleChildren', ['$location', 'Store', function ($location, Store) {
return function (params) { return function (params) {

View File

@@ -12,7 +12,7 @@
*/ */
export default
angular.module('ConfigureTowerHelper', [ 'Utilities', 'RestServices', 'SchedulesHelper', 'SearchHelper', 'PaginationHelpers', 'ListGenerator', 'ModalDialog', angular.module('ConfigureTowerHelper', [ 'Utilities', 'RestServices', 'SchedulesHelper', 'SearchHelper', 'PaginationHelpers', 'ListGenerator', 'ModalDialog',
'GeneratorHelpers']) 'GeneratorHelpers'])

View File

@@ -11,7 +11,7 @@
* @description Functions shared amongst Credential related controllers * @description Functions shared amongst Credential related controllers
*/ */
export default
angular.module('CredentialsHelper', ['Utilities']) angular.module('CredentialsHelper', ['Utilities'])
.factory('KindChange', ['Empty', .factory('KindChange', ['Empty',
@@ -22,6 +22,30 @@ angular.module('CredentialsHelper', ['Utilities'])
reset = params.reset, reset = params.reset,
collapse, id; collapse, id;
$('.popover').each(function() {
// remove lingering popover <div>. Seems to be a bug in TB3 RC1
$(this).remove();
});
$('.tooltip').each( function() {
// close any lingering tool tipss
$(this).hide();
});
// Put things in a default state
scope.usernameLabel = 'Username';
scope.aws_required = false;
scope.email_required = false;
scope.rackspace_required = false;
scope.sshKeyDataLabel = 'SSH Private Key';
scope.username_required = false; // JT-- added username_required b/c mutliple 'kinds' need username to be required (GCE)
scope.key_required = false; // JT -- doing the same for key and project
scope.project_required = false;
scope.subscription_required = false;
scope.key_description = "Paste the contents of the SSH private key file.<div class=\"popover-footer\"><span class=\"key\">esc</span> or click to close</div>";
scope.key_hint= "drag and drop an SSH private key file on the field below";
scope.host_required = false;
scope.password_required = false;
scope.hostLabel = '';
$('.popover').each(function() { $('.popover').each(function() {
// remove lingering popover <div>. Seems to be a bug in TB3 RC1 // remove lingering popover <div>. Seems to be a bug in TB3 RC1
$(this).remove(); $(this).remove();

View File

@@ -12,7 +12,7 @@
*/ */
export default
angular.module('CreateCustomInventoryHelper', [ 'Utilities', 'RestServices', 'SchedulesHelper', 'SearchHelper', 'PaginationHelpers', 'ListGenerator', 'ModalDialog', angular.module('CreateCustomInventoryHelper', [ 'Utilities', 'RestServices', 'SchedulesHelper', 'SearchHelper', 'PaginationHelpers', 'ListGenerator', 'ModalDialog',
'GeneratorHelpers', 'CustomInventoryFormDefinition']) 'GeneratorHelpers', 'CustomInventoryFormDefinition'])

View File

@@ -10,7 +10,7 @@
* @description eventviewerhelper * @description eventviewerhelper
*/ */
export default
angular.module('EventViewerHelper', ['ModalDialog', 'Utilities', 'EventsViewerFormDefinition', 'HostsHelper']) angular.module('EventViewerHelper', ['ModalDialog', 'Utilities', 'EventsViewerFormDefinition', 'HostsHelper'])
.factory('EventViewer', ['$compile', 'CreateDialog', 'GetEvent', 'Wait', 'EventAddTable', 'GetBasePath', 'LookUpName', 'Empty', 'EventAddPreFormattedText', .factory('EventViewer', ['$compile', 'CreateDialog', 'GetEvent', 'Wait', 'EventAddTable', 'GetBasePath', 'LookUpName', 'Empty', 'EventAddPreFormattedText',

View File

@@ -12,7 +12,7 @@
* @description EventView - show the job_events form in a modal dialog * @description EventView - show the job_events form in a modal dialog
*/ */
export default
angular.module('EventsHelper', ['RestServices', 'Utilities', 'JobEventDataDefinition', 'JobEventsFormDefinition']) angular.module('EventsHelper', ['RestServices', 'Utilities', 'JobEventDataDefinition', 'JobEventsFormDefinition'])
.factory('EventView', ['$rootScope', '$location', '$log', '$routeParams', 'Rest', 'Alert', 'GenerateForm', .factory('EventView', ['$rootScope', '$location', '$log', '$routeParams', 'Rest', 'Alert', 'GenerateForm',

View File

@@ -6,13 +6,15 @@
* Routines that handle group add/edit/delete on the Inventory tree widget. * Routines that handle group add/edit/delete on the Inventory tree widget.
* *
*/ */
'use strict';
/** /**
* @ngdoc function * @ngdoc function
* @name helpers.function:Groups * @name helpers.function:Groups
* @description inventory tree widget add/edit/delete * @description inventory tree widget add/edit/delete
*/ */
export default
angular.module('GroupsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', 'GroupListDefinition', 'SearchHelper', angular.module('GroupsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', 'GroupListDefinition', 'SearchHelper',
'PaginationHelpers', 'ListGenerator', 'AuthService', 'GroupsHelper', 'InventoryHelper', 'SelectionHelper', 'PaginationHelpers', 'ListGenerator', 'AuthService', 'GroupsHelper', 'InventoryHelper', 'SelectionHelper',
'JobSubmissionHelper', 'RefreshHelper', 'PromptDialog', 'CredentialsListDefinition', 'InventoryTree', 'JobSubmissionHelper', 'RefreshHelper', 'PromptDialog', 'CredentialsListDefinition', 'InventoryTree',

View File

@@ -12,7 +12,7 @@
* @description view a list of events for a given job and host * @description view a list of events for a given job and host
*/ */
export default
angular.module('HostEventsViewerHelper', ['ModalDialog', 'Utilities', 'EventViewerHelper']) angular.module('HostEventsViewerHelper', ['ModalDialog', 'Utilities', 'EventViewerHelper'])
.factory('HostEventsViewer', ['$log', '$compile', 'CreateDialog', 'Wait', 'GetBasePath', 'Empty', 'GetEvents', 'EventViewer', .factory('HostEventsViewer', ['$log', '$compile', 'CreateDialog', 'Wait', 'GetBasePath', 'Empty', 'GetEvents', 'EventViewer',

View File

@@ -14,8 +14,9 @@
* @description Routines that handle host add/edit/delete on the Inventory detail page. * @description Routines that handle host add/edit/delete on the Inventory detail page.
*/ */
'use strict';
export default
angular.module('HostsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', 'HostListDefinition', angular.module('HostsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', 'HostListDefinition',
'SearchHelper', 'PaginationHelpers', 'ListGenerator', 'AuthService', 'HostsHelper', 'SearchHelper', 'PaginationHelpers', 'ListGenerator', 'AuthService', 'HostsHelper',
'InventoryHelper', 'RelatedSearchHelper', 'InventoryFormDefinition', 'SelectionHelper', 'InventoryHelper', 'RelatedSearchHelper', 'InventoryFormDefinition', 'SelectionHelper',
@@ -1305,8 +1306,3 @@ function($rootScope, $location, $log, $routeParams, Rest, Alert, GenerateForm, P
}; };
}]); }]);

View File

@@ -38,7 +38,7 @@
*/ */
export default
angular.module('JobDetailHelper', ['Utilities', 'RestServices', 'ModalDialog']) angular.module('JobDetailHelper', ['Utilities', 'RestServices', 'ModalDialog'])
.factory('DigestEvent', ['$rootScope', '$log', 'UpdatePlayStatus', 'UpdateHostStatus', 'AddHostResult', .factory('DigestEvent', ['$rootScope', '$log', 'UpdatePlayStatus', 'UpdateHostStatus', 'AddHostResult',

View File

@@ -9,8 +9,9 @@
* @name helpers.function:JobSubmission * @name helpers.function:JobSubmission
* @description * @description
*/ */
'use strict';
export default
angular.module('JobSubmissionHelper', [ 'RestServices', 'Utilities', 'CredentialFormDefinition', 'CredentialsListDefinition', angular.module('JobSubmissionHelper', [ 'RestServices', 'Utilities', 'CredentialFormDefinition', 'CredentialsListDefinition',
'LookUpHelper', 'JobSubmissionHelper', 'JobTemplateFormDefinition', 'ModalDialog', 'FormGenerator', 'JobVarsPromptFormDefinition']) 'LookUpHelper', 'JobSubmissionHelper', 'JobTemplateFormDefinition', 'ModalDialog', 'FormGenerator', 'JobVarsPromptFormDefinition'])

View File

@@ -12,7 +12,7 @@
* @description Routines shared by job related controllers * @description Routines shared by job related controllers
*/ */
export default
angular.module('JobTemplatesHelper', ['Utilities']) angular.module('JobTemplatesHelper', ['Utilities'])
/* /*
@@ -198,4 +198,3 @@ angular.module('JobTemplatesHelper', ['Utilities'])
}]); }]);

View File

@@ -12,7 +12,7 @@
* @description routines shared by job related controllers * @description routines shared by job related controllers
*/ */
export default
angular.module('JobsHelper', ['Utilities', 'RestServices', 'FormGenerator', 'JobSummaryDefinition', 'InventoryHelper', 'GeneratorHelpers', angular.module('JobsHelper', ['Utilities', 'RestServices', 'FormGenerator', 'JobSummaryDefinition', 'InventoryHelper', 'GeneratorHelpers',
'JobSubmissionHelper', 'LogViewerHelper', 'SearchHelper', 'PaginationHelpers', 'ListGenerator']) 'JobSubmissionHelper', 'LogViewerHelper', 'SearchHelper', 'PaginationHelpers', 'ListGenerator'])

View File

@@ -18,7 +18,9 @@
* *
*/ */
import 'tower/forms';
export default
angular.module('LicenseHelper', ['RestServices', 'Utilities', 'LicenseUpdateFormDefinition', 'FormGenerator', 'ParseHelper', 'ModalDialog', 'VariablesHelper', 'LicenseFormDefinition', 'AccessHelper']) angular.module('LicenseHelper', ['RestServices', 'Utilities', 'LicenseUpdateFormDefinition', 'FormGenerator', 'ParseHelper', 'ModalDialog', 'VariablesHelper', 'LicenseFormDefinition', 'AccessHelper'])
@@ -633,4 +635,3 @@ function ($location, $rootScope, $compile, $filter, GenerateForm, Rest, Alert, G
} }
]); ]);
*/ */

View File

@@ -16,6 +16,7 @@
export default
angular.module('LoadConfigHelper', ['Utilities']) angular.module('LoadConfigHelper', ['Utilities'])
.factory('LoadConfig', ['$log', '$rootScope', '$http', 'ProcessErrors', 'Store', function($log, $rootScope, $http, ProcessErrors, Store) { .factory('LoadConfig', ['$log', '$rootScope', '$http', 'ProcessErrors', 'Store', function($log, $rootScope, $http, ProcessErrors, Store) {

View File

@@ -10,7 +10,7 @@
* @description logviewer * @description logviewer
*/ */
export default
angular.module('LogViewerHelper', ['ModalDialog', 'Utilities', 'FormGenerator', 'VariablesHelper']) angular.module('LogViewerHelper', ['ModalDialog', 'Utilities', 'FormGenerator', 'VariablesHelper'])
.factory('LogViewer', ['$location', '$compile', 'CreateDialog', 'GetJob', 'Wait', 'GenerateForm', 'LogViewerStatusForm', 'AddTable', 'AddTextarea', .factory('LogViewer', ['$location', '$compile', 'CreateDialog', 'GetJob', 'Wait', 'GenerateForm', 'LogViewerStatusForm', 'AddTable', 'AddTextarea',

View File

@@ -23,7 +23,7 @@
*/ */
export default
angular.module('LookUpHelper', ['RestServices', 'Utilities', 'SearchHelper', 'PaginationHelpers', 'ListGenerator', 'ApiLoader', 'ModalDialog']) angular.module('LookUpHelper', ['RestServices', 'Utilities', 'SearchHelper', 'PaginationHelpers', 'ListGenerator', 'ApiLoader', 'ModalDialog'])
.factory('LookUpInit', ['Alert', 'Rest', 'GenerateList', 'SearchInit', 'PaginateInit', 'GetBasePath', 'FormatDate', 'Empty', 'CreateDialog', .factory('LookUpInit', ['Alert', 'Rest', 'GenerateList', 'SearchInit', 'PaginateInit', 'GetBasePath', 'FormatDate', 'Empty', 'CreateDialog',

View File

@@ -10,7 +10,7 @@
* @description pagination * @description pagination
*/ */
export default
angular.module('PaginationHelpers', ['Utilities', 'RefreshHelper', 'RefreshRelatedHelper']) angular.module('PaginationHelpers', ['Utilities', 'RefreshHelper', 'RefreshRelatedHelper'])
.factory('PageRangeSetup', ['Empty', .factory('PageRangeSetup', ['Empty',

View File

@@ -13,7 +13,7 @@
*/ */
export default
angular.module('ParseHelper', ['Utilities', 'AngularCodeMirrorModule']) angular.module('ParseHelper', ['Utilities', 'AngularCodeMirrorModule'])
.factory('ParseTypeChange', ['Alert', 'AngularCodeMirror', function (Alert, AngularCodeMirror) { .factory('ParseTypeChange', ['Alert', 'AngularCodeMirror', function (Alert, AngularCodeMirror) {
return function (params) { return function (params) {

View File

@@ -10,6 +10,8 @@
* Functions shared amongst Permission related controllers * Functions shared amongst Permission related controllers
* *
*/ */
export default
angular.module('PermissionsHelper', []) angular.module('PermissionsHelper', [])
// Handle category change event // Handle category change event

View File

@@ -12,6 +12,8 @@
* scope.base_dir (readonly field). * scope.base_dir (readonly field).
* *
*/ */
export default
angular.module('ProjectPathHelper', ['RestServices', 'Utilities']) angular.module('ProjectPathHelper', ['RestServices', 'Utilities'])
.factory('GetProjectPath', ['Alert', 'Rest', 'GetBasePath', 'ProcessErrors', .factory('GetProjectPath', ['Alert', 'Rest', 'GetBasePath', 'ProcessErrors',
function (Alert, Rest, GetBasePath, ProcessErrors) { function (Alert, Rest, GetBasePath, ProcessErrors) {

View File

@@ -14,7 +14,7 @@
*/ */
export default
angular.module('ProjectsHelper', ['RestServices', 'Utilities', 'ProjectStatusDefinition', 'ProjectFormDefinition']) angular.module('ProjectsHelper', ['RestServices', 'Utilities', 'ProjectStatusDefinition', 'ProjectFormDefinition'])
.factory('GetProjectIcon', [ function() { .factory('GetProjectIcon', [ function() {

View File

@@ -12,7 +12,7 @@
*/ */
export default
angular.module('SchedulesHelper', [ 'Utilities', 'RestServices', 'SchedulesHelper', 'SearchHelper', 'PaginationHelpers', 'ListGenerator', 'ModalDialog', angular.module('SchedulesHelper', [ 'Utilities', 'RestServices', 'SchedulesHelper', 'SearchHelper', 'PaginationHelpers', 'ListGenerator', 'ModalDialog',
'GeneratorHelpers']) 'GeneratorHelpers'])

View File

@@ -15,7 +15,7 @@
*/ */
export default
angular.module('SelectionHelper', ['Utilities', 'RestServices']) angular.module('SelectionHelper', ['Utilities', 'RestServices'])
.factory('SelectionInit', ['Rest', 'Alert', 'ProcessErrors', 'ReturnToCaller', 'Wait', .factory('SelectionInit', ['Rest', 'Alert', 'ProcessErrors', 'ReturnToCaller', 'Wait',

View File

@@ -12,7 +12,7 @@
*/ */
export default
angular.module('SocketHelper', ['Utilities', 'FFSocketHelpDefinition', 'SafariSocketHelpDefinition' , 'ChromeSocketHelpDefinition']) angular.module('SocketHelper', ['Utilities', 'FFSocketHelpDefinition', 'SafariSocketHelpDefinition' , 'ChromeSocketHelpDefinition'])
.factory('ShowSocketHelp', ['$location', '$rootScope', 'FFSocketHelp', 'SafariSocketHelp', 'ChromeSocketHelp', 'HelpDialog', .factory('ShowSocketHelp', ['$location', '$rootScope', 'FFSocketHelp', 'SafariSocketHelp', 'ChromeSocketHelp', 'HelpDialog',

View File

@@ -11,8 +11,7 @@
* *
*/ */
export default
angular.module('SurveyHelper', [ 'Utilities', 'RestServices', 'SchedulesHelper', 'SearchHelper', 'PaginationHelpers', 'ListGenerator', 'ModalDialog' , angular.module('SurveyHelper', [ 'Utilities', 'RestServices', 'SchedulesHelper', 'SearchHelper', 'PaginationHelpers', 'ListGenerator', 'ModalDialog' ,
'GeneratorHelpers']) 'GeneratorHelpers'])
@@ -877,4 +876,3 @@ angular.module('SurveyHelper', [ 'Utilities', 'RestServices', 'SchedulesHelper',
}; };
}]); }]);

View File

@@ -11,7 +11,7 @@
*/ */
export default
angular.module('UserHelper', ['UserFormDefinition']) angular.module('UserHelper', ['UserFormDefinition'])
.factory('ResetForm', ['UserForm', .factory('ResetForm', ['UserForm',
function (UserForm) { function (UserForm) {

View File

@@ -10,8 +10,7 @@
* *
*/ */
export default
angular.module('VariablesHelper', ['Utilities']) angular.module('VariablesHelper', ['Utilities'])
/** /**

View File

@@ -11,7 +11,7 @@
* @description this could use more discussion * @description this could use more discussion
*/ */
export default
angular.module('APIDefaults', ['RestServices', 'Utilities']) angular.module('APIDefaults', ['RestServices', 'Utilities'])
.factory('GetAPIDefaults', ['Alert', 'Rest', '$rootScope', .factory('GetAPIDefaults', ['Alert', 'Rest', '$rootScope',
function (Alert, Rest, $rootScope) { function (Alert, Rest, $rootScope) {

View File

@@ -11,7 +11,7 @@
* (controllers/Inventories.js) * (controllers/Inventories.js)
*/ */
export default
angular.module('InventoryHelper', ['RestServices', 'Utilities', 'OrganizationListDefinition', 'ListGenerator', 'AuthService', angular.module('InventoryHelper', ['RestServices', 'Utilities', 'OrganizationListDefinition', 'ListGenerator', 'AuthService',
'InventoryHelper', 'InventoryFormDefinition', 'ParseHelper', 'SearchHelper', 'VariablesHelper', 'InventoryHelper', 'InventoryFormDefinition', 'ParseHelper', 'SearchHelper', 'VariablesHelper',
]) ])

View File

@@ -14,7 +14,7 @@
*/ */
export default
angular.module('md5Helper', ['RestServices', 'Utilities', 'angular-md5']) angular.module('md5Helper', ['RestServices', 'Utilities', 'angular-md5'])
.factory('md5Setup', ['md5', function (md5) { .factory('md5Setup', ['md5', function (md5) {
return function (params) { return function (params) {

View File

@@ -20,7 +20,7 @@
*/ */
export default
angular.module('RefreshRelatedHelper', ['RestServices', 'Utilities', 'PaginationHelpers']) angular.module('RefreshRelatedHelper', ['RestServices', 'Utilities', 'PaginationHelpers'])
.factory('RefreshRelated', ['ProcessErrors', 'Rest', 'Wait', 'PageRangeSetup', .factory('RefreshRelated', ['ProcessErrors', 'Rest', 'Wait', 'PageRangeSetup',
function (ProcessErrors, Rest, Wait, PageRangeSetup) { function (ProcessErrors, Rest, Wait, PageRangeSetup) {

View File

@@ -19,7 +19,7 @@
*/ */
export default
angular.module('RefreshHelper', ['RestServices', 'Utilities', 'PaginationHelpers']) angular.module('RefreshHelper', ['RestServices', 'Utilities', 'PaginationHelpers'])
.factory('Refresh', ['ProcessErrors', 'Rest', 'Wait', 'Empty', 'PageRangeSetup', .factory('Refresh', ['ProcessErrors', 'Rest', 'Wait', 'Empty', 'PageRangeSetup',
function (ProcessErrors, Rest, Wait, Empty, PageRangeSetup) { function (ProcessErrors, Rest, Wait, Empty, PageRangeSetup) {

View File

@@ -20,7 +20,7 @@
*/ */
export default
angular.module('RelatedSearchHelper', ['RestServices', 'Utilities', 'RefreshRelatedHelper']) angular.module('RelatedSearchHelper', ['RestServices', 'Utilities', 'RefreshRelatedHelper'])
.factory('RelatedSearchInit', ['$timeout', 'Alert', 'Rest', 'RefreshRelated', 'Wait', 'Empty', .factory('RelatedSearchInit', ['$timeout', 'Alert', 'Rest', 'RefreshRelated', 'Wait', 'Empty',
function ($timeout, Alert, Rest, RefreshRelated, Wait, Empty) { function ($timeout, Alert, Rest, RefreshRelated, Wait, Empty) {

View File

@@ -20,7 +20,7 @@
*/ */
export default
angular.module('SearchHelper', ['RestServices', 'Utilities', 'RefreshHelper']) angular.module('SearchHelper', ['RestServices', 'Utilities', 'RefreshHelper'])
.factory('SearchInit', ['Alert', 'Rest', 'Refresh', '$location', 'GetBasePath', 'Empty', '$timeout', 'Wait', 'Store', .factory('SearchInit', ['Alert', 'Rest', 'Refresh', '$location', 'GetBasePath', 'Empty', '$timeout', 'Wait', 'Store',

View File

@@ -10,7 +10,7 @@
*/ */
export default
angular.module('TeamHelper', ['RestServices', 'Utilities', 'OrganizationListDefinition', 'SearchHelper', angular.module('TeamHelper', ['RestServices', 'Utilities', 'OrganizationListDefinition', 'SearchHelper',
'PaginationHelpers', 'ListGenerator' 'PaginationHelpers', 'ListGenerator'
]) ])

61
awx/ui/static/js/lists.js Normal file
View File

@@ -0,0 +1,61 @@
import Admins from "tower/lists/Admins";
import CloudCredentials from "tower/lists/CloudCredentials";
import CompletedJobs from "tower/lists/CompletedJobs";
import ConfigureTowerJobs from "tower/lists/ConfigureTowerJobs";
import Credentials from "tower/lists/Credentials";
import CustomInventory from "tower/lists/CustomInventory";
import Groups from "tower/lists/Groups";
import HomeGroups from "tower/lists/HomeGroups";
import HomeHosts from "tower/lists/HomeHosts";
import Hosts from "tower/lists/Hosts";
import Inventories from "tower/lists/Inventories";
import InventoryGroups from "tower/lists/InventoryGroups";
import InventoryHosts from "tower/lists/InventoryHosts";
import JobEvents from "tower/lists/JobEvents";
import JobHosts from "tower/lists/JobHosts";
import JobTemplates from "tower/lists/JobTemplates";
import Jobs from "tower/lists/Jobs";
import Organizations from "tower/lists/Organizations";
import Permissions from "tower/lists/Permissions";
import PortalJobTemplates from "tower/lists/PortalJobTemplates";
import PortalJobs from "tower/lists/PortalJobs";
import Projects from "tower/lists/Projects";
import QueuedJobs from "tower/lists/QueuedJobs";
import RunningJobs from "tower/lists/RunningJobs";
import ScheduledJobs from "tower/lists/ScheduledJobs";
import Schedules from "tower/lists/Schedules";
import Streams from "tower/lists/Streams";
import Teams from "tower/lists/Teams";
import Users from "tower/lists/Users";
export
{ Admins,
CloudCredentials,
CompletedJobs,
ConfigureTowerJobs,
Credentials,
CustomInventory,
Groups,
HomeGroups,
HomeHosts,
Hosts,
Inventories,
InventoryGroups,
InventoryHosts,
JobEvents,
JobHosts,
JobTemplates,
Jobs,
Organizations,
Permissions,
PortalJobTemplates,
PortalJobs,
Projects,
QueuedJobs,
RunningJobs,
ScheduledJobs,
Schedules,
Streams,
Teams,
Users
}

View File

@@ -9,6 +9,7 @@
export default
angular.module('AdminListDefinition', []) angular.module('AdminListDefinition', [])
.value('AdminList', { .value('AdminList', {

View File

@@ -9,6 +9,7 @@
export default
angular.module('CloudCredentialsListDefinition', []) angular.module('CloudCredentialsListDefinition', [])
.value('CloudCredentialList', { .value('CloudCredentialList', {

View File

@@ -8,6 +8,7 @@
export default
angular.module('CompletedJobsDefinition', []) angular.module('CompletedJobsDefinition', [])
.value( 'CompletedJobsList', { .value( 'CompletedJobsList', {

Some files were not shown because too many files have changed in this diff Show More