summaryrefslogtreecommitdiffstats
path: root/web/react
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-08-13 23:11:01 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-08-13 23:11:01 +0500
commit097257ade8b01a6f4ce4766cb844d06533bb74cf (patch)
tree1dbc19b528c64960ef4b408a0481156a2ac57636 /web/react
parent1a6d67b0cd82058cbf3a9d76c576958875833db7 (diff)
downloadchat-097257ade8b01a6f4ce4766cb844d06533bb74cf.tar.gz
chat-097257ade8b01a6f4ce4766cb844d06533bb74cf.tar.bz2
chat-097257ade8b01a6f4ce4766cb844d06533bb74cf.zip
UI Upgrades to file overlay for uploads
Diffstat (limited to 'web/react')
-rw-r--r--web/react/components/post_list.jsx6
-rw-r--r--web/react/components/post_right.jsx8
2 files changed, 9 insertions, 5 deletions
diff --git a/web/react/components/post_list.jsx b/web/react/components/post_list.jsx
index 756ed521d..53e8d0761 100644
--- a/web/react/components/post_list.jsx
+++ b/web/react/components/post_list.jsx
@@ -465,8 +465,10 @@ module.exports = React.createClass({
return (
<div>
<div className='center-file-overlay invisible'>
- <span className='center-file-help-text'>Drop a file to upload it.</span>
- <img className='center-file-help-picture' />
+ <div>
+ <i className="fa fa-upload"></i>
+ <span>Drop a file to upload it.</span>
+ </div>
</div>
<div ref="postlist" className="post-list-holder-by-time">
<div className="post-list__table">
diff --git a/web/react/components/post_right.jsx b/web/react/components/post_right.jsx
index 49c12ad9c..b772c7ee8 100644
--- a/web/react/components/post_right.jsx
+++ b/web/react/components/post_right.jsx
@@ -296,9 +296,11 @@ module.exports = React.createClass({
return (
<div className="post-right__container">
- <div className='right-file-overlay invisible'>
- <span className='right-file-help-text'>Drop a file to upload it.</span>
- <img className='right-file-help-picture' />
+ <div className='center-file-overlay right-file-overlay invisible'>
+ <div>
+ <i className="fa fa-upload"></i>
+ <span>Drop a file to upload it.</span>
+ </div>
</div>
<div className="search-bar__container sidebar--right__search-header">{searchForm}</div>
<div className="sidebar-right__body">