From 141702748572a977133ae60ea8b39ce76342d7ce Mon Sep 17 00:00:00 2001 From: elijah Date: Mon, 5 Sep 2016 17:34:11 -0700 Subject: webkit support: get the js and css working in older webkit engines --- .../app/components/main_panel/email_section.js | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) (limited to 'src/leap/bitmask_js/app/components/main_panel/email_section.js') diff --git a/src/leap/bitmask_js/app/components/main_panel/email_section.js b/src/leap/bitmask_js/app/components/main_panel/email_section.js index e69de29b..a6525d92 100644 --- a/src/leap/bitmask_js/app/components/main_panel/email_section.js +++ b/src/leap/bitmask_js/app/components/main_panel/email_section.js @@ -0,0 +1,48 @@ +import React from 'react' +//import { Button, Glyphicon, Alert } from 'react-bootstrap' +import SectionLayout from './section_layout' +import Account from 'models/account' +import Spinner from 'components/spinner' +import bitmask from 'lib/bitmask' + +export default class EmailSection extends React.Component { + + static get defaultProps() {return{ + account: null + }} + + constructor(props) { + super(props) + this.state = { + status: null + } + this.openKeys = this.openKeys.bind(this) + this.openApp = this.openApp.bind(this) + this.openPrefs = this.openPrefs.bind(this) + + console.log('email constructor') + } + + openKeys() {} + openApp() {} + openPrefs() {} + + render () { + //let message = null + //if (this.state.error) { + // // style may be: success, warning, danger, info + // message = ( + // {this.state.error} + // ) + //} + let button = null + if (this.state.status == 'ready') { + button = + } + return ( + +

inbox:

+
+ ) + } +} -- cgit v1.2.3