import React from 'react';
import bukovelAPI from './data-access/bukovelAPI';
import CardNumberInput from './components/CardNumberInput';
import TestCardNumber from './components/TestCardNumber';
import LiftsTable from './components/LiftsTable';
import Paper from 'material-ui/Paper';
import CircularProgress from 'material-ui/CircularProgress';
import baseTheme from 'material-ui/styles/baseThemes/lightBaseTheme';
import getMuiTheme from 'material-ui/styles/getMuiTheme';

class App extends React.Component {
  constructor() {
    super();

    this.state = {
      cardInfo: {
        lifts: []
      },
      cardNumber: '',
      isDataLoads: false
    };
    this.handleCardNumberChange = this.handleCardNumberChange.bind(this);
  }

  getChildContext() {
    return {
      muiTheme: getMuiTheme(baseTheme)
    };
  }

  handleCardNumberChange(event) {
    if (event.isValid) {
      let spinnerTimeOut = setTimeout(() => {
        this.setState({
          isDataLoads: true
        });
      }, 100);
      bukovelAPI
        .getCardBalance(event.text)
        .then(data => {
          clearTimeout(spinnerTimeOut);
          this.setState({
            isDataLoads: false,
            cardInfo: data
          });
        });
    }
  }

  renderTable() {
    return this.state.isDataLoads ? <CircularProgress size={1.5} /> : (
      <Paper zDepth={2}>
        <LiftsTable lifts={this.state.cardInfo.lifts} />
      </Paper>
    );
  }

  render() {
    return (
      <div className='buka-container'>
        <div className='buka-cardnumber__container'>
          <CardNumberInput
            id='cardnumber'
            className='buka-cardnumber__input'
            onChange={this.handleCardNumberChange}
            value={this.state.cardNumber} />
          <TestCardNumber />
        </div>
        {this.renderTable()}
      </div>
    );
  }
}

App.childContextTypes = {
  muiTheme: React.PropTypes.object.isRequired
};

export default App;
@@ -235,24 +235,65 @@
 iftsTable';%0A
+import AppBar from 'material-ui/AppBar';%0A
 import Paper
@@ -1539,32 +1539,64 @@
 uka-container'%3E%0A
+        %3CAppBar title='Buka' /%3E%0A
         %3Cdiv cla

Add AppBar.