Update verbiage on Delete Hosts modal (#1095)

This commit is contained in:
Kyle Knight 2017-01-25 08:28:40 -06:00 committed by Jason Meller
parent 3ec6b10324
commit 7e10847172
2 changed files with 13 additions and 3 deletions

View file

@ -284,10 +284,11 @@ export class ManageHostsPage extends Component {
onExit={toggleDeleteHostModal(null)}
className={`${baseClass}__modal`}
>
<p>Are you sure you wish to delete this host?</p>
<div>
<Button onClick={toggleDeleteHostModal(null)} variant="inverse">Cancel</Button>
<p>This action will delete the host from your Kolide instance.</p>
<p>If the host comes back online it will automatically re-enroll. To prevent the host from auto re-enrolling please disable or uninstall osquery on the host.</p>
<div className={`${baseClass}__modal-buttons`}>
<Button onClick={onDestroyHost} variant="alert">Delete</Button>
<Button onClick={toggleDeleteHostModal(null)} variant="inverse">Cancel</Button>
</div>
</Modal>
);

View file

@ -73,6 +73,15 @@
}
&__modal {
p {
font-size: 16px;
}
}
&__modal-buttons {
@include display(flex);
@include flex-direction(row-reverse);
.button--alert {
margin-left: 10px;
}