mirror of
https://github.com/ansible/awx.git
synced 2026-01-21 06:28:01 -03:30
Merge pull request #1616 from mabashian/survey-maker-delete
Delete Survey icon moved to button
This commit is contained in:
commit
b00e7b2039
@ -97,19 +97,16 @@
|
||||
color: @default-icon;
|
||||
}
|
||||
.SurveyMaker-deleteButton {
|
||||
font-size: 16px;
|
||||
height: 30px;
|
||||
min-width: 30px;
|
||||
color: @list-action-icon;
|
||||
background-color: @list-actn-bg;
|
||||
border: none;
|
||||
border-radius: 50%;
|
||||
margin-right: 15px;
|
||||
color: @default-bg;
|
||||
background-color: @default-err;
|
||||
text-transform: uppercase;
|
||||
padding-left:15px;
|
||||
padding-right: 15px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.SurveyMaker-deleteButton:hover {
|
||||
background-color: @list-actn-del-bg-hov !important;
|
||||
color: @list-actn-icn-hov;
|
||||
background-color: @default-err-hov;
|
||||
color: @default-bg;
|
||||
}
|
||||
.SurveyMaker-previewLabel {
|
||||
text-transform: uppercase;
|
||||
|
||||
@ -27,9 +27,6 @@
|
||||
<div ng-show="!survey_enabled" class="ScheduleToggle-switch" ng-click="toggleSurveyEnabled()">OFF</div>
|
||||
</div>
|
||||
</div>
|
||||
<button id="delete-survey" class="SurveyMaker-deleteButton" data-placement="top" ng-show="survey_exists" ng-click="showDeleteOverlay('survey')" aw-tool-tip="Delete survey" data-original-title="" title="">
|
||||
<i class="fa fa-trash-o"></i>
|
||||
</button>
|
||||
<div class="SurveyMaker-close">
|
||||
<button class="SurveyMaker-exit" ng-click="closeSurvey('survey-modal-dialog')"><i class="fa fa-times-circle"></i></button>
|
||||
</div>
|
||||
@ -86,6 +83,7 @@
|
||||
<div class="Form-buttons">
|
||||
<button id="survey-save-button" class="btn btn-sm Form-saveButton" ng-click="saveSurvey()" ng-disabled="survey_questions.length < 1 || !can_edit || editQuestionIndex !== null">SAVE</button>
|
||||
<button id="survey-close-button" class="btn btn-sm Form-buttonDefault" ng-click="closeSurvey('survey-modal-dialog')">CANCEL</button>
|
||||
<button id="survey-delete-button" class="btn btn-sm SurveyMaker-deleteButton" ng-show="survey_exists" ng-click="showDeleteOverlay('survey')">DELETE SURVEY</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user