Add Site settings > General (#133)

This commit is contained in:
Riccardo Graziosi
2022-07-18 10:47:54 +02:00
committed by GitHub
parent bdc4004e4a
commit 35831b9801
99 changed files with 2405 additions and 281 deletions

View File

@@ -80,18 +80,22 @@ class BoardForm extends React.Component<Props, State> {
const {name, description} = this.state;
return (
<div className="boardForm">
<form className="boardForm">
<div className="boardMandatoryForm">
<input
type="text"
placeholder={I18n.t('site_settings.boards.form.name')}
value={name}
onChange={e => this.onNameChange(e.target.value)}
autoFocus
className="form-control"
/>
<Button
onClick={this.onSubmit}
onClick={e => {
e.preventDefault();
this.onSubmit();
}}
className="newBoardButton"
disabled={!this.isFormValid()}
>
@@ -110,7 +114,7 @@ class BoardForm extends React.Component<Props, State> {
onChange={e => this.onDescriptionChange(e.target.value)}
className="form-control"
/>
</div>
</form>
);
}
}