MM-319 - Minor ui changes
Этот коммит содержится в:
коммит произвёл
JoramWilander
родитель
265cf7d9f4
Коммит
7e2da89590
@@ -63,7 +63,7 @@ module.exports = React.createClass({
|
|||||||
var loading;
|
var loading;
|
||||||
if (post.state === Constants.POST_FAILED) {
|
if (post.state === Constants.POST_FAILED) {
|
||||||
postClass += " post-fail";
|
postClass += " post-fail";
|
||||||
loading = <a className="post-retry pull-right" href="#" onClick={this.props.retryPost}>Retry</a>;
|
loading = <a className="theme post-retry pull-right" href="#" onClick={this.props.retryPost}>Retry</a>;
|
||||||
} else if (post.state === Constants.POST_LOADING) {
|
} else if (post.state === Constants.POST_LOADING) {
|
||||||
postClass += " post-waiting";
|
postClass += " post-waiting";
|
||||||
loading = <img className="post-loading-gif pull-right" src="/static/images/load.gif"/>;
|
loading = <img className="post-loading-gif pull-right" src="/static/images/load.gif"/>;
|
||||||
|
|||||||
@@ -191,7 +191,7 @@ CommentPost = React.createClass({
|
|||||||
var postClass = '';
|
var postClass = '';
|
||||||
if (post.state === Constants.POST_FAILED) {
|
if (post.state === Constants.POST_FAILED) {
|
||||||
postClass += ' post-fail';
|
postClass += ' post-fail';
|
||||||
loading = <a className='post-retry pull-right' href='#' onClick={this.retryComment}>Retry</a>;
|
loading = <a className='theme post-retry pull-right' href='#' onClick={this.retryComment}>Retry</a>;
|
||||||
} else if (post.state === Constants.POST_LOADING) {
|
} else if (post.state === Constants.POST_LOADING) {
|
||||||
postClass += ' post-waiting';
|
postClass += ' post-waiting';
|
||||||
loading = <img className='post-loading-gif pull-right' src='/static/images/load.gif'/>;
|
loading = <img className='post-loading-gif pull-right' src='/static/images/load.gif'/>;
|
||||||
|
|||||||
@@ -315,6 +315,21 @@ body.ios {
|
|||||||
font-size: 0.97em;
|
font-size: 0.97em;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.post-loading-gif {
|
||||||
|
height:10px;
|
||||||
|
width:10px;
|
||||||
|
margin-top:6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-fail {
|
||||||
|
color: #D58A8A;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-waiting {
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
|
||||||
.comment-icon__container {
|
.comment-icon__container {
|
||||||
margin-left: 7px;
|
margin-left: 7px;
|
||||||
fill: $primary-color;
|
fill: $primary-color;
|
||||||
@@ -461,21 +476,3 @@ body.ios {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-waiting {
|
|
||||||
color:lightgrey;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post-loading-gif {
|
|
||||||
height:10px;
|
|
||||||
width:10px;
|
|
||||||
margin-top:6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post-fail {
|
|
||||||
color:red;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post-retry {
|
|
||||||
color:darkgrey;
|
|
||||||
}
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user