From 2fa230052c0b54f1a6d78af4586e2ed30148b33b Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Wed, 15 Oct 2014 10:12:13 -0400 Subject: [PATCH] removing some unnecessary files --- awx/ui/static/js/app.js | 3 +- awx/ui/static/js/forms/SurveyTaker.js | 65 ----------------------- awx/ui/static/js/helpers/JobSubmission.js | 7 ++- awx/ui/static/js/helpers/Survey.js | 22 ++------ awx/ui/templates/ui/index.html | 3 -- 5 files changed, 7 insertions(+), 93 deletions(-) delete mode 100644 awx/ui/static/js/forms/SurveyTaker.js diff --git a/awx/ui/static/js/app.js b/awx/ui/static/js/app.js index 204df59d6d..a949c7dd52 100644 --- a/awx/ui/static/js/app.js +++ b/awx/ui/static/js/app.js @@ -116,9 +116,8 @@ angular.module('Tower', [ 'LoadConfigHelper', 'SocketHelper', 'AboutAnsibleHelpModal', - 'SurveyMakerFormDefinition', 'SurveyQuestionFormDefinition', - 'SurveyTakerFormDefinition' + ]) diff --git a/awx/ui/static/js/forms/SurveyTaker.js b/awx/ui/static/js/forms/SurveyTaker.js deleted file mode 100644 index aef71c8214..0000000000 --- a/awx/ui/static/js/forms/SurveyTaker.js +++ /dev/null @@ -1,65 +0,0 @@ -/********************************************* - * Copyright (c) 2014 AnsibleWorks, Inc. - * - * SurveyMaker.js - * Form definition for survey maker model - * - * - */ - /** - * @ngdoc function - * @name forms.function:SurveyMaker - * @description This form is for adding/editing a survey -*/ -angular.module('SurveyTakerFormDefinition', []) - .value('SurveyTakerForm', { - - // addTitle: 'Add Survey', //Title in add mode - // editTitle: 'Edit Survey', //Title in edit mode - name: 'survey_taker', //entity or model name in singular form - // // well: true, - breadCrumbs: false, - // twoColumns: true, - // // collapse: true, - // collapseTitle: "Properties", - // collapseMode: 'edit', - // collapseOpen: true, - - // actions: { - // stream: { - // 'class': "btn-primary btn-xs activity-btn", - // ngClick: "showActivity()", - // awToolTip: "View Activity Stream", - // dataPlacement: "top", - // icon: "icon-comments-alt", - // mode: 'edit', - // iconSize: 'large' - // } - // }, - - fields: { - survey_name: { - type: 'custom', - control: '
'+ - '
'+//'+ - '
' + - '
'+ - //''+ - '
' - - }, - - }, - - buttons: { //for now always generates