From 71bd78085a90a801884b976b9006339d156661fc Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Wed, 22 Oct 2014 16:51:42 -0400 Subject: [PATCH] changed list objects for portal mode removed unnecessary objects and adjusted some of the settings to make styling consistent b/t the two portal widgets --- awx/ui/static/js/lists/PortalJobTemplates.js | 7 ++++--- awx/ui/static/js/lists/PortalJobs.js | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/awx/ui/static/js/lists/PortalJobTemplates.js b/awx/ui/static/js/lists/PortalJobTemplates.js index 45a3395872..0bcfcd1753 100644 --- a/awx/ui/static/js/lists/PortalJobTemplates.js +++ b/awx/ui/static/js/lists/PortalJobTemplates.js @@ -14,12 +14,13 @@ angular.module('PortalJobTemplatesListDefinition', []) name: 'job_templates', iterator: 'job_template', - selectTitle: 'Add Job Template', + // selectTitle: 'Add Job Template', editTitle: 'Job Templates', - selectInstructions: "Click on a row to select it, and click Finished when done. Use the " + - "button to create a new job template.", + // selectInstructions: "Click on a row to select it, and click Finished when done. Use the " + + // "button to create a new job template.", index: false, hover: true, + well: true, fields: { name: { diff --git a/awx/ui/static/js/lists/PortalJobs.js b/awx/ui/static/js/lists/PortalJobs.js index 5f05415861..733dd78b90 100644 --- a/awx/ui/static/js/lists/PortalJobs.js +++ b/awx/ui/static/js/lists/PortalJobs.js @@ -17,10 +17,10 @@ angular.module('PortalJobsListDefinition', []) name: 'jobs', iterator: 'job', editTitle: 'Jobs', - // 'class': 'table-condensed', + 'class': 'table-condensed', index: false, hover: true, - well: false, + well: true, fields: { id: {