mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-17 16:52:09 +00:00
change button color
This commit is contained in:
parent
99c6671a0f
commit
fdb39c7a02
@ -101,7 +101,7 @@ class DetailCommentList extends React.Component {
|
|||||||
className="add-comment-input" ref="commentTextarea" placeholder={gettext('Add a comment.')}
|
className="add-comment-input" ref="commentTextarea" placeholder={gettext('Add a comment.')}
|
||||||
clos="100" rows="3" warp="virtual"
|
clos="100" rows="3" warp="virtual"
|
||||||
></textarea>
|
></textarea>
|
||||||
<Button className="submit-comment" color="success" size="sm" onClick={this.submitComment}>{gettext('Submit')}</Button>
|
<Button className="submit-comment" color="primary" size="sm" onClick={this.submitComment}>{gettext('Submit')}</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
@ -189,7 +189,7 @@ class CommentItem extends React.Component {
|
|||||||
<textarea className="edit-comment-input" value={this.state.newComment}
|
<textarea className="edit-comment-input" value={this.state.newComment}
|
||||||
onChange={this.handleCommentChange} clos="100" rows="3" warp="virtual"
|
onChange={this.handleCommentChange} clos="100" rows="3" warp="virtual"
|
||||||
></textarea>
|
></textarea>
|
||||||
<Button className="comment-btn" color="success" size="sm" onClick={this.updateComment} id={item.id}>{gettext('Update')}</Button>{' '}
|
<Button className="comment-btn" color="primary" size="sm" onClick={this.updateComment} id={item.id}>{gettext('Update')}</Button>{' '}
|
||||||
<Button className="comment-btn" color="secondary" size="sm" onClick={this.toggleEditComment}> {gettext('Cancel')}</Button>
|
<Button className="comment-btn" color="secondary" size="sm" onClick={this.toggleEditComment}> {gettext('Cancel')}</Button>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
@ -130,7 +130,7 @@ class CommentPanel extends React.Component {
|
|||||||
placeholder={gettext('Add a comment.')}
|
placeholder={gettext('Add a comment.')}
|
||||||
clos="100" rows="3" warp="virtual"></textarea>
|
clos="100" rows="3" warp="virtual"></textarea>
|
||||||
<Button
|
<Button
|
||||||
className="submit-comment" color="success"
|
className="submit-comment" color="primary"
|
||||||
size="sm" onClick={this.submitComment} >
|
size="sm" onClick={this.submitComment} >
|
||||||
{gettext('Submit')}</Button>
|
{gettext('Submit')}</Button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -155,7 +155,7 @@ class ReviewComments extends React.Component {
|
|||||||
onChange={this.handleCommentChange}
|
onChange={this.handleCommentChange}
|
||||||
clos="100" rows="3" warp="virtual"
|
clos="100" rows="3" warp="virtual"
|
||||||
></textarea>
|
></textarea>
|
||||||
<Button className="comment-btn" color="success" size="sm" onClick={this.submitComment}>{gettext('Submit')}</Button>
|
<Button className="comment-btn" color="primary" size="sm" onClick={this.submitComment}>{gettext('Submit')}</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -251,7 +251,7 @@ class CommentItem extends React.Component {
|
|||||||
onChange={this.handleCommentChange}
|
onChange={this.handleCommentChange}
|
||||||
clos="100" rows="3" warp="virtual"
|
clos="100" rows="3" warp="virtual"
|
||||||
></textarea>
|
></textarea>
|
||||||
<Button className="comment-btn" color="success" size="sm" onClick={this.updateComment} id={item.id}>
|
<Button className="comment-btn" color="primary" size="sm" onClick={this.updateComment} id={item.id}>
|
||||||
{gettext('Update')}</Button>{' '}
|
{gettext('Update')}</Button>{' '}
|
||||||
<Button className="comment-btn" color="secondary" size="sm" onClick={this.toggleEditComment}>
|
<Button className="comment-btn" color="secondary" size="sm" onClick={this.toggleEditComment}>
|
||||||
{gettext('Cancel')}</Button>
|
{gettext('Cancel')}</Button>
|
||||||
|
@ -140,6 +140,7 @@
|
|||||||
.seafile-comment-footer .seafile-add-comment .comment-btn,
|
.seafile-comment-footer .seafile-add-comment .comment-btn,
|
||||||
.seafile-edit-comment .comment-btn {
|
.seafile-edit-comment .comment-btn {
|
||||||
height: 28px;
|
height: 28px;
|
||||||
|
width: 60px;
|
||||||
}
|
}
|
||||||
.seafile-edit-comment {
|
.seafile-edit-comment {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
|
Loading…
Reference in New Issue
Block a user