mirror of
https://github.com/ansible/awx.git
synced 2026-02-26 07:26:03 -03:30
Merge pull request #6053 from marshmalien/5866-left-align-modal-buttons
Left align modal buttons Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -140,6 +140,7 @@ function Lookup(props) {
|
|||||||
</ChipHolder>
|
</ChipHolder>
|
||||||
</InputGroup>
|
</InputGroup>
|
||||||
<Modal
|
<Modal
|
||||||
|
isFooterLeftAligned
|
||||||
isLarge
|
isLarge
|
||||||
title={i18n._(t`Select ${header || i18n._(t`Items`)}`)}
|
title={i18n._(t`Select ${header || i18n._(t`Items`)}`)}
|
||||||
isOpen={isModalOpen}
|
isOpen={isModalOpen}
|
||||||
|
|||||||
@@ -131,6 +131,7 @@ function HostEventModal({ onClose, hostEvent = {}, isOpen = false, i18n }) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Modal
|
<Modal
|
||||||
|
isFooterLeftAligned
|
||||||
isLarge
|
isLarge
|
||||||
isOpen={isOpen}
|
isOpen={isOpen}
|
||||||
onClose={onClose}
|
onClose={onClose}
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ function LinkModal({ header, i18n, onConfirm }) {
|
|||||||
width={600}
|
width={600}
|
||||||
header={header}
|
header={header}
|
||||||
isOpen
|
isOpen
|
||||||
|
isFooterLeftAligned
|
||||||
title={i18n._(t`Workflow Link`)}
|
title={i18n._(t`Workflow Link`)}
|
||||||
onClose={() => dispatch({ type: 'CANCEL_LINK_MODAL' })}
|
onClose={() => dispatch({ type: 'CANCEL_LINK_MODAL' })}
|
||||||
actions={[
|
actions={[
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ function NodeViewModal({ i18n }) {
|
|||||||
<Modal
|
<Modal
|
||||||
isLarge
|
isLarge
|
||||||
isOpen
|
isOpen
|
||||||
|
isFooterLeftAligned
|
||||||
title={i18n._(t`Node Details`)}
|
title={i18n._(t`Node Details`)}
|
||||||
onClose={() => dispatch({ type: 'SET_NODE_TO_VIEW', value: null })}
|
onClose={() => dispatch({ type: 'SET_NODE_TO_VIEW', value: null })}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ function UnsavedChangesModal({ i18n, onSaveAndExit, onExit }) {
|
|||||||
<Modal
|
<Modal
|
||||||
width={600}
|
width={600}
|
||||||
isOpen
|
isOpen
|
||||||
|
isFooterLeftAligned
|
||||||
title={i18n._(t`Warning: Unsaved Changes`)}
|
title={i18n._(t`Warning: Unsaved Changes`)}
|
||||||
onClose={() => dispatch({ type: 'TOGGLE_UNSAVED_CHANGES_MODAL' })}
|
onClose={() => dispatch({ type: 'TOGGLE_UNSAVED_CHANGES_MODAL' })}
|
||||||
actions={[
|
actions={[
|
||||||
|
|||||||
Reference in New Issue
Block a user