Form styling; Slider
This commit is contained in:
@ -52,11 +52,17 @@ class Settings extends React.Component{
|
||||
<form onSubmit={() => this.setMopidyConfig()}>
|
||||
<label>
|
||||
<span className="label">Host</span>
|
||||
<input onChange={ e => this.setState({ mopidy_host: e.target.value })} value={ this.state.mopidy_host } />
|
||||
<input
|
||||
type="text"
|
||||
onChange={ e => this.setState({ mopidy_host: e.target.value })}
|
||||
value={ this.state.mopidy_host } />
|
||||
</label>
|
||||
<label>
|
||||
<span className="label">Port</span>
|
||||
<input onChange={ e => this.setState({ mopidy_port: e.target.value })} value={ this.state.mopidy_port } />
|
||||
<input
|
||||
type="text"
|
||||
onChange={ e => this.setState({ mopidy_port: e.target.value })}
|
||||
value={ this.state.mopidy_port } />
|
||||
</label>
|
||||
<button type="submit">Apply</button>
|
||||
</form>
|
||||
@ -65,11 +71,17 @@ class Settings extends React.Component{
|
||||
<form onSubmit={() => this.setSpotifyConfig()}>
|
||||
<label>
|
||||
<span className="label">Country</span>
|
||||
<input onChange={ e => this.setState({ spotify_country: e.target.value })} value={ this.state.spotify_country } />
|
||||
<input
|
||||
type="text"
|
||||
onChange={ e => this.setState({ spotify_country: e.target.value })}
|
||||
value={ this.state.spotify_country } />
|
||||
</label>
|
||||
<label>
|
||||
<span className="label">Locale</span>
|
||||
<input onChange={ e => this.setState({ spotify_locale: e.target.value })} value={ this.state.spotify_locale } />
|
||||
<input
|
||||
type="text"
|
||||
onChange={ e => this.setState({ spotify_locale: e.target.value })}
|
||||
value={ this.state.spotify_locale } />
|
||||
</label>
|
||||
<button type="submit">Apply</button>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user