mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Putting name & workspace in one line
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
b413b61e07
commit
567bb465ff
@ -32,7 +32,7 @@ export class ClusterNameSetting extends React.Component<Props> {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<>
|
||||
<div className="box grow">
|
||||
<SubTitle title="Name" />
|
||||
<Input
|
||||
theme="round-black"
|
||||
@ -41,7 +41,7 @@ export class ClusterNameSetting extends React.Component<Props> {
|
||||
onChange={this.onChange}
|
||||
onBlur={this.save}
|
||||
/>
|
||||
</>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@ -13,7 +13,7 @@ interface Props {
|
||||
export class ClusterWorkspaceSetting extends React.Component<Props> {
|
||||
render() {
|
||||
return (
|
||||
<>
|
||||
<div className="box grow">
|
||||
<SubTitle title="Workspace"/>
|
||||
<Select
|
||||
value={this.props.cluster.workspace}
|
||||
@ -22,7 +22,7 @@ export class ClusterWorkspaceSetting extends React.Component<Props> {
|
||||
({value: w.id, label: w.name})
|
||||
)}
|
||||
/>
|
||||
</>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@ -21,8 +21,10 @@ export class General extends React.Component<Props> {
|
||||
</section>
|
||||
<section id="cluster">
|
||||
<h2>Cluster</h2>
|
||||
<ClusterNameSetting cluster={this.props.cluster} />
|
||||
<ClusterWorkspaceSetting cluster={this.props.cluster} />
|
||||
<div className="flex gaps">
|
||||
<ClusterNameSetting cluster={this.props.cluster} />
|
||||
<ClusterWorkspaceSetting cluster={this.props.cluster} />
|
||||
</div>
|
||||
<ClusterIconSetting cluster={this.props.cluster} />
|
||||
</section>
|
||||
<section id="proxy">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user