Add colored nicks settings option
This commit is contained in:
parent
ec03db4db6
commit
6c6a9e12cf
27 changed files with 577 additions and 109 deletions
|
@ -2,7 +2,7 @@ import React, { Component } from 'react';
|
|||
import { createSelector } from 'reselect';
|
||||
import { Form, withFormik } from 'formik';
|
||||
import Navicon from 'containers/Navicon';
|
||||
import Checkbox from 'components/ui/Checkbox';
|
||||
import Checkbox from 'components/ui/formik/Checkbox';
|
||||
import TextInput from 'components/ui/TextInput';
|
||||
import Error from 'components/ui/formik/Error';
|
||||
import { isValidNick, isValidChannel, isValidUsername, isInt } from 'utils';
|
||||
|
@ -77,7 +77,12 @@ class Connect extends Component {
|
|||
<div className="connect-form-address">
|
||||
<TextInput name="host" placeholder="Host" />
|
||||
<TextInput name="port" type="number" placeholder="Port" />
|
||||
<Checkbox name="tls" label="SSL" onChange={this.handleSSLChange} />
|
||||
<Checkbox
|
||||
name="tls"
|
||||
label="SSL"
|
||||
topLabel
|
||||
onChange={this.handleSSLChange}
|
||||
/>
|
||||
</div>
|
||||
<Error name="host" />
|
||||
<Error name="port" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue