Merge pull request #731 from asaadmahmoodspin/new-channel
Updating new channel UI
Этот коммит содержится в:
@@ -107,8 +107,8 @@ export default class NewChannelModal extends React.Component {
|
|||||||
{channelSwitchText}
|
{channelSwitchText}
|
||||||
</div>
|
</div>
|
||||||
<div className={displayNameClass}>
|
<div className={displayNameClass}>
|
||||||
<label className='col-sm-2 form__label control-label'>{'Name'}</label>
|
<label className='col-sm-3 form__label control-label'>{'Name'}</label>
|
||||||
<div className='col-sm-10'>
|
<div className='col-sm-9'>
|
||||||
<input
|
<input
|
||||||
onChange={this.handleChange}
|
onChange={this.handleChange}
|
||||||
type='text'
|
type='text'
|
||||||
@@ -121,7 +121,7 @@ export default class NewChannelModal extends React.Component {
|
|||||||
tabIndex='1'
|
tabIndex='1'
|
||||||
/>
|
/>
|
||||||
{displayNameError}
|
{displayNameError}
|
||||||
<p className='input__help'>
|
<p className='input__help dark'>
|
||||||
{'Channel URL: ' + prettyTeamURL + this.props.channelData.name + ' ('}
|
{'Channel URL: ' + prettyTeamURL + this.props.channelData.name + ' ('}
|
||||||
<a
|
<a
|
||||||
href='#'
|
href='#'
|
||||||
@@ -134,11 +134,11 @@ export default class NewChannelModal extends React.Component {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className='form-group less'>
|
<div className='form-group less'>
|
||||||
<div className='col-sm-2'>
|
<div className='col-sm-3'>
|
||||||
<label className='form__label control-label'>{'Description'}</label>
|
<label className='form__label control-label'>{'Description'}</label>
|
||||||
<label className='form__label light'>{'(optional)'}</label>
|
<label className='form__label light'>{'(optional)'}</label>
|
||||||
</div>
|
</div>
|
||||||
<div className='col-sm-10'>
|
<div className='col-sm-9'>
|
||||||
<textarea
|
<textarea
|
||||||
className='form-control no-resize'
|
className='form-control no-resize'
|
||||||
ref='channel_desc'
|
ref='channel_desc'
|
||||||
|
|||||||
@@ -5,9 +5,10 @@
|
|||||||
.form__label {
|
.form__label {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding-right: 3px;
|
padding-right: 3px;
|
||||||
font-weight: bold;
|
font-weight: 600;
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
&.light {
|
&.light {
|
||||||
|
font-weight: normal;
|
||||||
color: #999;
|
color: #999;
|
||||||
font-size: 1.05em;
|
font-size: 1.05em;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
@@ -17,6 +18,9 @@
|
|||||||
.input__help {
|
.input__help {
|
||||||
color: #777;
|
color: #777;
|
||||||
margin: 10px 0 0 10px;
|
margin: 10px 0 0 10px;
|
||||||
|
&.dark {
|
||||||
|
color: #222;
|
||||||
|
}
|
||||||
&.error {
|
&.error {
|
||||||
color: #a94442;
|
color: #a94442;
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user