mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2024-11-14 17:35:35 +01:00
Improve Modal buttons in RebootButton component
This commit is contained in:
parent
85b207b1dd
commit
6a3dbbeee8
|
@ -68,7 +68,12 @@ function RebootModal({ shown, setShown, onReboot }) {
|
||||||
<p>{_("Are you sure you want to restart the router?")}</p>
|
<p>{_("Are you sure you want to restart the router?")}</p>
|
||||||
</ModalBody>
|
</ModalBody>
|
||||||
<ModalFooter>
|
<ModalFooter>
|
||||||
<Button onClick={() => setShown(false)}>{_("Cancel")}</Button>
|
<Button
|
||||||
|
className="btn-secondary"
|
||||||
|
onClick={() => setShown(false)}
|
||||||
|
>
|
||||||
|
{_("Cancel")}
|
||||||
|
</Button>
|
||||||
<Button className="btn-danger" onClick={onReboot}>
|
<Button className="btn-danger" onClick={onReboot}>
|
||||||
{_("Confirm reboot")}
|
{_("Confirm reboot")}
|
||||||
</Button>
|
</Button>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user