Jobs page

Changed Job ID label to ID.
This commit is contained in:
Chris Houseknecht
2014-06-25 22:52:35 -04:00
parent 73255eace9
commit fa3896ccb8
4 changed files with 22 additions and 22 deletions

View File

@@ -1,16 +1,16 @@
/********************************************* /*********************************************
* Copyright (c) 2014 AnsibleWorks, Inc. * Copyright (c) 2014 AnsibleWorks, Inc.
* *
* CompletedJobs.js * CompletedJobs.js
*
* *
*
*/ */
'use strict'; 'use strict';
angular.module('CompletedJobsDefinition', []) angular.module('CompletedJobsDefinition', [])
.value( 'CompletedJobsList', { .value( 'CompletedJobsList', {
name: 'completed_jobs', name: 'completed_jobs',
iterator: 'completed_job', iterator: 'completed_job',
editTitle: 'Completed Jobs', editTitle: 'Completed Jobs',
@@ -18,10 +18,10 @@ angular.module('CompletedJobsDefinition', [])
index: false, index: false,
hover: true, hover: true,
well: false, well: false,
fields: { fields: {
id: { id: {
label: 'Job ID', label: 'ID',
ngClick:"viewJobLog(completed_job.id)", ngClick:"viewJobLog(completed_job.id)",
searchType: 'int', searchType: 'int',
columnClass: 'col-md-1 col-sm-2 col-xs-2', columnClass: 'col-md-1 col-sm-2 col-xs-2',
@@ -81,7 +81,7 @@ angular.module('CompletedJobsDefinition', [])
}, },
actions: { }, actions: { },
fieldActions: { fieldActions: {
submit: { submit: {
icon: 'icon-rocket', icon: 'icon-rocket',

View File

@@ -1,17 +1,17 @@
/********************************************* /*********************************************
* Copyright (c) 2014 AnsibleWorks, Inc. * Copyright (c) 2014 AnsibleWorks, Inc.
* *
* Jobs.js * Jobs.js
* List view object for Team data model. * List view object for Team data model.
* *
* *
*/ */
'use strict'; 'use strict';
angular.module('JobsListDefinition', []) angular.module('JobsListDefinition', [])
.value( 'JobsList', { .value( 'JobsList', {
name: 'jobs', name: 'jobs',
iterator: 'job', iterator: 'job',
editTitle: 'Jobs', editTitle: 'Jobs',
@@ -20,10 +20,10 @@ angular.module('JobsListDefinition', [])
hover: true, hover: true,
well: false, well: false,
"class": 'jobs-table', "class": 'jobs-table',
fields: { fields: {
id: { id: {
label: 'Job ID', label: 'ID',
key: true, key: true,
desc: true, desc: true,
searchType: 'int' searchType: 'int'
@@ -75,7 +75,7 @@ angular.module('JobsListDefinition', [])
dataPlacement: 'top' dataPlacement: 'top'
} }
}, },
actions: { actions: {
refresh: { refresh: {
mode: 'all', mode: 'all',

View File

@@ -3,14 +3,14 @@
* *
* QueuedJobs.js * QueuedJobs.js
* *
* *
*/ */
'use strict'; 'use strict';
angular.module('QueuedJobsDefinition', []) angular.module('QueuedJobsDefinition', [])
.value( 'QueuedJobsList', { .value( 'QueuedJobsList', {
name: 'queued_jobs', name: 'queued_jobs',
iterator: 'queued_job', iterator: 'queued_job',
editTitle: 'Queued Jobs', editTitle: 'Queued Jobs',
@@ -18,10 +18,10 @@ angular.module('QueuedJobsDefinition', [])
index: false, index: false,
hover: true, hover: true,
well: false, well: false,
fields: { fields: {
id: { id: {
label: 'Job ID', label: 'ID',
ngClick:"viewJobLog(queued_job.id)", ngClick:"viewJobLog(queued_job.id)",
key: true, key: true,
desc: true, desc: true,

View File

@@ -1,16 +1,16 @@
/********************************************* /*********************************************
* Copyright (c) 2014 AnsibleWorks, Inc. * Copyright (c) 2014 AnsibleWorks, Inc.
* *
* RunningJobs.js * RunningJobs.js
*
* *
*
*/ */
'use strict'; 'use strict';
angular.module('RunningJobsDefinition', []) angular.module('RunningJobsDefinition', [])
.value( 'RunningJobsList', { .value( 'RunningJobsList', {
name: 'running_jobs', name: 'running_jobs',
iterator: 'running_job', iterator: 'running_job',
editTitle: 'Completed Jobs', editTitle: 'Completed Jobs',
@@ -18,10 +18,10 @@ angular.module('RunningJobsDefinition', [])
index: false, index: false,
hover: true, hover: true,
well: false, well: false,
fields: { fields: {
id: { id: {
label: 'Job ID', label: 'ID',
ngClick:"viewJobLog(running_job.id)", ngClick:"viewJobLog(running_job.id)",
key: true, key: true,
desc: true, desc: true,
@@ -66,7 +66,7 @@ angular.module('RunningJobsDefinition', [])
}, },
actions: { }, actions: { },
fieldActions: { fieldActions: {
submit: { submit: {
icon: 'icon-rocket', icon: 'icon-rocket',