Sha256: bc6f773b5a14691d30d64a12a9b350b3d53b6c6c8261867e15f2e12802f446c1

Contents?: true

Size: 774 Bytes

Versions: 7

Compression:

Stored size: 774 Bytes

Contents

var React = require('react');
var Mui = require('material-ui');
var Paper = Mui.Paper;
var RaisedButton = Mui.RaisedButton;
var NutellaMixin = require('./NutellaMixin');

var Footer = React.createClass({

    mixins: [NutellaMixin],

    handleLogoutAll: function() {
        // #LOG action
        this.logAction('logoutAll', {});
        nutella.net.publish('logout/all', '');
    },

    render: function () {

        var footerStyle = {
            height: (window.innerHeight * 0.1)
        };

        return (

            <div className='footer' style={footerStyle}>

                <RaisedButton className='logout-button' label='Logout All' primary={true} onTouchTap={this.handleLogoutAll} />

            </div>

        );

    }

});

module.exports = Footer;

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
nutella_framework-0.7.3 framework_components/roomcast-teacher-controls/src/app/components/Footer.js
nutella_framework-0.7.2 framework_components/roomcast-teacher-controls/src/app/components/Footer.js
nutella_framework-0.7.1 framework_components/roomcast-teacher-controls/src/app/components/Footer.js
nutella_framework-0.7.0 framework_components/roomcast-teacher-controls/src/app/components/Footer.js
nutella_framework-0.6.21 framework_components/roomcast-teacher-controls/src/app/components/Footer.js
nutella_framework-0.6.20 framework_components/roomcast-teacher-controls/src/app/components/Footer.js
nutella_framework-0.6.19 framework_components/roomcast-teacher-controls/src/app/components/Footer.js