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
{% load staticfiles %} | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>{{ title }}</title> | |
{% block styles %} | |
{% include 'mail/elements/styles.html' %} |
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
{% load staticfiles %} | |
<tr> | |
<td> | |
<table width="576" cellpadding="0" cellspacing="0" class="wrapper" style="margin-top: 60px;"> | |
<tr> | |
<td> | |
{% with text_align='left' align='left' %} | |
<table width="280" align="{{ align }}" style="-ms-text-size-adjust: none;-webkit-font-smoothing: antialiased;-webkit-text-size-adjust: none;color: #444444;font-family:'Lato','Lucida Sans','Lucida Sans Unicode','Lucida Grande',SegoeUI,'Helvetica Neue',Helvetica,Arial,sans-serif;font-size: 14px;line-height: 24px;text-align: {{ text_align }};"> |
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
var path = require("path"); | |
var webpack = require("webpack"); | |
var BundleTracker = require("webpack-bundle-tracker"); | |
module.exports = { | |
devtool: "eval", | |
context: __dirname, | |
entry: { | |
main: [ |
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
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import {Provider} from 'react-redux'; | |
import {ReduxRouter} from 'redux-router'; | |
import configureStore from './store/configureStore'; | |
const store = configureStore(); | |
const AppRoot = require('./AppRoot'); |
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
import Activity from './pages/Activity'; | |
const indexRoute = { | |
component: Activity.syncComponent, | |
}; | |
const App = require('./App'); | |
module.exports = { | |
path: '/', | |
component: App, |
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
import React, {Component} from 'react'; | |
import Radium from 'radium'; | |
import { getSelf } from './actions/usersActions'; | |
import { resizeEvent } from './actions/windowStateActions'; | |
import { connect } from 'react-redux'; | |
// sections |
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
import React from 'react'; | |
import { connect } from 'react-redux'; | |
import { push, replace } from 'redux-router'; | |
export function requireLoggedIn(Component) { | |
// a wrapper that requires a user be logged in. You can decide what 'logged in' means - in this example, | |
// a user is considered to be logged in if usersStore.meta.self !== null | |
class AuthComponent extends React.Component { |