UI Updates for multiple tickets
Этот коммит содержится в:
@@ -300,7 +300,7 @@ export default class EmailSettings extends React.Component {
|
|||||||
type='submit'
|
type='submit'
|
||||||
className='btn btn-primary'
|
className='btn btn-primary'
|
||||||
>
|
>
|
||||||
{'Submit'}
|
{'Save'}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -172,7 +172,7 @@ export default class Jobs extends React.Component {
|
|||||||
type='submit'
|
type='submit'
|
||||||
className='btn btn-primary'
|
className='btn btn-primary'
|
||||||
>
|
>
|
||||||
{'Submit'}
|
{'Save'}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ ChangeUrlModal.defaultProps = {
|
|||||||
title: 'Change URL',
|
title: 'Change URL',
|
||||||
desciption: '',
|
desciption: '',
|
||||||
urlLabel: 'URL',
|
urlLabel: 'URL',
|
||||||
submitButtonText: 'Submit',
|
submitButtonText: 'Save',
|
||||||
currentURL: '',
|
currentURL: '',
|
||||||
serverError: ''
|
serverError: ''
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -75,6 +75,9 @@ export default class SearchBar extends React.Component {
|
|||||||
PostStore.emitSearchTermChange(false);
|
PostStore.emitSearchTermChange(false);
|
||||||
this.setState({searchTerm: term});
|
this.setState({searchTerm: term});
|
||||||
}
|
}
|
||||||
|
handleMouseInput(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
}
|
||||||
handleUserFocus(e) {
|
handleUserFocus(e) {
|
||||||
e.target.select();
|
e.target.select();
|
||||||
$('.search-bar__container').addClass('focused');
|
$('.search-bar__container').addClass('focused');
|
||||||
@@ -140,6 +143,7 @@ export default class SearchBar extends React.Component {
|
|||||||
value={this.state.searchTerm}
|
value={this.state.searchTerm}
|
||||||
onFocus={this.handleUserFocus}
|
onFocus={this.handleUserFocus}
|
||||||
onChange={this.handleUserInput}
|
onChange={this.handleUserInput}
|
||||||
|
onMouseUp={this.handleMouseInput}
|
||||||
/>
|
/>
|
||||||
{isSearching}
|
{isSearching}
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ export default class SettingItemMax extends React.Component {
|
|||||||
href='#'
|
href='#'
|
||||||
onClick={this.props.submit}
|
onClick={this.props.submit}
|
||||||
>
|
>
|
||||||
Submit
|
Save
|
||||||
</a>
|
</a>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -348,6 +348,11 @@ export default class Sidebar extends React.Component {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var badgeClass;
|
||||||
|
if (msgCount > 0) {
|
||||||
|
badgeClass = 'has-badge';
|
||||||
|
}
|
||||||
|
|
||||||
// set up status icon for direct message channels
|
// set up status icon for direct message channels
|
||||||
var status = null;
|
var status = null;
|
||||||
if (channel.type === 'D') {
|
if (channel.type === 'D') {
|
||||||
@@ -408,7 +413,7 @@ export default class Sidebar extends React.Component {
|
|||||||
className={linkClass}
|
className={linkClass}
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
className={'sidebar-channel ' + titleClass}
|
className={'sidebar-channel ' + titleClass + ' ' + badgeClass}
|
||||||
href={href}
|
href={href}
|
||||||
onClick={handleClick}
|
onClick={handleClick}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -133,7 +133,7 @@
|
|||||||
.navbar-right {
|
.navbar-right {
|
||||||
font-size: 0.85em;
|
font-size: 0.85em;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 10px;
|
top: 11px;
|
||||||
right: 22px;
|
right: 22px;
|
||||||
z-index: 5;
|
z-index: 5;
|
||||||
.dropdown-toggle {
|
.dropdown-toggle {
|
||||||
@@ -171,7 +171,6 @@
|
|||||||
}
|
}
|
||||||
.team__name, .user__name {
|
.team__name, .user__name {
|
||||||
display: block;
|
display: block;
|
||||||
line-height: 18px;
|
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
max-width: 80%;
|
max-width: 80%;
|
||||||
@@ -180,9 +179,14 @@
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
.team__name {
|
||||||
|
line-height: 22px;
|
||||||
|
margin-top: -2px;
|
||||||
|
}
|
||||||
.user__name {
|
.user__name {
|
||||||
@include single-transition(all, 0.1s, linear);
|
@include single-transition(all, 0.1s, linear);
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
line-height: 18px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #eee;
|
color: #eee;
|
||||||
color: rgba(#fff, 0.8);
|
color: rgba(#fff, 0.8);
|
||||||
|
|||||||
@@ -584,6 +584,9 @@
|
|||||||
&.move--right {
|
&.move--right {
|
||||||
@include translate3d(0, 0, 0);
|
@include translate3d(0, 0, 0);
|
||||||
}
|
}
|
||||||
|
.badge {
|
||||||
|
top: 13px;
|
||||||
|
}
|
||||||
> div {
|
> div {
|
||||||
padding-bottom: 105px;
|
padding-bottom: 105px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,6 +30,9 @@
|
|||||||
}
|
}
|
||||||
.badge {
|
.badge {
|
||||||
background-color: $primary-color;
|
background-color: $primary-color;
|
||||||
|
position: absolute;
|
||||||
|
right: 10px;
|
||||||
|
top: 5px;
|
||||||
}
|
}
|
||||||
.status {
|
.status {
|
||||||
position:relative;
|
position:relative;
|
||||||
@@ -90,6 +93,12 @@
|
|||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
color: #999;
|
color: #999;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
&.has-badge {
|
||||||
|
padding-right: 30px;
|
||||||
|
}
|
||||||
&.nav-more {
|
&.nav-more {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
@@ -104,6 +113,7 @@
|
|||||||
&.active {
|
&.active {
|
||||||
a, a:hover, a:focus {
|
a, a:hover, a:focus {
|
||||||
color: #111;
|
color: #111;
|
||||||
|
padding-right: 10px;
|
||||||
background-color: #e1e1e1;
|
background-color: #e1e1e1;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user