mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
AC-1259 inventory delete/promote. Promoted inventory group delete dialog style. Added matching styling to host delete dialog.
This commit is contained in:
parent
a802d41fd6
commit
6618cc877c
@ -773,9 +773,9 @@ function($rootScope, $location, $log, $routeParams, Rest, Alert, Prompt, Process
|
||||
}
|
||||
};
|
||||
|
||||
body = (group) ? '<p>Are you sure you want to remove host <strong>' + host_name + '</strong> from group ' + group.name + '?' +
|
||||
' It will still be part of the inventory and available in All Hosts.</p>' :
|
||||
'<p>Are you sure you want to permanently delete host <strong>' + host_name + '</strong> from the inventory?</p>';
|
||||
body = (group) ? '<div class=\"alert alert-info\"><p>Are you sure you want to remove host <strong>' + host_name + '</strong> from group ' + group.name + '?' +
|
||||
' It will still be part of the inventory and available in All Hosts.</p></div>' :
|
||||
'<div class=\"alert alert-info\"><p>Are you sure you want to permanently delete host <strong>' + host_name + '</strong> from the inventory?</p></div>';
|
||||
Prompt({ hdr: 'Delete Host', body: body, action: action_to_take, 'class': 'btn-danger' });
|
||||
|
||||
};
|
||||
|
||||
@ -1377,6 +1377,18 @@ input[type="checkbox"].checkbox-no-label {
|
||||
text-overflow: clip;*/
|
||||
}
|
||||
|
||||
#group-delete-dialog .help-container {
|
||||
.help-link,
|
||||
.help-link:active,
|
||||
.help-link:visited {
|
||||
color: @blue-link;
|
||||
}
|
||||
|
||||
.help-link:hover {
|
||||
color: @blue-dark;
|
||||
}
|
||||
}
|
||||
|
||||
// Inventory edit dialog, source form, ec2
|
||||
#source_form.squeeze .form-group {
|
||||
margin-bottom: 10px;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user