This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
import * as userService from '../services/user.service'; | |
import {connectSocket} from '../adapters/socket.adapter'; | |
import {changeRoute} from './navigation.action'; | |
import { | |
showLoading, | |
hideLoading | |
} from './loading.action'; | |
import {SITE_CONTEXT} from '../constants/system'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
import React, {PropTypes} from 'react'; | |
import {HotKeys} from 'react-hotkeys'; | |
import {VERSION} from '../../common/constants/environment'; | |
import LoginLoading from './LoginLoading'; | |
const Login = ({hotKeyMap, loading, username, password, phone_ext, handleLoginFieldChange, handleLogin}) => { | |
const handlers = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
import React, {Component, PropTypes} from 'react'; | |
import {connect} from 'react-redux'; | |
import {changeRoute} from '../../common/actions/navigation.action'; | |
import {login, updateLoginField} from '../../common/actions/user.action'; | |
import {BG_IMAGES} from '../../common/constants/backgrounds'; | |
import Login from '../../components/Login'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
import React, {Component, PropTypes} from 'react'; | |
import {render} from 'react-dom'; | |
import {Router, Route, hashHistory} from 'react-router'; | |
var SnackBar = require('../../common/snackbar.js'); | |
// Material UI Theme | |
import getMuiTheme from 'material-ui/styles/getMuiTheme'; | |
import {blue500, grey500} from 'material-ui/styles/colors'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
import 'babel-polyfill'; | |
import React from 'react'; | |
import {render} from 'react-dom'; | |
import {Provider} from 'react-redux'; | |
import {initializeSockets} from './common/adapters/socket.adapter'; | |
import * as main_store from './common/stores/main.store'; | |
import App from './containers/App'; |
NewerOlder