mirror of
https://github.com/ansible/awx.git
synced 2026-03-21 10:57:36 -02:30
AC-1259 inventory delete/promote. Promoted inventory group delete dialog style. Added matching styling to host delete dialog.
This commit is contained in:
@@ -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 + '?' +
|
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>' :
|
' It will still be part of the inventory and available in All Hosts.</p></div>' :
|
||||||
'<p>Are you sure you want to permanently delete host <strong>' + host_name + '</strong> from the inventory?</p>';
|
'<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' });
|
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;*/
|
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
|
// Inventory edit dialog, source form, ec2
|
||||||
#source_form.squeeze .form-group {
|
#source_form.squeeze .form-group {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|||||||
Reference in New Issue
Block a user