summaryrefslogtreecommitdiffstats
path: root/web/react/components/setting_upload.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-08-21 18:17:24 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-08-21 18:17:24 +0500
commit299bf056a584dd71cf0285b6ef1bbd596c07c0fe (patch)
treec1f32092efa1294c0a75d1e2f23154605ec8d001 /web/react/components/setting_upload.jsx
parentafb09a1b9dd83e480a8c4f5744bd79cafb88a682 (diff)
parent4a022752faf9a2b6c4de5cfa65f23adb578a96a5 (diff)
downloadchat-299bf056a584dd71cf0285b6ef1bbd596c07c0fe.tar.gz
chat-299bf056a584dd71cf0285b6ef1bbd596c07c0fe.tar.bz2
chat-299bf056a584dd71cf0285b6ef1bbd596c07c0fe.zip
Merge branch 'master' of https://github.com/mattermost/platform into mm-1696
Conflicts: web/react/components/setting_upload.jsx web/react/components/team_import_tab.jsx
Diffstat (limited to 'web/react/components/setting_upload.jsx')
-rw-r--r--web/react/components/setting_upload.jsx12
1 files changed, 12 insertions, 0 deletions
diff --git a/web/react/components/setting_upload.jsx b/web/react/components/setting_upload.jsx
index 02789f5dd..9f3b399b8 100644
--- a/web/react/components/setting_upload.jsx
+++ b/web/react/components/setting_upload.jsx
@@ -88,6 +88,18 @@ module.exports = React.createClass({
<div className='file-status file-name hide'></div>
{serverError}
{clientError}
+ <span className='btn btn-sm btn-primary btn-file sel-btn'>Select File<input ref='uploadinput' accept={this.props.fileTypesAccepted} type='file' onChange={this.onFileSelect}/></span>
+ <a
+ className={'btn btn-sm btn-primary'}
+ onClick={this.doSubmit}>
+ Import
+ </a>
+ <a
+ className='btn btn-sm theme'
+ href='#'
+ onClick={this.doCancel}>
+ Cancel
+ </a>
</li>
</ul>
</li>