mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 11:57:37 -02:30
Modified styling of modal dialog.
This commit is contained in:
@@ -32,11 +32,12 @@ angular.module('HostsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', 'H
|
||||
breadCrumbs: false,
|
||||
selectButton: false
|
||||
});
|
||||
|
||||
|
||||
scope.formModalActionLabel = 'Finished';
|
||||
scope.formModalHeader = 'Add Host';
|
||||
scope.formModalCancelShow = true;
|
||||
|
||||
|
||||
$('#form-modal .btn-info').removeClass('btn-info').addClass('btn-success');
|
||||
$('#form-modal').modal();
|
||||
$('#form-modal').unbind('hidden');
|
||||
$('#form-modal').on('hidden', function () { HostsReload(params); });
|
||||
@@ -167,6 +168,7 @@ angular.module('HostsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', 'H
|
||||
scope.parseType = 'json';
|
||||
ParseTypeChange(scope);
|
||||
|
||||
$('#form-modal .btn-info').removeClass('btn-info').addClass('btn-success');
|
||||
$('#form-modal').unbind('hidden');
|
||||
$('#form-modal').on('hidden', function () { HostsReload(params); });
|
||||
|
||||
@@ -259,6 +261,7 @@ angular.module('HostsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', 'H
|
||||
scope.parseType = 'json';
|
||||
ParseTypeChange(scope);
|
||||
|
||||
$('#form-modal .btn-info').removeClass('btn-info').addClass('btn-success');
|
||||
$('#form-modal').unbind('hidden');
|
||||
$('#form-modal').on('hidden', function () { HostsReload(params); });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user