mirror of
https://github.com/ansible/awx.git
synced 2026-03-01 00:38:45 -03:30
Run prettier
This commit is contained in:
@@ -87,12 +87,20 @@ function WorkflowTools({
|
|||||||
content={i18n._(t`Fit the graph to the available screen size`)}
|
content={i18n._(t`Fit the graph to the available screen size`)}
|
||||||
position="bottom"
|
position="bottom"
|
||||||
>
|
>
|
||||||
<Button variant="tertiary" css="margin-right: 30px;" onClick={() => onFitGraph()}>
|
<Button
|
||||||
|
variant="tertiary"
|
||||||
|
css="margin-right: 30px;"
|
||||||
|
onClick={() => onFitGraph()}
|
||||||
|
>
|
||||||
<DesktopIcon />
|
<DesktopIcon />
|
||||||
</Button>
|
</Button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<Tooltip content={i18n._(t`Zoom Out`)} position="bottom">
|
<Tooltip content={i18n._(t`Zoom Out`)} position="bottom">
|
||||||
<Button variant="tertiary" css="margin-right: 10px;" onClick={() => zoomOut()}>
|
<Button
|
||||||
|
variant="tertiary"
|
||||||
|
css="margin-right: 10px;"
|
||||||
|
onClick={() => zoomOut()}
|
||||||
|
>
|
||||||
<MinusIcon />
|
<MinusIcon />
|
||||||
</Button>
|
</Button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
@@ -108,19 +116,31 @@ function WorkflowTools({
|
|||||||
value={zoomPercentage}
|
value={zoomPercentage}
|
||||||
/>
|
/>
|
||||||
<Tooltip content={i18n._(t`Zoom In`)} position="bottom">
|
<Tooltip content={i18n._(t`Zoom In`)} position="bottom">
|
||||||
<Button variant="tertiary" css="margin: 0px 25px 0px 10px;" onClick={() => zoomIn()}>
|
<Button
|
||||||
|
variant="tertiary"
|
||||||
|
css="margin: 0px 25px 0px 10px;"
|
||||||
|
onClick={() => zoomIn()}
|
||||||
|
>
|
||||||
<PlusIcon />
|
<PlusIcon />
|
||||||
</Button>
|
</Button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<Pan>
|
<Pan>
|
||||||
<Tooltip content={i18n._(t`Pan Left`)} position="left">
|
<Tooltip content={i18n._(t`Pan Left`)} position="left">
|
||||||
<Button variant="tertiary" css="margin-right: 10px;" onClick={() => onPan('left')}>
|
<Button
|
||||||
|
variant="tertiary"
|
||||||
|
css="margin-right: 10px;"
|
||||||
|
onClick={() => onPan('left')}
|
||||||
|
>
|
||||||
<CaretLeftIcon />
|
<CaretLeftIcon />
|
||||||
</Button>
|
</Button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<PanCenter>
|
<PanCenter>
|
||||||
<Tooltip content={i18n._(t`Pan Up`)} position="top">
|
<Tooltip content={i18n._(t`Pan Up`)} position="top">
|
||||||
<Button variant="tertiary" css="margin-bottom: 10px;" onClick={() => onPan('up')}>
|
<Button
|
||||||
|
variant="tertiary"
|
||||||
|
css="margin-bottom: 10px;"
|
||||||
|
onClick={() => onPan('up')}
|
||||||
|
>
|
||||||
<CaretUpIcon />
|
<CaretUpIcon />
|
||||||
</Button>
|
</Button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
@@ -133,13 +153,21 @@ function WorkflowTools({
|
|||||||
</Button>
|
</Button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<Tooltip content={i18n._(t`Pan Down`)} position="bottom">
|
<Tooltip content={i18n._(t`Pan Down`)} position="bottom">
|
||||||
<Button variant="tertiary" css="margin-top: 10px;" onClick={() => onPan('down')}>
|
<Button
|
||||||
|
variant="tertiary"
|
||||||
|
css="margin-top: 10px;"
|
||||||
|
onClick={() => onPan('down')}
|
||||||
|
>
|
||||||
<CaretDownIcon />
|
<CaretDownIcon />
|
||||||
</Button>
|
</Button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</PanCenter>
|
</PanCenter>
|
||||||
<Tooltip content={i18n._(t`Pan Right`)} position="right">
|
<Tooltip content={i18n._(t`Pan Right`)} position="right">
|
||||||
<Button variant="tertiary" css="margin-left: 10px;" onClick={() => onPan('right')}>
|
<Button
|
||||||
|
variant="tertiary"
|
||||||
|
css="margin-left: 10px;"
|
||||||
|
onClick={() => onPan('right')}
|
||||||
|
>
|
||||||
<CaretRightIcon />
|
<CaretRightIcon />
|
||||||
</Button>
|
</Button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|||||||
@@ -213,7 +213,9 @@ function WorkflowOutputGraph({
|
|||||||
zoomPercentage={zoomPercentage}
|
zoomPercentage={zoomPercentage}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{showLegend && <WorkflowLegend onClose={() => onUpdateShowLegend(false)} />}
|
{showLegend && (
|
||||||
|
<WorkflowLegend onClose={() => onUpdateShowLegend(false)} />
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -354,7 +354,9 @@ function VisualizerGraph({
|
|||||||
zoomPercentage={zoomPercentage}
|
zoomPercentage={zoomPercentage}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{showLegend && <WorkflowLegend onClose={() => onUpdateShowLegend(false)} />}
|
{showLegend && (
|
||||||
|
<WorkflowLegend onClose={() => onUpdateShowLegend(false)} />
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user