Skip to content

Commit

Permalink
move controller up in settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Apollon77 committed Jan 9, 2025
1 parent 8122723 commit a1fca2a
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions src-admin/src/Tabs/Options.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,31 @@ class Options extends Component<OptionsProps, OptionsState> {
</FormControl>
</Box>

<div style={{ marginTop: 50 }}>
<Typography sx={styles.header}>{I18n.t('Controller Settings')}</Typography>
<TextField
variant="standard"
label={I18n.t('Controller fabric label')}
value={this.props.native.controllerFabricLabel}
type="text"
onChange={e => this.props.onChange('controllerFabricLabel', e.target.value)}
margin="normal"
slotProps={{
input: {
endAdornment: this.props.native.controllerFabricLabel ? (
<IconButton
size="small"
onClick={() => this.props.onChange('controllerFabricLabel', '')}
>
<Clear />
</IconButton>
) : null,
},
}}
style={styles.input}
/>
</div>

<div style={{ marginTop: 50 }}>
<Typography sx={styles.header}>{I18n.t('Cloud Account')}</Typography>
<InfoBox type="info">
Expand Down Expand Up @@ -572,31 +597,6 @@ class Options extends Component<OptionsProps, OptionsState> {
/>
</div>

<div style={{ marginTop: 50 }}>
<Typography sx={styles.header}>{I18n.t('Controller Settings')}</Typography>
<TextField
variant="standard"
label={I18n.t('Controller fabric label')}
value={this.props.native.controllerFabricLabel}
type="text"
onChange={e => this.props.onChange('controllerFabricLabel', e.target.value)}
margin="normal"
slotProps={{
input: {
endAdornment: this.props.native.controllerFabricLabel ? (
<IconButton
size="small"
onClick={() => this.props.onChange('controllerFabricLabel', '')}
>
<Clear />
</IconButton>
) : null,
},
}}
style={styles.input}
/>
</div>

<div style={{ marginTop: 50 }}>
<Typography sx={styles.header}>{I18n.t('Maintenance Settings')}</Typography>
<Button
Expand Down

0 comments on commit a1fca2a

Please sign in to comment.