From 3739425eb74a5108007a272d111934bd87aba185 Mon Sep 17 00:00:00 2001 From: Michael Abashian Date: Mon, 23 May 2016 10:28:39 -0400 Subject: [PATCH] Moved survey buttons down beside save/cancel on job template forms --- awx/ui/client/legacy-styles/forms.less | 1 - awx/ui/client/src/forms/JobTemplates.js | 15 ++++++++------- .../survey-maker/survey-maker.block.less | 1 + awx/ui/client/src/shared/form-generator.js | 8 ++++++++ 4 files changed, 17 insertions(+), 8 deletions(-) diff --git a/awx/ui/client/legacy-styles/forms.less b/awx/ui/client/legacy-styles/forms.less index ed66d8de04..a54c0c6aed 100644 --- a/awx/ui/client/legacy-styles/forms.less +++ b/awx/ui/client/legacy-styles/forms.less @@ -494,7 +494,6 @@ input[type='radio']:checked:before { .Form-surveyButton { background-color: @default-link; - margin-right: 20px; color: @default-bg; text-transform: uppercase; padding-left:15px; diff --git a/awx/ui/client/src/forms/JobTemplates.js b/awx/ui/client/src/forms/JobTemplates.js index 0292a29b3d..cc82057048 100644 --- a/awx/ui/client/src/forms/JobTemplates.js +++ b/awx/ui/client/src/forms/JobTemplates.js @@ -309,17 +309,18 @@ export default dataPlacement: 'right', dataTitle: "Host Config Key", dataContainer: "body" - }, - survey: { - type: 'custom', - column: 2, - ngHide: "job_type.value === 'scan'" , - control: ''+ - '' } }, buttons: { //for now always generates