mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
UI Updates for multiple tickets
This commit is contained in:
@@ -300,7 +300,7 @@ export default class EmailSettings extends React.Component {
|
||||
type='submit'
|
||||
className='btn btn-primary'
|
||||
>
|
||||
{'Submit'}
|
||||
{'Save'}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -172,7 +172,7 @@ export default class Jobs extends React.Component {
|
||||
type='submit'
|
||||
className='btn btn-primary'
|
||||
>
|
||||
{'Submit'}
|
||||
{'Save'}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -159,7 +159,7 @@ ChangeUrlModal.defaultProps = {
|
||||
title: 'Change URL',
|
||||
desciption: '',
|
||||
urlLabel: 'URL',
|
||||
submitButtonText: 'Submit',
|
||||
submitButtonText: 'Save',
|
||||
currentURL: '',
|
||||
serverError: ''
|
||||
};
|
||||
|
||||
@@ -75,6 +75,9 @@ export default class SearchBar extends React.Component {
|
||||
PostStore.emitSearchTermChange(false);
|
||||
this.setState({searchTerm: term});
|
||||
}
|
||||
handleMouseInput(e) {
|
||||
e.preventDefault();
|
||||
}
|
||||
handleUserFocus(e) {
|
||||
e.target.select();
|
||||
$('.search-bar__container').addClass('focused');
|
||||
@@ -140,6 +143,7 @@ export default class SearchBar extends React.Component {
|
||||
value={this.state.searchTerm}
|
||||
onFocus={this.handleUserFocus}
|
||||
onChange={this.handleUserInput}
|
||||
onMouseUp={this.handleMouseInput}
|
||||
/>
|
||||
{isSearching}
|
||||
</form>
|
||||
|
||||
@@ -26,7 +26,7 @@ export default class SettingItemMax extends React.Component {
|
||||
href='#'
|
||||
onClick={this.props.submit}
|
||||
>
|
||||
Submit
|
||||
Save
|
||||
</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
|
||||
var status = null;
|
||||
if (channel.type === 'D') {
|
||||
@@ -408,7 +413,7 @@ export default class Sidebar extends React.Component {
|
||||
className={linkClass}
|
||||
>
|
||||
<a
|
||||
className={'sidebar-channel ' + titleClass}
|
||||
className={'sidebar-channel ' + titleClass + ' ' + badgeClass}
|
||||
href={href}
|
||||
onClick={handleClick}
|
||||
>
|
||||
|
||||
@@ -133,7 +133,7 @@
|
||||
.navbar-right {
|
||||
font-size: 0.85em;
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
top: 11px;
|
||||
right: 22px;
|
||||
z-index: 5;
|
||||
.dropdown-toggle {
|
||||
@@ -171,7 +171,6 @@
|
||||
}
|
||||
.team__name, .user__name {
|
||||
display: block;
|
||||
line-height: 18px;
|
||||
font-weight: 600;
|
||||
font-size: 16px;
|
||||
max-width: 80%;
|
||||
@@ -180,9 +179,14 @@
|
||||
text-overflow: ellipsis;
|
||||
text-decoration: none;
|
||||
}
|
||||
.team__name {
|
||||
line-height: 22px;
|
||||
margin-top: -2px;
|
||||
}
|
||||
.user__name {
|
||||
@include single-transition(all, 0.1s, linear);
|
||||
font-size: 14px;
|
||||
line-height: 18px;
|
||||
font-weight: 400;
|
||||
color: #eee;
|
||||
color: rgba(#fff, 0.8);
|
||||
|
||||
@@ -584,6 +584,9 @@
|
||||
&.move--right {
|
||||
@include translate3d(0, 0, 0);
|
||||
}
|
||||
.badge {
|
||||
top: 13px;
|
||||
}
|
||||
> div {
|
||||
padding-bottom: 105px;
|
||||
}
|
||||
|
||||
@@ -30,6 +30,9 @@
|
||||
}
|
||||
.badge {
|
||||
background-color: $primary-color;
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 5px;
|
||||
}
|
||||
.status {
|
||||
position:relative;
|
||||
@@ -90,6 +93,12 @@
|
||||
line-height: 1.5;
|
||||
border-radius: 0;
|
||||
color: #999;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
&.has-badge {
|
||||
padding-right: 30px;
|
||||
}
|
||||
&.nav-more {
|
||||
text-decoration: underline;
|
||||
}
|
||||
@@ -104,6 +113,7 @@
|
||||
&.active {
|
||||
a, a:hover, a:focus {
|
||||
color: #111;
|
||||
padding-right: 10px;
|
||||
background-color: #e1e1e1;
|
||||
border-radius: 0;
|
||||
font-weight: 400;
|
||||
|
||||
Reference in New Issue
Block a user