summaryrefslogtreecommitdiff
path: root/www/app/components/main_panel/email_section.js
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-09-16 14:02:32 -0700
committerKali Kaneko (leap communications) <kali@leap.se>2016-09-22 11:40:11 -0400
commit073393af311d36c8ca7570ff0d3f0a3117c0b544 (patch)
treee59286ac350ba17110392f53b6e48bcedfd12ef1 /www/app/components/main_panel/email_section.js
parentae5a20d059209f2027c05820dc3b4cfe7346c8a8 (diff)
[pkg] rename www to ui
Diffstat (limited to 'www/app/components/main_panel/email_section.js')
-rw-r--r--www/app/components/main_panel/email_section.js48
1 files changed, 0 insertions, 48 deletions
diff --git a/www/app/components/main_panel/email_section.js b/www/app/components/main_panel/email_section.js
deleted file mode 100644
index a6525d92..00000000
--- a/www/app/components/main_panel/email_section.js
+++ /dev/null
@@ -1,48 +0,0 @@
-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 = (
- // <Alert bsStyle="danger">{this.state.error}</Alert>
- // )
- //}
- let button = null
- if (this.state.status == 'ready') {
- button = <Button onClick={this.openApp}>Open Email</Button>
- }
- return (
- <SectionLayout icon="envelope" status="on" button={button}>
- <h1>inbox: </h1>
- </SectionLayout>
- )
- }
-}