';
html += '
';
html += '
';
html += '
';
@@ -346,8 +347,8 @@ angular.module('SurveyHelper', [ 'Utilities', 'RestServices', 'SchedulesHelper',
$('#question_'+question.index).append(html);
element = angular.element(document.getElementById('question_'+question.index));
- // element.html(html);
- element.css('opacity', 0.7);
+ // // element.html(html);
+ //element.css('opacity', 0.7);
$compile(element)(scope);
// var questionScope = scope.$new;
@@ -420,7 +421,7 @@ angular.module('SurveyHelper', [ 'Utilities', 'RestServices', 'SchedulesHelper',
if( question.type === 'textarea'){
scope.textarea_min = question.min;
scope.textarea_max = question.max;
- // scope.default_text = question.default;
+ scope.default_textarea= question.default;
}
if( question.type === 'integer'){
scope.int_min = question.min;
diff --git a/awx/ui/static/less/survey-maker.less b/awx/ui/static/less/survey-maker.less
index ed963e5f30..5a95056463 100644
--- a/awx/ui/static/less/survey-maker.less
+++ b/awx/ui/static/less/survey-maker.less
@@ -37,7 +37,7 @@
border-top: 1px dashed;
border-color: rgb(204,204,204);
border-radius: 4px;
- opacity: 0.7;
+
padding: 5px;
position: relative;
@@ -45,14 +45,25 @@
margin-left: 15px;
margin-top: 5px;
}
+ .question_title{
+ opacity: 0.7;
+ }
.description{
+ opacity: 0.7;
margin-left: 15px;
}
+ .input_area{
+ opacity: 0.7;
+ }
.mc{
- margin-left: 18px;
- margin-right: 7px;
+ margin-left: 18px;
+ margin-right: 7px;
+ }
+
}
+.question_actions{
+ opacity: 1.0;
}
#new_question{