mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
Job detail page refactor / Dashboard
Made column sizing consistent across all job list objects.
This commit is contained in:
parent
878471bb76
commit
cd56906a2b
@ -24,13 +24,13 @@ angular.module('CompletedJobsDefinition', [])
|
||||
label: 'ID',
|
||||
ngClick:"viewJobLog(completed_job.id)",
|
||||
searchType: 'int',
|
||||
columnClass: 'col-md-1 col-sm-2 col-xs-2',
|
||||
columnClass: 'col-lg-1 col-md-1 col-sm-2 col-xs-2',
|
||||
awToolTip: "{{ completed_job.status_tip }}",
|
||||
dataPlacement: 'top'
|
||||
},
|
||||
status: {
|
||||
label: 'Status',
|
||||
columnClass: 'col-md-2 col-sm-2 col-xs-2',
|
||||
columnClass: 'col-lg-1 col-md-2 col-sm-2 col-xs-2',
|
||||
awToolTip: "{{ completed_job.status_tip }}",
|
||||
awTipPlacement: "top",
|
||||
dataTitle: "{{ completed_job.status_popover_title }}",
|
||||
@ -50,7 +50,7 @@ angular.module('CompletedJobsDefinition', [])
|
||||
noLink: true,
|
||||
searchable: false,
|
||||
filter: "date:'MM/dd HH:mm:ss'",
|
||||
columnClass: "col-md-2 hidden-xs",
|
||||
columnClass: "col-lg-2 col-md-2 hidden-xs",
|
||||
key: true,
|
||||
desc: true
|
||||
},
|
||||
@ -58,7 +58,7 @@ angular.module('CompletedJobsDefinition', [])
|
||||
label: 'Type',
|
||||
ngBind: 'completed_job.type_label',
|
||||
link: false,
|
||||
columnClass: "col-md-2 hidden-sm hidden-xs",
|
||||
columnClass: "col-lg-2 col-md-2 hidden-sm hidden-xs",
|
||||
columnShow: "showJobType",
|
||||
searchable: true,
|
||||
searchType: 'select',
|
||||
|
@ -29,7 +29,7 @@ angular.module('JobsListDefinition', [])
|
||||
key: true,
|
||||
desc: true,
|
||||
searchType: 'int',
|
||||
columnClass: 'col-md-1 col-sm-2 col-xs-2',
|
||||
columnClass: 'col-lg-1 col-md-1 col-sm-2 col-xs-2',
|
||||
awToolTip: "{{ job.status_tip }}",
|
||||
awTipPlacement: "top",
|
||||
},
|
||||
@ -49,13 +49,13 @@ angular.module('JobsListDefinition', [])
|
||||
noLink: true,
|
||||
searchable: false,
|
||||
filter: "date:'MM/dd HH:mm:ss'",
|
||||
columnClass: "col-lg-1 col-md-2 hidden-xs"
|
||||
columnClass: "col-lg-2 col-md-2 hidden-xs"
|
||||
},
|
||||
type: {
|
||||
label: 'Type',
|
||||
ngBind: 'job.type_label',
|
||||
link: false,
|
||||
columnClass: "col-lg-1 col-md-2 hidden-sm hidden-xs",
|
||||
columnClass: "col-lg-2 col-md-2 hidden-sm hidden-xs",
|
||||
searchable: true,
|
||||
searchType: 'select',
|
||||
searchOptions: [] // populated via GetChoices() in controller
|
||||
|
@ -26,13 +26,13 @@ angular.module('QueuedJobsDefinition', [])
|
||||
key: true,
|
||||
desc: true,
|
||||
searchType: 'int',
|
||||
columnClass: 'col-md-1 col-sm-2 col-xs-2',
|
||||
columnClass: 'col-lg-1 col-md-1 col-sm-2 col-xs-2',
|
||||
awToolTip: "{{ queued_job.status_tip }}",
|
||||
awTipPlacement: "top",
|
||||
},
|
||||
status: {
|
||||
label: 'Status',
|
||||
columnClass: 'col-md-2 col-sm-2 col-xs-2',
|
||||
columnClass: 'col-lg-1 col-md-2 col-sm-2 col-xs-2',
|
||||
awToolTip: "{{ queued_job.status_tip }}",
|
||||
awTipPlacement: "top",
|
||||
dataTitle: "{{ queued_job.status_popover_title }}",
|
||||
@ -46,20 +46,20 @@ angular.module('QueuedJobsDefinition', [])
|
||||
noLink: true,
|
||||
searchable: false,
|
||||
filter: "date:'MM/dd HH:mm:ss'",
|
||||
columnClass: 'col-md-2 hidden-xs'
|
||||
columnClass: 'col-lg-2 col-md-2 hidden-xs'
|
||||
},
|
||||
type: {
|
||||
label: 'Type',
|
||||
ngBind: 'queued_job.type_label',
|
||||
link: false,
|
||||
columnClass: "col-md-2 hidden-sm hidden-xs",
|
||||
columnClass: "col-lg-2 col-md-2 hidden-sm hidden-xs",
|
||||
searchable: true,
|
||||
searchType: 'select',
|
||||
searchOptions: [] // populated via GetChoices() in controller
|
||||
},
|
||||
name: {
|
||||
label: 'Name',
|
||||
columnClass: 'col-sm-3 col-xs-5',
|
||||
columnClass: 'col-md-3 col-sm-3 col-xs-5',
|
||||
ngClick: "viewJobLog(queued_job.id, queued_job.nameHref)",
|
||||
defaultSearchField: true
|
||||
}
|
||||
|
@ -26,13 +26,13 @@ angular.module('RunningJobsDefinition', [])
|
||||
key: true,
|
||||
desc: true,
|
||||
searchType: 'int',
|
||||
columnClass: 'col-md-1 col-sm-2 col-xs-2',
|
||||
columnClass: 'col-lg-1 col-md-1 col-sm-2 col-xs-2',
|
||||
awToolTip: "{{ running_job.status_tip }}",
|
||||
awTipPlacement: "top",
|
||||
},
|
||||
status: {
|
||||
label: 'Status',
|
||||
columnClass: 'col-md-2 col-sm-2 col-xs-2',
|
||||
columnClass: 'col-lg-1 col-md-2 col-sm-2 col-xs-2',
|
||||
awToolTip: "{{ running_job.status_tip }}",
|
||||
awTipPlacement: "top",
|
||||
dataTitle: "{{ running_job.status_popover_title }}",
|
||||
@ -46,13 +46,13 @@ angular.module('RunningJobsDefinition', [])
|
||||
noLink: true,
|
||||
searchable: false,
|
||||
filter: "date:'MM/dd HH:mm:ss'",
|
||||
columnClass: "col-md-2 hidden-xs"
|
||||
columnClass: "col-lg-2 col-md-2 hidden-xs"
|
||||
},
|
||||
type: {
|
||||
label: 'Type',
|
||||
ngBind: 'running_job.type_label',
|
||||
link: false,
|
||||
columnClass: "col-md-2 hidden-sm hidden-xs",
|
||||
columnClass: "col-lg-2 col-md-2 hidden-sm hidden-xs",
|
||||
searchable: true,
|
||||
searchType: 'select',
|
||||
searchOptions: [] // populated via GetChoices() in controller
|
||||
|
@ -35,14 +35,14 @@ angular.module('ScheduledJobsDefinition', [])
|
||||
label: 'Next Run',
|
||||
noLink: true,
|
||||
searchable: false,
|
||||
columnClass: "col-lg-1 col-md-2 hidden-xs",
|
||||
columnClass: "col-lg-2 col-md-2 hidden-xs",
|
||||
filter: "date:'MM/dd HH:mm:ss'",
|
||||
key: true
|
||||
},
|
||||
type: {
|
||||
label: 'Type',
|
||||
noLink: true,
|
||||
columnClass: "col-lg-1 col-md-2 hidden-sm hidden-xs",
|
||||
columnClass: "col-lg-2 col-md-2 hidden-sm hidden-xs",
|
||||
sourceModel: 'unified_job_template',
|
||||
sourceField: 'unified_job_type',
|
||||
ngBind: 'schedule.type_label',
|
||||
|
Loading…
Reference in New Issue
Block a user