mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 01:18:42 +00:00
Update verbiage on Delete Hosts modal (#1095)
This commit is contained in:
parent
3ec6b10324
commit
7e10847172
2 changed files with 13 additions and 3 deletions
|
|
@ -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>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -73,6 +73,15 @@
|
|||
}
|
||||
|
||||
&__modal {
|
||||
p {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
&__modal-buttons {
|
||||
@include display(flex);
|
||||
@include flex-direction(row-reverse);
|
||||
|
||||
.button--alert {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue