Skip to content

Commit

Permalink
Drop owner, move create pod button
Browse files Browse the repository at this point in the history
  • Loading branch information
jelly committed Sep 26, 2022
1 parent 85e0afd commit 25f4d0b
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/Containers.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,13 @@ class Containers extends React.Component {
</FormSelect>
</ToolbarItem>
<Divider isVertical />
<ToolbarItem>
<Button variant="secondary" key="create-new-pod-action"
id="containers-containers-create-pod-btn"
onClick={() => createPod(null)}>
{_("Create pod")}
</Button>
</ToolbarItem>
<ToolbarItem>
<Button variant="primary" key="get-new-image-action"
id="containers-containers-create-container-btn"
Expand All @@ -700,13 +707,6 @@ class Containers extends React.Component {
{_("Create container")}
</Button>
</ToolbarItem>
<ToolbarItem>
<Button variant="secondary" key="create-new-pod-action"
id="containers-containers-create-pod-btn"
onClick={() => createPod(null)}>
{_("Create pod")}
</Button>
</ToolbarItem>
</ToolbarContent>
</Toolbar>;

Expand Down Expand Up @@ -763,7 +763,6 @@ class Containers extends React.Component {
<h3 className='pod-name'>{caption}</h3>
<span>{_("pod group")}</span>
{this.renderPodDetails(this.props.pods[section], podStatus)}
{this.props.pods[section].isSystem ? <div>{_("system")}</div> : <div><span className="ct-grey-text">{_("user:")} </span>{this.props.user} </div>}
</Flex>
</CardTitle>
<CardActions className='panel-actions'>
Expand Down

0 comments on commit 25f4d0b

Please sign in to comment.