mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 10:27:37 -02:30
Modified styling of modal dialog.
This commit is contained in:
@@ -35,7 +35,9 @@ angular.module('GroupsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', '
|
||||
scope.formModalActionLabel = 'Finished';
|
||||
scope.formModalHeader = 'Add Group';
|
||||
scope.formModalCancelShow = true;
|
||||
|
||||
scope.formModalActionClass = 'btn btn-success';
|
||||
|
||||
$('#form-modal .btn-info').removeClass('btn-info').addClass('btn-success');
|
||||
$('#form-modal').modal();
|
||||
|
||||
scope.selected = [];
|
||||
@@ -175,6 +177,8 @@ angular.module('GroupsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', '
|
||||
scope.formModalCancelShow = true;
|
||||
scope.parseType = 'json';
|
||||
ParseTypeChange(scope);
|
||||
|
||||
$('#form-modal .btn-info').removeClass('btn-info').addClass('btn-success');
|
||||
|
||||
generator.reset();
|
||||
var master={};
|
||||
@@ -269,6 +273,8 @@ angular.module('GroupsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', '
|
||||
scope.parseType = 'json';
|
||||
ParseTypeChange(scope);
|
||||
|
||||
$('#form-modal .btn-info').removeClass('btn-info').addClass('btn-success');
|
||||
|
||||
// After the group record is loaded, retrieve any group variables
|
||||
if (scope.groupLoadedRemove) {
|
||||
scope.groupLoadedRemove();
|
||||
|
||||
Reference in New Issue
Block a user