nutella_framework 0.7.3 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile +1 -1
- data/VERSION +1 -1
- data/framework_components/order.json +1 -6
- data/nutella_framework.gemspec +7 -507
- metadata +5 -505
- data/framework_components/beacon-cloud-bot/README.md +0 -27
- data/framework_components/beacon-cloud-bot/beacon_cloud_bot.rb +0 -150
- data/framework_components/beacon-cloud-bot/beacons.json +0 -1
- data/framework_components/beacon-cloud-bot/startup +0 -5
- data/framework_components/logging_bot/logging_bot.rb +0 -42
- data/framework_components/logging_bot/startup +0 -5
- data/framework_components/logging_bot/utils.rb +0 -8
- data/framework_components/monitoring-bot/.gitignore +0 -34
- data/framework_components/monitoring-bot/README.md +0 -1
- data/framework_components/monitoring-bot/monitoring-bot.rb +0 -472
- data/framework_components/monitoring-bot/nutella.json +0 -6
- data/framework_components/monitoring-bot/startup +0 -6
- data/framework_components/monitoring-interface/.gitignore +0 -2
- data/framework_components/monitoring-interface/README.md +0 -1
- data/framework_components/monitoring-interface/bower.json +0 -29
- data/framework_components/monitoring-interface/bower_components/bower-mqttws/.bower.json +0 -23
- data/framework_components/monitoring-interface/bower_components/bower-mqttws/bower.json +0 -14
- data/framework_components/monitoring-interface/bower_components/bower-mqttws/mqttws31.js +0 -2081
- data/framework_components/monitoring-interface/bower_components/bower-mqttws/readme.md +0 -4
- data/framework_components/monitoring-interface/bower_components/nutella_lib/.bower.json +0 -37
- data/framework_components/monitoring-interface/bower_components/nutella_lib/LICENSE +0 -21
- data/framework_components/monitoring-interface/bower_components/nutella_lib/README.md +0 -15
- data/framework_components/monitoring-interface/bower_components/nutella_lib/bower.json +0 -28
- data/framework_components/monitoring-interface/bower_components/nutella_lib/examples/browser/mqtt_client_hello_world.html +0 -23
- data/framework_components/monitoring-interface/bower_components/nutella_lib/examples/browser/nutella_hello_world.html +0 -52
- data/framework_components/monitoring-interface/bower_components/nutella_lib/examples/node/mqtt_client_hello_world.js +0 -14
- data/framework_components/monitoring-interface/bower_components/nutella_lib/examples/node/nutella_hello_world.js +0 -38
- data/framework_components/monitoring-interface/bower_components/nutella_lib/nutella_lib.js +0 -789
- data/framework_components/monitoring-interface/bower_components/nutella_lib/package.json +0 -30
- data/framework_components/monitoring-interface/css/Monitoring Interface.html +0 -215
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/animations.js +0 -27
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/application-view-controller.js +0 -232
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/applications-model.js +0 -61
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/bootstrap.min.js +0 -7
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/cursor.css +0 -7
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/d3.v3.min.js +0 -5
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/graphics.js +0 -156
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/grid-layout.js +0 -103
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/highlight.min.js +0 -2
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/instance-view-controller.js +0 -104
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/jquery-1.10.0.min.js +0 -6
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/notification-center.js +0 -63
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/notifications.js +0 -14
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/page.css +0 -33
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/radial-layout.js +0 -175
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/tab-table.js +0 -8
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/ui-application.css +0 -0
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/ui-application.js +0 -320
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/ui-connection-view.css +0 -10
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/ui-connection-view.js +0 -426
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/ui-element.js +0 -205
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/ui-notification.js +0 -94
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/ui-tab.js +0 -229
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/underscore-min.js +0 -5
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/view-controller.js +0 -68
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/window-view-controller.js +0 -169
- data/framework_components/monitoring-interface/css/alerts.css +0 -3
- data/framework_components/monitoring-interface/css/bootstrap.min.css +0 -5
- data/framework_components/monitoring-interface/css/cursor.css +0 -7
- data/framework_components/monitoring-interface/css/highlight.default.min.css +0 -1
- data/framework_components/monitoring-interface/css/page.css +0 -41
- data/framework_components/monitoring-interface/css/ui-application.css +0 -0
- data/framework_components/monitoring-interface/css/ui-connection-view.css +0 -10
- data/framework_components/monitoring-interface/css/ui-legend-view.css +0 -7
- data/framework_components/monitoring-interface/data/alert.json +0 -8
- data/framework_components/monitoring-interface/data/data.json +0 -2118
- data/framework_components/monitoring-interface/data/data2.json +0 -814
- data/framework_components/monitoring-interface/data/data3.json +0 -823
- data/framework_components/monitoring-interface/data/data4.json +0 -848
- data/framework_components/monitoring-interface/data/message.json +0 -999
- data/framework_components/monitoring-interface/gulpfile.js +0 -29
- data/framework_components/monitoring-interface/img/arrow_white.svg +0 -120
- data/framework_components/monitoring-interface/img/arrow_white_right.svg +0 -104
- data/framework_components/monitoring-interface/img/back.svg +0 -164
- data/framework_components/monitoring-interface/img/cross_red_border_white.svg +0 -143
- data/framework_components/monitoring-interface/img/cross_red_border_white_mouseover.svg +0 -143
- data/framework_components/monitoring-interface/img/email.svg +0 -89
- data/framework_components/monitoring-interface/img/email_highlighted.svg +0 -89
- data/framework_components/monitoring-interface/index.html +0 -144
- data/framework_components/monitoring-interface/js/d3/layout/grid-layout.js +0 -103
- data/framework_components/monitoring-interface/js/d3/layout/radial-layout.js +0 -184
- data/framework_components/monitoring-interface/js/d3/plugin/graphics.js +0 -156
- data/framework_components/monitoring-interface/js/d3/plugin/tab-table.js +0 -8
- data/framework_components/monitoring-interface/js/d3/ui/animations.js +0 -27
- data/framework_components/monitoring-interface/js/d3/ui/ui-application.js +0 -471
- data/framework_components/monitoring-interface/js/d3/ui/ui-connection-view.js +0 -861
- data/framework_components/monitoring-interface/js/d3/ui/ui-element.js +0 -245
- data/framework_components/monitoring-interface/js/d3/ui/ui-legend.js +0 -174
- data/framework_components/monitoring-interface/js/d3/ui/ui-notification.js +0 -90
- data/framework_components/monitoring-interface/js/d3/ui/ui-tab.js +0 -309
- data/framework_components/monitoring-interface/js/lib/JSXTransformer-0.12.2.js +0 -15199
- data/framework_components/monitoring-interface/js/lib/bootstrap.min.js +0 -7
- data/framework_components/monitoring-interface/js/lib/d3.v3.min.js +0 -5
- data/framework_components/monitoring-interface/js/lib/highlight.min.js +0 -2
- data/framework_components/monitoring-interface/js/lib/jquery-1.10.0.min.js +0 -6
- data/framework_components/monitoring-interface/js/lib/nutella_lib.js +0 -5121
- data/framework_components/monitoring-interface/js/lib/react-with-addons-0.12.2.js +0 -19822
- data/framework_components/monitoring-interface/js/lib/underscore-min.js +0 -5
- data/framework_components/monitoring-interface/js/model/alerts-model.js +0 -74
- data/framework_components/monitoring-interface/js/model/applications-model.js +0 -78
- data/framework_components/monitoring-interface/js/model/messages-model.js +0 -112
- data/framework_components/monitoring-interface/js/notification/notification-center.js +0 -63
- data/framework_components/monitoring-interface/js/notification/notifications.js +0 -21
- data/framework_components/monitoring-interface/js/react/dist/ui-alerts.js +0 -178
- data/framework_components/monitoring-interface/js/react/dist/ui-message-send.js +0 -389
- data/framework_components/monitoring-interface/js/react/dist/ui-messages.js +0 -103
- data/framework_components/monitoring-interface/js/react/src/ui-alerts.js +0 -178
- data/framework_components/monitoring-interface/js/react/src/ui-message-send.js +0 -389
- data/framework_components/monitoring-interface/js/react/src/ui-messages.js +0 -103
- data/framework_components/monitoring-interface/js/view-controller/application-view-controller.js +0 -259
- data/framework_components/monitoring-interface/js/view-controller/instance-view-controller.js +0 -112
- data/framework_components/monitoring-interface/js/view-controller/view-controller.js +0 -74
- data/framework_components/monitoring-interface/js/view-controller/window-view-controller.js +0 -169
- data/framework_components/monitoring-interface/nutella.json +0 -6
- data/framework_components/room-places-beacon-cloud-interface/LICENSE +0 -21
- data/framework_components/room-places-beacon-cloud-interface/Readme.md +0 -0
- data/framework_components/room-places-beacon-cloud-interface/bower.json +0 -29
- data/framework_components/room-places-beacon-cloud-interface/bower_components/bower-mqttws/.bower.json +0 -23
- data/framework_components/room-places-beacon-cloud-interface/bower_components/bower-mqttws/bower.json +0 -14
- data/framework_components/room-places-beacon-cloud-interface/bower_components/bower-mqttws/mqttws31.js +0 -2081
- data/framework_components/room-places-beacon-cloud-interface/bower_components/bower-mqttws/readme.md +0 -4
- data/framework_components/room-places-beacon-cloud-interface/bower_components/nutella_lib/.bower.json +0 -37
- data/framework_components/room-places-beacon-cloud-interface/bower_components/nutella_lib/LICENSE +0 -21
- data/framework_components/room-places-beacon-cloud-interface/bower_components/nutella_lib/README.md +0 -15
- data/framework_components/room-places-beacon-cloud-interface/bower_components/nutella_lib/bower.json +0 -28
- data/framework_components/room-places-beacon-cloud-interface/bower_components/nutella_lib/examples/browser/mqtt_client_hello_world.html +0 -23
- data/framework_components/room-places-beacon-cloud-interface/bower_components/nutella_lib/examples/browser/nutella_hello_world.html +0 -52
- data/framework_components/room-places-beacon-cloud-interface/bower_components/nutella_lib/examples/node/mqtt_client_hello_world.js +0 -14
- data/framework_components/room-places-beacon-cloud-interface/bower_components/nutella_lib/examples/node/nutella_hello_world.js +0 -38
- data/framework_components/room-places-beacon-cloud-interface/bower_components/nutella_lib/nutella_lib.js +0 -789
- data/framework_components/room-places-beacon-cloud-interface/bower_components/nutella_lib/package.json +0 -30
- data/framework_components/room-places-beacon-cloud-interface/bower_components/nutella_lib/simple-js-mqtt-client.js +0 -428
- data/framework_components/room-places-beacon-cloud-interface/css/animation.css +0 -17
- data/framework_components/room-places-beacon-cloud-interface/css/cursor.css +0 -16
- data/framework_components/room-places-beacon-cloud-interface/css/page_layout.css +0 -73
- data/framework_components/room-places-beacon-cloud-interface/index.html +0 -157
- data/framework_components/room-places-beacon-cloud-interface/js/lib/nutella_lib.js +0 -5121
- data/framework_components/room-places-beacon-cloud-interface/js/react/beacon-add.js +0 -102
- data/framework_components/room-places-beacon-cloud-interface/js/react/beacon-table.js +0 -73
- data/framework_components/room-places-beacon-cloud-interface/js/react/beacon.js +0 -97
- data/framework_components/room-places-beacon-cloud-interface/nutella.json +0 -6
- data/framework_components/room-places-bot/.gitignore +0 -4
- data/framework_components/room-places-bot/Gemfile +0 -3
- data/framework_components/room-places-bot/README.md +0 -66
- data/framework_components/room-places-bot/nutella.json +0 -6
- data/framework_components/room-places-bot/room_places_bot.rb +0 -766
- data/framework_components/room-places-bot/startup +0 -6
- data/framework_components/room-places-bot/virtual_beacons.rb +0 -124
- data/framework_components/room-places-interface/.gitignore +0 -3
- data/framework_components/room-places-interface/LICENSE +0 -21
- data/framework_components/room-places-interface/Readme.md +0 -0
- data/framework_components/room-places-interface/bower.json +0 -29
- data/framework_components/room-places-interface/bower_components/bower-mqttws/.bower.json +0 -23
- data/framework_components/room-places-interface/bower_components/bower-mqttws/bower.json +0 -14
- data/framework_components/room-places-interface/bower_components/bower-mqttws/mqttws31.js +0 -2081
- data/framework_components/room-places-interface/bower_components/bower-mqttws/readme.md +0 -4
- data/framework_components/room-places-interface/bower_components/nutella_lib/.bower.json +0 -37
- data/framework_components/room-places-interface/bower_components/nutella_lib/LICENSE +0 -21
- data/framework_components/room-places-interface/bower_components/nutella_lib/README.md +0 -15
- data/framework_components/room-places-interface/bower_components/nutella_lib/bower.json +0 -28
- data/framework_components/room-places-interface/bower_components/nutella_lib/examples/browser/mqtt_client_hello_world.html +0 -23
- data/framework_components/room-places-interface/bower_components/nutella_lib/examples/browser/nutella_hello_world.html +0 -52
- data/framework_components/room-places-interface/bower_components/nutella_lib/examples/node/mqtt_client_hello_world.js +0 -14
- data/framework_components/room-places-interface/bower_components/nutella_lib/examples/node/nutella_hello_world.js +0 -38
- data/framework_components/room-places-interface/bower_components/nutella_lib/nutella_lib.js +0 -789
- data/framework_components/room-places-interface/bower_components/nutella_lib/package.json +0 -30
- data/framework_components/room-places-interface/css/animation.css +0 -22
- data/framework_components/room-places-interface/css/bootstrap.min.css +0 -5
- data/framework_components/room-places-interface/css/cursor.css +0 -22
- data/framework_components/room-places-interface/css/font-awesome/css/font-awesome.css +0 -1801
- data/framework_components/room-places-interface/css/font-awesome/css/font-awesome.min.css +0 -4
- data/framework_components/room-places-interface/css/font-awesome/fonts/FontAwesome.otf +0 -0
- data/framework_components/room-places-interface/css/font-awesome/fonts/fontawesome-webfont.eot +0 -0
- data/framework_components/room-places-interface/css/font-awesome/fonts/fontawesome-webfont.svg +0 -565
- data/framework_components/room-places-interface/css/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
- data/framework_components/room-places-interface/css/font-awesome/fonts/fontawesome-webfont.woff +0 -0
- data/framework_components/room-places-interface/css/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
- data/framework_components/room-places-interface/css/font-awesome/less/animated.less +0 -34
- data/framework_components/room-places-interface/css/font-awesome/less/bordered-pulled.less +0 -16
- data/framework_components/room-places-interface/css/font-awesome/less/core.less +0 -13
- data/framework_components/room-places-interface/css/font-awesome/less/fixed-width.less +0 -6
- data/framework_components/room-places-interface/css/font-awesome/less/font-awesome.less +0 -17
- data/framework_components/room-places-interface/css/font-awesome/less/icons.less +0 -596
- data/framework_components/room-places-interface/css/font-awesome/less/larger.less +0 -13
- data/framework_components/room-places-interface/css/font-awesome/less/list.less +0 -19
- data/framework_components/room-places-interface/css/font-awesome/less/mixins.less +0 -27
- data/framework_components/room-places-interface/css/font-awesome/less/path.less +0 -15
- data/framework_components/room-places-interface/css/font-awesome/less/rotated-flipped.less +0 -20
- data/framework_components/room-places-interface/css/font-awesome/less/stacked.less +0 -20
- data/framework_components/room-places-interface/css/font-awesome/less/variables.less +0 -606
- data/framework_components/room-places-interface/css/font-awesome/scss/_animated.scss +0 -34
- data/framework_components/room-places-interface/css/font-awesome/scss/_bordered-pulled.scss +0 -16
- data/framework_components/room-places-interface/css/font-awesome/scss/_core.scss +0 -13
- data/framework_components/room-places-interface/css/font-awesome/scss/_fixed-width.scss +0 -6
- data/framework_components/room-places-interface/css/font-awesome/scss/_icons.scss +0 -596
- data/framework_components/room-places-interface/css/font-awesome/scss/_larger.scss +0 -13
- data/framework_components/room-places-interface/css/font-awesome/scss/_list.scss +0 -19
- data/framework_components/room-places-interface/css/font-awesome/scss/_mixins.scss +0 -27
- data/framework_components/room-places-interface/css/font-awesome/scss/_path.scss +0 -15
- data/framework_components/room-places-interface/css/font-awesome/scss/_rotated-flipped.scss +0 -20
- data/framework_components/room-places-interface/css/font-awesome/scss/_stacked.scss +0 -20
- data/framework_components/room-places-interface/css/font-awesome/scss/_variables.scss +0 -606
- data/framework_components/room-places-interface/css/font-awesome/scss/font-awesome.scss +0 -17
- data/framework_components/room-places-interface/css/icomoon.css +0 -57
- data/framework_components/room-places-interface/css/page_layout.css +0 -82
- data/framework_components/room-places-interface/fonts/glyphicons-halflings-regular.eot +0 -0
- data/framework_components/room-places-interface/fonts/glyphicons-halflings-regular.svg +0 -288
- data/framework_components/room-places-interface/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/framework_components/room-places-interface/fonts/glyphicons-halflings-regular.woff +0 -0
- data/framework_components/room-places-interface/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/framework_components/room-places-interface/fonts/icomoon.eot +0 -0
- data/framework_components/room-places-interface/fonts/icomoon.svg +0 -17
- data/framework_components/room-places-interface/fonts/icomoon.ttf +0 -0
- data/framework_components/room-places-interface/fonts/icomoon.woff +0 -0
- data/framework_components/room-places-interface/gulpfile.js +0 -24
- data/framework_components/room-places-interface/index.html +0 -73
- data/framework_components/room-places-interface/index2.html +0 -1753
- data/framework_components/room-places-interface/js/component.js +0 -438
- data/framework_components/room-places-interface/js/lib/JSXTransformer-0.12.2.js +0 -15199
- data/framework_components/room-places-interface/js/lib/bootstrap.min.js +0 -7
- data/framework_components/room-places-interface/js/lib/d3.v3.min.js +0 -5
- data/framework_components/room-places-interface/js/lib/jquery-1.10.0.min.js +0 -6
- data/framework_components/room-places-interface/js/lib/nutella_lib.js +0 -4145
- data/framework_components/room-places-interface/js/lib/react-with-addons-0.12.2.js +0 -19822
- data/framework_components/room-places-interface/js/lib/underscore.js +0 -6
- data/framework_components/room-places-interface/js/map.js +0 -1593
- data/framework_components/room-places-interface/js/position.js +0 -6
- data/framework_components/room-places-interface/js/react/dist/beacon.js +0 -30
- data/framework_components/room-places-interface/js/react/dist/discrete.js +0 -282
- data/framework_components/room-places-interface/js/react/dist/interactive-label.js +0 -54
- data/framework_components/room-places-interface/js/react/dist/resource-add.js +0 -203
- data/framework_components/room-places-interface/js/react/dist/resource-table.js +0 -227
- data/framework_components/room-places-interface/js/react/dist/resource.js +0 -433
- data/framework_components/room-places-interface/js/react/src/beacon.js +0 -30
- data/framework_components/room-places-interface/js/react/src/discrete.js +0 -282
- data/framework_components/room-places-interface/js/react/src/interactive-label.js +0 -54
- data/framework_components/room-places-interface/js/react/src/resource-add.js +0 -203
- data/framework_components/room-places-interface/js/react/src/resource-table.js +0 -227
- data/framework_components/room-places-interface/js/react/src/resource.js +0 -433
- data/framework_components/room-places-interface/js/room.js +0 -65
- data/framework_components/room-places-interface/nutella.json +0 -6
- data/framework_components/roomcast-bot/data/default/channels.json +0 -1
- data/framework_components/roomcast-bot/data/default/configs.json +0 -1
- data/framework_components/roomcast-bot/roomcast_bot.rb +0 -284
- data/framework_components/roomcast-bot/startup +0 -6
- data/framework_components/roomcast-channel-creator/.gitignore +0 -2
- data/framework_components/roomcast-channel-creator/README.md +0 -9
- data/framework_components/roomcast-channel-creator/dist/app.js +0 -44376
- data/framework_components/roomcast-channel-creator/dist/css/font-awesome.min.css +0 -4
- data/framework_components/roomcast-channel-creator/dist/css/ionicons.min.css +0 -11
- data/framework_components/roomcast-channel-creator/dist/fonts/FontAwesome.otf +0 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/fontawesome-webfont.eot +0 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/fontawesome-webfont.svg +0 -565
- data/framework_components/roomcast-channel-creator/dist/fonts/fontawesome-webfont.ttf +0 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/fontawesome-webfont.woff +0 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/fontawesome-webfont.woff2 +0 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/ionicons.eot +0 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/ionicons.svg +0 -2230
- data/framework_components/roomcast-channel-creator/dist/fonts/ionicons.ttf +0 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/ionicons.woff +0 -0
- data/framework_components/roomcast-channel-creator/dist/main.css +0 -3310
- data/framework_components/roomcast-channel-creator/dist/nutella_lib.js +0 -5128
- data/framework_components/roomcast-channel-creator/gulp/config.js +0 -51
- data/framework_components/roomcast-channel-creator/gulp/tasks/browserify.js +0 -77
- data/framework_components/roomcast-channel-creator/gulp/tasks/build.js +0 -3
- data/framework_components/roomcast-channel-creator/gulp/tasks/css.js +0 -7
- data/framework_components/roomcast-channel-creator/gulp/tasks/default.js +0 -3
- data/framework_components/roomcast-channel-creator/gulp/tasks/fonts.js +0 -7
- data/framework_components/roomcast-channel-creator/gulp/tasks/less.js +0 -16
- data/framework_components/roomcast-channel-creator/gulp/tasks/mui-fonts.js +0 -7
- data/framework_components/roomcast-channel-creator/gulp/tasks/nutella.js +0 -7
- data/framework_components/roomcast-channel-creator/gulp/tasks/setWatch.js +0 -5
- data/framework_components/roomcast-channel-creator/gulp/tasks/svgs.js +0 -7
- data/framework_components/roomcast-channel-creator/gulp/tasks/watch.js +0 -12
- data/framework_components/roomcast-channel-creator/gulp/util/bundleLogger.js +0 -21
- data/framework_components/roomcast-channel-creator/gulp/util/handleErrors.js +0 -15
- data/framework_components/roomcast-channel-creator/gulpfile.js +0 -16
- data/framework_components/roomcast-channel-creator/index.html +0 -40
- data/framework_components/roomcast-channel-creator/nutella.json +0 -6
- data/framework_components/roomcast-channel-creator/package.json +0 -38
- data/framework_components/roomcast-channel-creator/roomcast-default.png +0 -0
- data/framework_components/roomcast-channel-creator/src/app/app.js +0 -28
- data/framework_components/roomcast-channel-creator/src/app/components/AnimationMixin.js +0 -44
- data/framework_components/roomcast-channel-creator/src/app/components/CataloguePage.js +0 -148
- data/framework_components/roomcast-channel-creator/src/app/components/Channel.js +0 -406
- data/framework_components/roomcast-channel-creator/src/app/components/ColorCell.js +0 -28
- data/framework_components/roomcast-channel-creator/src/app/components/ColorPicker.js +0 -53
- data/framework_components/roomcast-channel-creator/src/app/components/DetailPage.js +0 -66
- data/framework_components/roomcast-channel-creator/src/app/components/NutellaMixin.js +0 -40
- data/framework_components/roomcast-channel-creator/src/app/components/PageSliderMixin.js +0 -68
- data/framework_components/roomcast-channel-creator/src/app/components/Router.js +0 -52
- data/framework_components/roomcast-channel-creator/src/app/components/TopBar.js +0 -86
- data/framework_components/roomcast-channel-creator/src/app/components/UploadingScreen.js +0 -74
- data/framework_components/roomcast-channel-creator/src/app/components/main.js +0 -342
- data/framework_components/roomcast-channel-creator/src/css/font-awesome.min.css +0 -4
- data/framework_components/roomcast-channel-creator/src/css/ionicons.min.css +0 -11
- data/framework_components/roomcast-channel-creator/src/fonts/FontAwesome.otf +0 -0
- data/framework_components/roomcast-channel-creator/src/fonts/fontawesome-webfont.eot +0 -0
- data/framework_components/roomcast-channel-creator/src/fonts/fontawesome-webfont.svg +0 -565
- data/framework_components/roomcast-channel-creator/src/fonts/fontawesome-webfont.ttf +0 -0
- data/framework_components/roomcast-channel-creator/src/fonts/fontawesome-webfont.woff +0 -0
- data/framework_components/roomcast-channel-creator/src/fonts/fontawesome-webfont.woff2 +0 -0
- data/framework_components/roomcast-channel-creator/src/fonts/ionicons.eot +0 -0
- data/framework_components/roomcast-channel-creator/src/fonts/ionicons.svg +0 -2230
- data/framework_components/roomcast-channel-creator/src/fonts/ionicons.ttf +0 -0
- data/framework_components/roomcast-channel-creator/src/fonts/ionicons.woff +0 -0
- data/framework_components/roomcast-channel-creator/src/less/main.less +0 -506
- data/framework_components/roomcast-channel-creator/src/less/my_overrides.less +0 -14
- data/framework_components/roomcast-channel-creator/upload.svg +0 -216
- data/framework_components/roomcast-main-app/.gitignore +0 -2
- data/framework_components/roomcast-main-app/README.md +0 -9
- data/framework_components/roomcast-main-app/dist/LICENSE +0 -21
- data/framework_components/roomcast-main-app/dist/app.js +0 -54373
- data/framework_components/roomcast-main-app/dist/assets/Logo.png +0 -0
- data/framework_components/roomcast-main-app/dist/assets/Logo_alpha.png +0 -0
- data/framework_components/roomcast-main-app/dist/assets/Logo_grid.svg +0 -216
- data/framework_components/roomcast-main-app/dist/css/ionicons.min.css +0 -11
- data/framework_components/roomcast-main-app/dist/fonts/ionicons.eot +0 -0
- data/framework_components/roomcast-main-app/dist/fonts/ionicons.svg +0 -2230
- data/framework_components/roomcast-main-app/dist/fonts/ionicons.ttf +0 -0
- data/framework_components/roomcast-main-app/dist/fonts/ionicons.woff +0 -0
- data/framework_components/roomcast-main-app/dist/main.css +0 -3234
- data/framework_components/roomcast-main-app/gulp/config.js +0 -47
- data/framework_components/roomcast-main-app/gulp/tasks/browserify.js +0 -77
- data/framework_components/roomcast-main-app/gulp/tasks/build.js +0 -3
- data/framework_components/roomcast-main-app/gulp/tasks/css.js +0 -7
- data/framework_components/roomcast-main-app/gulp/tasks/default.js +0 -3
- data/framework_components/roomcast-main-app/gulp/tasks/fonts.js +0 -7
- data/framework_components/roomcast-main-app/gulp/tasks/less.js +0 -16
- data/framework_components/roomcast-main-app/gulp/tasks/markup.js +0 -7
- data/framework_components/roomcast-main-app/gulp/tasks/setWatch.js +0 -5
- data/framework_components/roomcast-main-app/gulp/tasks/svgs.js +0 -7
- data/framework_components/roomcast-main-app/gulp/tasks/watch.js +0 -12
- data/framework_components/roomcast-main-app/gulp/util/bundleLogger.js +0 -21
- data/framework_components/roomcast-main-app/gulp/util/handleErrors.js +0 -15
- data/framework_components/roomcast-main-app/gulpfile.js +0 -16
- data/framework_components/roomcast-main-app/index.html +0 -37
- data/framework_components/roomcast-main-app/nutella.json +0 -6
- data/framework_components/roomcast-main-app/package.json +0 -47
- data/framework_components/roomcast-main-app/roomcast-default.png +0 -0
- data/framework_components/roomcast-main-app/src/app/app.js +0 -15
- data/framework_components/roomcast-main-app/src/app/components/NutellaMixin.js +0 -56
- data/framework_components/roomcast-main-app/src/app/components/app/Channel.js +0 -68
- data/framework_components/roomcast-main-app/src/app/components/app/Player.js +0 -139
- data/framework_components/roomcast-main-app/src/app/components/app/iOSMixin.js +0 -22
- data/framework_components/roomcast-main-app/src/app/components/app/main.js +0 -567
- data/framework_components/roomcast-main-app/src/app/components/app/material-ui/menu-item.jsx +0 -79
- data/framework_components/roomcast-main-app/src/app/components/app/material-ui/menu.jsx +0 -177
- data/framework_components/roomcast-main-app/src/app/components/app/material-ui/overlay.jsx +0 -21
- data/framework_components/roomcast-main-app/src/app/components/app/material-ui/right-nav.jsx +0 -108
- data/framework_components/roomcast-main-app/src/app/components/identity-selector/IdentitiesGrid.js +0 -95
- data/framework_components/roomcast-main-app/src/app/components/identity-selector/IdentityCard.js +0 -103
- data/framework_components/roomcast-main-app/src/app/components/identity-selector/iOSMixin.js +0 -19
- data/framework_components/roomcast-main-app/src/app/components/identity-selector/main.js +0 -109
- data/framework_components/roomcast-main-app/src/app/components/login/AppIdPage.js +0 -97
- data/framework_components/roomcast-main-app/src/app/components/login/BrokerPage.js +0 -139
- data/framework_components/roomcast-main-app/src/app/components/login/IdentitiesGrid.js +0 -93
- data/framework_components/roomcast-main-app/src/app/components/login/IdentityCard.js +0 -99
- data/framework_components/roomcast-main-app/src/app/components/login/RunIdPage.js +0 -78
- data/framework_components/roomcast-main-app/src/app/components/login/iOSMixin.js +0 -23
- data/framework_components/roomcast-main-app/src/app/components/login/main.js +0 -125
- data/framework_components/roomcast-main-app/src/app/components/main.js +0 -64
- data/framework_components/roomcast-main-app/src/less/main.less +0 -365
- data/framework_components/roomcast-main-app/src/less/my_overrides.less +0 -53
- data/framework_components/roomcast-main-app/src/less/right-nav.less +0 -31
- data/framework_components/roomcast-package-creator/.gitignore +0 -2
- data/framework_components/roomcast-package-creator/README.md +0 -9
- data/framework_components/roomcast-package-creator/dist/app.js +0 -51196
- data/framework_components/roomcast-package-creator/dist/css/font-awesome.min.css +0 -4
- data/framework_components/roomcast-package-creator/dist/css/ionicons.min.css +0 -11
- data/framework_components/roomcast-package-creator/dist/fonts/FontAwesome.otf +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/fontawesome-webfont.eot +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/fontawesome-webfont.svg +0 -565
- data/framework_components/roomcast-package-creator/dist/fonts/fontawesome-webfont.ttf +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/fontawesome-webfont.woff +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/fontawesome-webfont.woff2 +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/ionicons.eot +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/ionicons.svg +0 -2230
- data/framework_components/roomcast-package-creator/dist/fonts/ionicons.ttf +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/ionicons.woff +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/material-ui-icons.eot +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/material-ui-icons.svg +0 -14
- data/framework_components/roomcast-package-creator/dist/fonts/material-ui-icons.ttf +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/material-ui-icons.woff +0 -0
- data/framework_components/roomcast-package-creator/dist/main.css +0 -5682
- data/framework_components/roomcast-package-creator/dist/nutella_lib.js +0 -5128
- data/framework_components/roomcast-package-creator/gulp/config.js +0 -51
- data/framework_components/roomcast-package-creator/gulp/tasks/browserify.js +0 -77
- data/framework_components/roomcast-package-creator/gulp/tasks/build.js +0 -3
- data/framework_components/roomcast-package-creator/gulp/tasks/css.js +0 -7
- data/framework_components/roomcast-package-creator/gulp/tasks/default.js +0 -3
- data/framework_components/roomcast-package-creator/gulp/tasks/fonts.js +0 -7
- data/framework_components/roomcast-package-creator/gulp/tasks/less.js +0 -16
- data/framework_components/roomcast-package-creator/gulp/tasks/mui-fonts.js +0 -7
- data/framework_components/roomcast-package-creator/gulp/tasks/nutella.js +0 -7
- data/framework_components/roomcast-package-creator/gulp/tasks/setWatch.js +0 -5
- data/framework_components/roomcast-package-creator/gulp/tasks/svgs.js +0 -7
- data/framework_components/roomcast-package-creator/gulp/tasks/watch.js +0 -12
- data/framework_components/roomcast-package-creator/gulp/util/bundleLogger.js +0 -21
- data/framework_components/roomcast-package-creator/gulp/util/handleErrors.js +0 -15
- data/framework_components/roomcast-package-creator/gulpfile.js +0 -16
- data/framework_components/roomcast-package-creator/index.html +0 -38
- data/framework_components/roomcast-package-creator/nutella.json +0 -6
- data/framework_components/roomcast-package-creator/package.json +0 -39
- data/framework_components/roomcast-package-creator/roomcast-default.png +0 -0
- data/framework_components/roomcast-package-creator/src/app/app.js +0 -30
- data/framework_components/roomcast-package-creator/src/app/components/ButtonInteractionsMixin.js +0 -45
- data/framework_components/roomcast-package-creator/src/app/components/ChannelCard.js +0 -100
- data/framework_components/roomcast-package-creator/src/app/components/ChannelItem.js +0 -71
- data/framework_components/roomcast-package-creator/src/app/components/ChannelsCatalogue.js +0 -51
- data/framework_components/roomcast-package-creator/src/app/components/ChannelsPanel.js +0 -127
- data/framework_components/roomcast-package-creator/src/app/components/ConfigField.js +0 -50
- data/framework_components/roomcast-package-creator/src/app/components/ConfigurationsPanel.js +0 -112
- data/framework_components/roomcast-package-creator/src/app/components/ContextButton.js +0 -37
- data/framework_components/roomcast-package-creator/src/app/components/GlobalButton.js +0 -28
- data/framework_components/roomcast-package-creator/src/app/components/NutellaMixin.js +0 -58
- data/framework_components/roomcast-package-creator/src/app/components/PoolHeader.js +0 -67
- data/framework_components/roomcast-package-creator/src/app/components/PoolRow.js +0 -160
- data/framework_components/roomcast-package-creator/src/app/components/ResourceFamilyPool.js +0 -168
- data/framework_components/roomcast-package-creator/src/app/components/ResourcesPanel.js +0 -76
- data/framework_components/roomcast-package-creator/src/app/components/main.js +0 -239
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/dialog_.jsx +0 -66
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/drop-down-menu.jsx +0 -159
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/enhanced-textarea.jsx +0 -113
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/floating-action-button_.jsx +0 -73
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/menu-item.jsx +0 -100
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/menu.jsx +0 -211
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/overlay.jsx +0 -21
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/raised-button_.jsx +0 -72
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/right-nav.jsx +0 -108
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/ripple.jsx +0 -52
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/drop-down-arrow.jsx +0 -17
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/navigation-chevron-left.jsx +0 -16
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/navigation-chevron-right.jsx +0 -17
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/navigation-menu.jsx +0 -16
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/svg-icon.jsx +0 -23
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/toggle-check-box-checked.jsx +0 -16
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/toggle-check-box-outline-blank.jsx +0 -16
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/toggle-radio-button-off.jsx +0 -16
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/toggle-radio-button-on.jsx +0 -16
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/text-field.jsx +0 -215
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/utils/css-event.js +0 -52
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/utils/date-time.js +0 -132
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/utils/dom.js +0 -71
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/utils/events.js +0 -34
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/utils/key-code.js +0 -10
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/utils/key-line.js +0 -13
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/utils/unique-id.js +0 -7
- data/framework_components/roomcast-package-creator/src/css/font-awesome.min.css +0 -4
- data/framework_components/roomcast-package-creator/src/css/ionicons.min.css +0 -11
- data/framework_components/roomcast-package-creator/src/fonts/FontAwesome.otf +0 -0
- data/framework_components/roomcast-package-creator/src/fonts/fontawesome-webfont.eot +0 -0
- data/framework_components/roomcast-package-creator/src/fonts/fontawesome-webfont.svg +0 -565
- data/framework_components/roomcast-package-creator/src/fonts/fontawesome-webfont.ttf +0 -0
- data/framework_components/roomcast-package-creator/src/fonts/fontawesome-webfont.woff +0 -0
- data/framework_components/roomcast-package-creator/src/fonts/fontawesome-webfont.woff2 +0 -0
- data/framework_components/roomcast-package-creator/src/fonts/ionicons.eot +0 -0
- data/framework_components/roomcast-package-creator/src/fonts/ionicons.svg +0 -2230
- data/framework_components/roomcast-package-creator/src/fonts/ionicons.ttf +0 -0
- data/framework_components/roomcast-package-creator/src/fonts/ionicons.woff +0 -0
- data/framework_components/roomcast-package-creator/src/less/drop-down-icon.less +0 -43
- data/framework_components/roomcast-package-creator/src/less/drop-down-menu.less +0 -77
- data/framework_components/roomcast-package-creator/src/less/enhanced-textarea.less +0 -16
- data/framework_components/roomcast-package-creator/src/less/main.less +0 -514
- data/framework_components/roomcast-package-creator/src/less/menu-item.less +0 -71
- data/framework_components/roomcast-package-creator/src/less/menu.less +0 -50
- data/framework_components/roomcast-package-creator/src/less/my_overrides.less +0 -15
- data/framework_components/roomcast-package-creator/src/less/svg-icon.less +0 -11
- data/framework_components/roomcast-package-creator/src/less/text-field.less +0 -168
- data/framework_components/roomcast-teacher-controls/.gitignore +0 -2
- data/framework_components/roomcast-teacher-controls/README.md +0 -9
- data/framework_components/roomcast-teacher-controls/dist/app.js +0 -43614
- data/framework_components/roomcast-teacher-controls/dist/main.css +0 -3043
- data/framework_components/roomcast-teacher-controls/dist/nutella_lib.js +0 -5128
- data/framework_components/roomcast-teacher-controls/gulp/config.js +0 -51
- data/framework_components/roomcast-teacher-controls/gulp/tasks/browserify.js +0 -77
- data/framework_components/roomcast-teacher-controls/gulp/tasks/build.js +0 -3
- data/framework_components/roomcast-teacher-controls/gulp/tasks/css.js +0 -7
- data/framework_components/roomcast-teacher-controls/gulp/tasks/default.js +0 -3
- data/framework_components/roomcast-teacher-controls/gulp/tasks/fonts.js +0 -7
- data/framework_components/roomcast-teacher-controls/gulp/tasks/less.js +0 -16
- data/framework_components/roomcast-teacher-controls/gulp/tasks/mui-fonts.js +0 -7
- data/framework_components/roomcast-teacher-controls/gulp/tasks/nutella.js +0 -7
- data/framework_components/roomcast-teacher-controls/gulp/tasks/setWatch.js +0 -5
- data/framework_components/roomcast-teacher-controls/gulp/tasks/svgs.js +0 -7
- data/framework_components/roomcast-teacher-controls/gulp/tasks/watch.js +0 -12
- data/framework_components/roomcast-teacher-controls/gulp/util/bundleLogger.js +0 -21
- data/framework_components/roomcast-teacher-controls/gulp/util/handleErrors.js +0 -15
- data/framework_components/roomcast-teacher-controls/gulpfile.js +0 -16
- data/framework_components/roomcast-teacher-controls/index.html +0 -37
- data/framework_components/roomcast-teacher-controls/nutella.json +0 -6
- data/framework_components/roomcast-teacher-controls/package.json +0 -38
- data/framework_components/roomcast-teacher-controls/src/app/app.js +0 -28
- data/framework_components/roomcast-teacher-controls/src/app/components/ActivitiesGrid.js +0 -87
- data/framework_components/roomcast-teacher-controls/src/app/components/ActivityCard.js +0 -183
- data/framework_components/roomcast-teacher-controls/src/app/components/Footer.js +0 -37
- data/framework_components/roomcast-teacher-controls/src/app/components/NutellaMixin.js +0 -58
- data/framework_components/roomcast-teacher-controls/src/app/components/main.js +0 -125
- data/framework_components/roomcast-teacher-controls/src/less/main.less +0 -196
- data/framework_components/roomcast-teacher-controls/src/less/my_overrides.less +0 -14
@@ -1,139 +0,0 @@
|
|
1
|
-
|
2
|
-
var React = require('react');
|
3
|
-
var Mui = require('material-ui');
|
4
|
-
var FloatingActionButton = Mui.FloatingActionButton;
|
5
|
-
var d3 = require('d3');
|
6
|
-
var $ = require('jquery');
|
7
|
-
var NUTELLA = require('nutella_lib');
|
8
|
-
|
9
|
-
var Player = React.createClass({
|
10
|
-
|
11
|
-
componentDidMount: function() {
|
12
|
-
var self = this;
|
13
|
-
this.showLoading();
|
14
|
-
$('.channel-frame').load(function(){
|
15
|
-
self.handleOnLoad();
|
16
|
-
});
|
17
|
-
this.interval_ = null;
|
18
|
-
},
|
19
|
-
|
20
|
-
componentWillUnmount: function() {
|
21
|
-
},
|
22
|
-
|
23
|
-
getInitialState: function () {
|
24
|
-
return {
|
25
|
-
playing: true,
|
26
|
-
loading: true
|
27
|
-
}
|
28
|
-
},
|
29
|
-
|
30
|
-
componentWillReceiveProps: function(props) {
|
31
|
-
this.setState({playing: props.playing});
|
32
|
-
},
|
33
|
-
|
34
|
-
handleOnLoad: function() {
|
35
|
-
this.setState({loading: false});
|
36
|
-
this.hideLoading();
|
37
|
-
},
|
38
|
-
|
39
|
-
showLoading: function() {
|
40
|
-
var self = this;
|
41
|
-
|
42
|
-
d3.xml("dist/assets/Logo_grid.svg", "image/svg+xml", function (logo) {
|
43
|
-
|
44
|
-
self.refs['player'].getDOMNode().appendChild(logo.documentElement);
|
45
|
-
|
46
|
-
d3.select('#logo')
|
47
|
-
.attr({
|
48
|
-
width: window.innerWidth,
|
49
|
-
height: window.innerHeight
|
50
|
-
});
|
51
|
-
|
52
|
-
var colorBlue = function(id) {
|
53
|
-
d3.select(id).style({
|
54
|
-
'fill': '#00bcd4'
|
55
|
-
});
|
56
|
-
};
|
57
|
-
|
58
|
-
var colorPink = function(id) {
|
59
|
-
d3.select(id).style({
|
60
|
-
'fill': '#e91e63'
|
61
|
-
});
|
62
|
-
};
|
63
|
-
|
64
|
-
var removeColor = function() {
|
65
|
-
d3.selectAll('rect').style({
|
66
|
-
'fill': null
|
67
|
-
});
|
68
|
-
};
|
69
|
-
|
70
|
-
var sequence = [1,2,3,4,8,7,6,5];
|
71
|
-
var i = 0;
|
72
|
-
var action = function() {
|
73
|
-
removeColor();
|
74
|
-
if(sequence[i] < 5) {
|
75
|
-
colorBlue('#ch' + sequence[i]);
|
76
|
-
} else {
|
77
|
-
colorPink('#ch' + sequence[i]);
|
78
|
-
}
|
79
|
-
i++;
|
80
|
-
if(i===sequence.length) {
|
81
|
-
i = 0;
|
82
|
-
}
|
83
|
-
};
|
84
|
-
|
85
|
-
self.interval_ = setInterval(action, 200);
|
86
|
-
});
|
87
|
-
},
|
88
|
-
|
89
|
-
hideLoading: function() {
|
90
|
-
d3.select('#logo').remove();
|
91
|
-
clearInterval(this.interval_);
|
92
|
-
},
|
93
|
-
|
94
|
-
reloadFrame: function() {
|
95
|
-
var url = this.refs.iframe.getDOMNode().src;
|
96
|
-
this.refs.iframe.getDOMNode().src = url;
|
97
|
-
},
|
98
|
-
|
99
|
-
render: function () {
|
100
|
-
var self = this;
|
101
|
-
var playerStyle = null;
|
102
|
-
if(!this.state.playing) {
|
103
|
-
playerStyle = {
|
104
|
-
opacity: 0,
|
105
|
-
zIndex: 90,
|
106
|
-
pointerEvents: 'none'
|
107
|
-
};
|
108
|
-
} else {
|
109
|
-
playerStyle = {
|
110
|
-
opacity: 1,
|
111
|
-
zIndex: 100,
|
112
|
-
pointerEvents: 'all'
|
113
|
-
};
|
114
|
-
}
|
115
|
-
|
116
|
-
var url = this.props.url;
|
117
|
-
var qp = this.props.nutellaParams;
|
118
|
-
var suffix = 'broker=' + qp.broker + '&app_id=' + qp.app_id + '&run_id=' + qp.run_id;
|
119
|
-
if(url !== '') {
|
120
|
-
url = url.indexOf('?') === -1 ? url + '?' + suffix : url + '&' + suffix;
|
121
|
-
}
|
122
|
-
|
123
|
-
return (
|
124
|
-
|
125
|
-
<div className='player' style={playerStyle} ref='player' >
|
126
|
-
|
127
|
-
<iframe ref={'iframe'}
|
128
|
-
className='channel-frame'
|
129
|
-
src={url} >
|
130
|
-
</iframe>
|
131
|
-
|
132
|
-
</div>
|
133
|
-
|
134
|
-
);
|
135
|
-
}
|
136
|
-
|
137
|
-
});
|
138
|
-
|
139
|
-
module.exports = Player;
|
@@ -1,22 +0,0 @@
|
|
1
|
-
|
2
|
-
var iOSMixin = {
|
3
|
-
|
4
|
-
iOScall: function(actionType, actionParameters) {
|
5
|
-
|
6
|
-
// JavaScript to send an action to iOS code
|
7
|
-
var appName = 'roomcast';
|
8
|
-
var url;
|
9
|
-
if(actionParameters) {
|
10
|
-
var jsonString = (JSON.stringify(actionParameters));
|
11
|
-
var escapedJsonParameters = escape(jsonString);
|
12
|
-
url = appName + '://' + actionType + "#" + escapedJsonParameters;
|
13
|
-
} else {
|
14
|
-
url = appName + '://' + actionType;
|
15
|
-
}
|
16
|
-
document.location.href = url;
|
17
|
-
console.log('launching url: ', url);
|
18
|
-
}
|
19
|
-
|
20
|
-
};
|
21
|
-
|
22
|
-
module.exports = iOSMixin;
|
@@ -1,567 +0,0 @@
|
|
1
|
-
|
2
|
-
var React = require('react');
|
3
|
-
var Channel = require('./Channel');
|
4
|
-
var Mui = require('material-ui');
|
5
|
-
var FloatingActionButton = Mui.FloatingActionButton;
|
6
|
-
var RightNav = require('./material-ui/right-nav.jsx');
|
7
|
-
var NUTELLA = require('nutella_lib');
|
8
|
-
var IdentitySelector = require('../identity-selector/main');
|
9
|
-
var Player = require('./Player');
|
10
|
-
var NutellaMixin = require('../NutellaMixin');
|
11
|
-
|
12
|
-
var $ = require('jquery');
|
13
|
-
require('jquery-ui/draggable');
|
14
|
-
|
15
|
-
var Main = React.createClass({
|
16
|
-
|
17
|
-
mixins: [NutellaMixin],
|
18
|
-
|
19
|
-
componentDidMount: function() {
|
20
|
-
var self = this;
|
21
|
-
|
22
|
-
window.nutella = NUTELLA.init(self.props.params.broker, self.props.params.app_id, self.props.params.run_id, 'app', function(connected) {
|
23
|
-
if(connected) {
|
24
|
-
|
25
|
-
// Get current channels catalogue
|
26
|
-
nutella.net.request('channels/retrieve', 'all', function (response) {
|
27
|
-
self.handleUpdatedChannelsCatalogue(response);
|
28
|
-
|
29
|
-
// If at startup info on id is already in state
|
30
|
-
if(self.state.rid) {
|
31
|
-
// Get current assigned channels (mapping)
|
32
|
-
nutella.net.request('mapping/retrieve', 'all', function (response) {
|
33
|
-
self.handleActivitySwitch(response);
|
34
|
-
});
|
35
|
-
}
|
36
|
-
|
37
|
-
// Subscribe for future changes
|
38
|
-
nutella.net.subscribe('mapping/updated', function (message, from) {
|
39
|
-
self.handleActivitySwitch(message);
|
40
|
-
});
|
41
|
-
nutella.net.subscribe('currentConfig/switched', function (message, from) {
|
42
|
-
self.handleActivitySwitch(message);
|
43
|
-
});
|
44
|
-
nutella.net.subscribe('channels/updated', function (message, from) {
|
45
|
-
nutella.net.request('mapping/retrieve', 'all', function (response) {
|
46
|
-
self.handleUpdatedChannelsCatalogue(message, function() {
|
47
|
-
self.updateChannelsForRid(response, self.state.rid);
|
48
|
-
});
|
49
|
-
});
|
50
|
-
});
|
51
|
-
|
52
|
-
// Subscribe to teacher forced logout
|
53
|
-
nutella.net.subscribe('logout/all', function (message, from) {
|
54
|
-
self.handleLogout();
|
55
|
-
});
|
56
|
-
});
|
57
|
-
|
58
|
-
}
|
59
|
-
});
|
60
|
-
|
61
|
-
|
62
|
-
},
|
63
|
-
|
64
|
-
/**
|
65
|
-
* Manages the modal sidebar right after state change
|
66
|
-
*/
|
67
|
-
componentWillReceiveProps: function(nextProps) {
|
68
|
-
var self = this;
|
69
|
-
if(!this.state.rid) {
|
70
|
-
this.refs.rightNav.open();
|
71
|
-
this.refs.rightNav.setState({
|
72
|
-
modal: true
|
73
|
-
});
|
74
|
-
// Force update menu with resources
|
75
|
-
nutella.net.request('mapping/retrieve', 'all', function (response) {
|
76
|
-
self.handleUpdatedMapping(response);
|
77
|
-
});
|
78
|
-
} else {
|
79
|
-
this.refs.rightNav.setState({
|
80
|
-
modal: false
|
81
|
-
});
|
82
|
-
}
|
83
|
-
},
|
84
|
-
|
85
|
-
/**
|
86
|
-
* Updates current available channels.
|
87
|
-
* @param message list of channels
|
88
|
-
* @param rid current identity
|
89
|
-
*/
|
90
|
-
updateChannelsForRid: function(message, rid) {
|
91
|
-
var self = this;
|
92
|
-
var myChannelsId = [];
|
93
|
-
var myChannels = [];
|
94
|
-
message.forEach(function (f) {
|
95
|
-
for (var i in f.items) {
|
96
|
-
var item = f.items[i];
|
97
|
-
if (item.name === rid) {
|
98
|
-
myChannelsId = item.channels;
|
99
|
-
break;
|
100
|
-
}
|
101
|
-
}
|
102
|
-
});
|
103
|
-
for(var i=0; i<myChannelsId.length; i++) {
|
104
|
-
var id = myChannelsId[i];
|
105
|
-
if(self.state.channelsCatalogue[+id] !== undefined) {
|
106
|
-
// Add info on id of the channel
|
107
|
-
var ch = self.state.channelsCatalogue[+id];
|
108
|
-
ch['id'] = id;
|
109
|
-
myChannels.push(ch);
|
110
|
-
}
|
111
|
-
}
|
112
|
-
if (myChannels.length === 0) {
|
113
|
-
self.handleUpdatedBackgroundMessageTabs('No available channels');
|
114
|
-
if(!self.state.rid) {
|
115
|
-
//self.handleUpdatedBackgroundMessage('No identity set');
|
116
|
-
}
|
117
|
-
} else {
|
118
|
-
self.handleUpdatedBackgroundMessageTabs(null);
|
119
|
-
}
|
120
|
-
// update channels list
|
121
|
-
this.handleUpdatedChannels(myChannels);
|
122
|
-
// logout from current channel (i.e. hide it) if not allowed anymore (for now)
|
123
|
-
if(myChannelsId.indexOf(this.state.playing) === -1) {
|
124
|
-
this.setState({playing: null});
|
125
|
-
}
|
126
|
-
|
127
|
-
// update players: if permanently deleted from catalogue they have to be destroyed
|
128
|
-
var catalogue = this.state.channelsCatalogue;
|
129
|
-
var players = this.state.players;
|
130
|
-
var newPlayers = [];
|
131
|
-
players.forEach(function(p) {
|
132
|
-
if(catalogue[+p]) {
|
133
|
-
newPlayers.push(p);
|
134
|
-
}
|
135
|
-
});
|
136
|
-
this.setState({players: newPlayers});
|
137
|
-
},
|
138
|
-
|
139
|
-
getInitialState: function() {
|
140
|
-
return {
|
141
|
-
rid: null,
|
142
|
-
channels: [],
|
143
|
-
mapping: [],
|
144
|
-
channelsCatalogue: {},
|
145
|
-
backgroundMessage: 'Select a channel',
|
146
|
-
backgroundMessageTabs: null,
|
147
|
-
modal: null,
|
148
|
-
playing: null, // id of the current displayed channel
|
149
|
-
players: [], // list of ids of the current played channels
|
150
|
-
tabs: true
|
151
|
-
};
|
152
|
-
},
|
153
|
-
|
154
|
-
handleUpdatedRid: function(rid) {
|
155
|
-
this.setState({
|
156
|
-
rid: rid
|
157
|
-
});
|
158
|
-
},
|
159
|
-
|
160
|
-
handleUpdatedChannels: function(channels) {
|
161
|
-
this.setState({
|
162
|
-
channels: channels
|
163
|
-
});
|
164
|
-
},
|
165
|
-
|
166
|
-
handleUpdatedMapping: function(mapping) {
|
167
|
-
this.setState({
|
168
|
-
mapping: mapping
|
169
|
-
});
|
170
|
-
},
|
171
|
-
|
172
|
-
handleUpdatedChannelsCatalogue: function(cat, callback) {
|
173
|
-
if(callback) {
|
174
|
-
this.setState({
|
175
|
-
channelsCatalogue: cat
|
176
|
-
}, callback);
|
177
|
-
} else {
|
178
|
-
this.setState({
|
179
|
-
channelsCatalogue: cat
|
180
|
-
});
|
181
|
-
}
|
182
|
-
},
|
183
|
-
|
184
|
-
handleUpdatedBackgroundMessage: function(m) {
|
185
|
-
this.setState({
|
186
|
-
backgroundMessage: m
|
187
|
-
});
|
188
|
-
},
|
189
|
-
|
190
|
-
handleUpdatedBackgroundMessageTabs: function(m) {
|
191
|
-
this.setState({
|
192
|
-
backgroundMessageTabs: m
|
193
|
-
});
|
194
|
-
},
|
195
|
-
|
196
|
-
handleSetPlaying: function(id) {
|
197
|
-
var self = this;
|
198
|
-
var players = this.state.players;
|
199
|
-
if(players.indexOf(id) === -1) {
|
200
|
-
players.push(id);
|
201
|
-
}
|
202
|
-
var callback = function() {
|
203
|
-
if(self.state.players.length === 0) {
|
204
|
-
self.setState({backgroundMessage: 'Select a channel'});
|
205
|
-
} else {
|
206
|
-
self.setState({backgroundMessage: null});
|
207
|
-
}
|
208
|
-
};
|
209
|
-
this.setState({playing: id, players: players, tabs: false}, callback);
|
210
|
-
|
211
|
-
// #LOG action
|
212
|
-
this.logAction('playChannel', this.props.params.app_id, this.props.params.run_id, {
|
213
|
-
channel_name: this.state.channelsCatalogue[id].name,
|
214
|
-
package_name: this.state.rid
|
215
|
-
});
|
216
|
-
},
|
217
|
-
|
218
|
-
handleBacktoMenu: function() {
|
219
|
-
var self = this;
|
220
|
-
this.setState({playing: null});
|
221
|
-
|
222
|
-
// Hide all players
|
223
|
-
var ids = this.state.players;
|
224
|
-
ids.forEach(function(id) {
|
225
|
-
self.refs['player_' + id].setState({playing: false});
|
226
|
-
});
|
227
|
-
|
228
|
-
},
|
229
|
-
|
230
|
-
handleControlButton: function() {
|
231
|
-
var self = this;
|
232
|
-
this.refs.rightNav.toggle();
|
233
|
-
if(this.refs.rightNav.state.open === false) {
|
234
|
-
nutella.net.request('mapping/retrieve', 'all', function (response) {
|
235
|
-
self.handleUpdatedMapping(response);
|
236
|
-
});
|
237
|
-
}
|
238
|
-
},
|
239
|
-
|
240
|
-
handleSelectedResource: function(rid) {
|
241
|
-
var self = this;
|
242
|
-
this.handleUpdatedRid(rid);
|
243
|
-
nutella.net.request('mapping/retrieve', 'all', function (response) {
|
244
|
-
self.updateChannelsForRid(response, rid);
|
245
|
-
});
|
246
|
-
},
|
247
|
-
|
248
|
-
handleItemTap: function(menuItem) {
|
249
|
-
this.handleSelectedResource(menuItem.id);
|
250
|
-
},
|
251
|
-
|
252
|
-
handleSetRid: function(rid) {
|
253
|
-
this.handleSelectedResource(rid);
|
254
|
-
},
|
255
|
-
|
256
|
-
handleLogout: function() {
|
257
|
-
// #LOG action
|
258
|
-
this.logAction('logout', this.props.params.app_id, this.props.params.run_id, {
|
259
|
-
package_name: this.state.rid
|
260
|
-
});
|
261
|
-
|
262
|
-
this.props.onSwitchPage(1);
|
263
|
-
},
|
264
|
-
|
265
|
-
promptIdentitySelector: function(mode) {
|
266
|
-
return (
|
267
|
-
<IdentitySelector
|
268
|
-
params = {this.props.params}
|
269
|
-
onSetRid = {this.handleSetRid}
|
270
|
-
mode = {mode}
|
271
|
-
old_rid = {this._old_rid} />);
|
272
|
-
},
|
273
|
-
|
274
|
-
componentWillUnmount: function() {
|
275
|
-
},
|
276
|
-
|
277
|
-
/**
|
278
|
-
* Enables the tabs.
|
279
|
-
*/
|
280
|
-
handleTabsButton: function() {
|
281
|
-
this.setState({tabs: true});
|
282
|
-
},
|
283
|
-
|
284
|
-
/**
|
285
|
-
* Disables the tabs.
|
286
|
-
*/
|
287
|
-
handleOverlayTabs: function() {
|
288
|
-
this.setState({tabs: false});
|
289
|
-
},
|
290
|
-
|
291
|
-
componentDidUpdate: function() {
|
292
|
-
this.setupTabsButton();
|
293
|
-
},
|
294
|
-
|
295
|
-
setupTabsButton: function() {
|
296
|
-
|
297
|
-
var fix = function() {
|
298
|
-
$("<div class='ui-draggable-iframeFix' style='background: #fff;'></div>")
|
299
|
-
.css({
|
300
|
-
top: 0,
|
301
|
-
left: 0,
|
302
|
-
width: window.innerWidth, height: window.innerHeight,
|
303
|
-
position: "absolute", opacity: "0.001", zIndex: 1000
|
304
|
-
})
|
305
|
-
.appendTo("body");
|
306
|
-
|
307
|
-
};
|
308
|
-
var unfix = function() {
|
309
|
-
$( ".ui-draggable-iframeFix" ).remove();
|
310
|
-
};
|
311
|
-
|
312
|
-
$(".moving-button")
|
313
|
-
.draggable({
|
314
|
-
containment: ".outer-div",
|
315
|
-
start: function(event, ui) {
|
316
|
-
fix();
|
317
|
-
},
|
318
|
-
stop: function(event, ui) {
|
319
|
-
unfix();
|
320
|
-
}
|
321
|
-
})
|
322
|
-
|
323
|
-
},
|
324
|
-
|
325
|
-
/**
|
326
|
-
* Manages the transition between activities.
|
327
|
-
* If old identity is still within the new available ones, then keeps it.
|
328
|
-
* If not, it shows the identity-selector to pick the new one.
|
329
|
-
*/
|
330
|
-
handleActivitySwitch: function(mapping) {
|
331
|
-
var ids = this.extractIdentitiesFromMapping(mapping);
|
332
|
-
var id = this.state.rid;
|
333
|
-
if(id) {
|
334
|
-
if(ids.indexOf(id) !== -1) {
|
335
|
-
this.updateChannelsForRid(mapping, this.state.rid);
|
336
|
-
// #LOG action
|
337
|
-
this.logAction('transitionActivity', this.props.app_id, this.props.run_id, {
|
338
|
-
old_package_name: id,
|
339
|
-
new_package_name: id,
|
340
|
-
transparent: true
|
341
|
-
});
|
342
|
-
} else {
|
343
|
-
this._old_rid = id;
|
344
|
-
this.setState({rid: null, modal: 'activity'});
|
345
|
-
}
|
346
|
-
} else {
|
347
|
-
this._old_rid = id;
|
348
|
-
this.setState({rid: null, modal: 'activity'});
|
349
|
-
}
|
350
|
-
},
|
351
|
-
|
352
|
-
/**
|
353
|
-
* Helper to extract identities from current mapping.
|
354
|
-
* @param mapping
|
355
|
-
* @returns {Array}
|
356
|
-
*/
|
357
|
-
extractIdentitiesFromMapping: function(mapping) {
|
358
|
-
var ids = [];
|
359
|
-
mapping.forEach(function (f) {
|
360
|
-
for (var i in f.items) {
|
361
|
-
if(f.items.hasOwnProperty(i) && f.items[i].name !== '') {
|
362
|
-
ids.push(f.items[i].name);
|
363
|
-
}
|
364
|
-
}
|
365
|
-
});
|
366
|
-
return ids;
|
367
|
-
},
|
368
|
-
|
369
|
-
handleReloadButton: function() {
|
370
|
-
if(this.state.playing != null) {
|
371
|
-
this.refs["player_" + this.state.playing].reloadFrame();
|
372
|
-
}
|
373
|
-
},
|
374
|
-
|
375
|
-
render: function() {
|
376
|
-
|
377
|
-
if(!this.state.rid) {
|
378
|
-
if(this.state.modal === 'activity') {
|
379
|
-
return this.promptIdentitySelector('activity');
|
380
|
-
}
|
381
|
-
return this.promptIdentitySelector('id');
|
382
|
-
}
|
383
|
-
|
384
|
-
var self = this;
|
385
|
-
var channels = [];
|
386
|
-
for (var ch in this.state.channels) {
|
387
|
-
if (this.state.channels.hasOwnProperty(ch)) {
|
388
|
-
channels.push(
|
389
|
-
<Channel
|
390
|
-
key={ch}
|
391
|
-
chId={this.state.channels[ch].id}
|
392
|
-
channel={this.state.channels[ch]}
|
393
|
-
playing={this.state.playing === this.state.channels[ch].id}
|
394
|
-
onSetPlaying={this.handleSetPlaying} />
|
395
|
-
);
|
396
|
-
}
|
397
|
-
}
|
398
|
-
|
399
|
-
var menuItems = [];
|
400
|
-
this.state.mapping.forEach(function (f) {
|
401
|
-
for (var i in f.items) {
|
402
|
-
if(f.items.hasOwnProperty(i) && f.items[i].name !== '') {
|
403
|
-
menuItems.push({
|
404
|
-
id: f.items[i].name,
|
405
|
-
text: f.items[i].name,
|
406
|
-
currentSelected: f.items[i].name === self.state.rid
|
407
|
-
});
|
408
|
-
}
|
409
|
-
}
|
410
|
-
|
411
|
-
});
|
412
|
-
|
413
|
-
var backgroundMessageStyle = {
|
414
|
-
position: 'fixed',
|
415
|
-
left: '0',
|
416
|
-
bottom: '50%',
|
417
|
-
width: '100%',
|
418
|
-
fontSize: '2.5vw',
|
419
|
-
textAlign: 'center',
|
420
|
-
color: '#9197a3',
|
421
|
-
fontWeight: '300'
|
422
|
-
};
|
423
|
-
var backgroundMessage = null;
|
424
|
-
if(this.state.backgroundMessage) {
|
425
|
-
backgroundMessage = <p style={backgroundMessageStyle} >{this.state.backgroundMessage}</p>;
|
426
|
-
}
|
427
|
-
if(this.state.playing === null) {
|
428
|
-
backgroundMessage = <p style={backgroundMessageStyle} >{'Select a channel'}</p>;
|
429
|
-
}
|
430
|
-
|
431
|
-
var gridHeight = $('.grid').css('height');
|
432
|
-
var backgroundMessageTabsStyle = {
|
433
|
-
position: 'fixed',
|
434
|
-
left: '0',
|
435
|
-
top: (parseInt(gridHeight) / 2) - 10,
|
436
|
-
width: '100%',
|
437
|
-
fontSize: '2.5vw',
|
438
|
-
textAlign: 'center',
|
439
|
-
color: 'rgba(255,255,255,0.8)',
|
440
|
-
fontWeight: '300'
|
441
|
-
};
|
442
|
-
var backgroundMessageTabs = null;
|
443
|
-
if(this.state.backgroundMessageTabs) {
|
444
|
-
backgroundMessageTabs = <p style={backgroundMessageTabsStyle} >{this.state.backgroundMessageTabs}</p>;
|
445
|
-
}
|
446
|
-
|
447
|
-
var canLogout = true;
|
448
|
-
if(!this.state.rid) {
|
449
|
-
canLogout = false;
|
450
|
-
}
|
451
|
-
|
452
|
-
var touchDivStyle = {
|
453
|
-
width: '80px',
|
454
|
-
height: '60px',
|
455
|
-
position: 'fixed',
|
456
|
-
bottom: 0,
|
457
|
-
right: 0,
|
458
|
-
zIndex: 250
|
459
|
-
};
|
460
|
-
|
461
|
-
var players = [];
|
462
|
-
var ids = this.state.players;
|
463
|
-
ids.forEach(function(id) {
|
464
|
-
var p_id = self.state.playing;
|
465
|
-
var playing = p_id === id;
|
466
|
-
if(self.state.channelsCatalogue[+id]) {
|
467
|
-
var player =
|
468
|
-
<Player
|
469
|
-
key={id}
|
470
|
-
chId={id}
|
471
|
-
ref={'player_' + id}
|
472
|
-
playing={playing}
|
473
|
-
url={self.state.channelsCatalogue[+id].url}
|
474
|
-
name={self.state.channelsCatalogue[+id].name}
|
475
|
-
nutellaParams={self.props.params}
|
476
|
-
onBackButton={self.handleBacktoMenu}
|
477
|
-
onReloadPlayer={self.handleReloadButton} />;
|
478
|
-
players.push(player);
|
479
|
-
}
|
480
|
-
});
|
481
|
-
|
482
|
-
var outerDivStyle = null;
|
483
|
-
if(this.state.playing) {
|
484
|
-
// prevent the scrolling only when there's a channel playing
|
485
|
-
outerDivStyle = {
|
486
|
-
position: 'relative',
|
487
|
-
height: '100vh',
|
488
|
-
overflow: 'hidden'
|
489
|
-
};
|
490
|
-
}
|
491
|
-
|
492
|
-
var buttonStyle = {
|
493
|
-
zIndex: 110
|
494
|
-
};
|
495
|
-
|
496
|
-
var tabsButton = <div className='moving-button tabs-button' style={buttonStyle} onTouchTap={this.handleTabsButton} >
|
497
|
-
<FloatingActionButton
|
498
|
-
primary={true}
|
499
|
-
mini={true} >
|
500
|
-
<i className="icon ion-ios-arrow-down" ></i>
|
501
|
-
</FloatingActionButton>
|
502
|
-
</div>;
|
503
|
-
|
504
|
-
var overlayTabs = null;
|
505
|
-
var tabsClass = '';
|
506
|
-
var overlayTabsStyle = {
|
507
|
-
position: 'absolute',
|
508
|
-
top: 0,
|
509
|
-
left: 0,
|
510
|
-
width: '100vw',
|
511
|
-
height: '100vh',
|
512
|
-
zIndex: 110
|
513
|
-
};
|
514
|
-
|
515
|
-
if(this.state.tabs) {
|
516
|
-
|
517
|
-
overlayTabs = <div style={overlayTabsStyle} onTouchTap={this.handleOverlayTabs} ></div>;
|
518
|
-
buttonStyle['opacity'] = 0;
|
519
|
-
buttonStyle['pointerEvents'] = 'none';
|
520
|
-
|
521
|
-
} else {
|
522
|
-
tabsClass = ' hidden-tabs';
|
523
|
-
}
|
524
|
-
|
525
|
-
var reloadButton = <div className='moving-button reload-button' style={buttonStyle} onTouchTap={this.handleReloadButton} >
|
526
|
-
<FloatingActionButton
|
527
|
-
secondary={true}
|
528
|
-
mini={true} >
|
529
|
-
<i className="icon ion-android-refresh" ></i>
|
530
|
-
</FloatingActionButton>
|
531
|
-
</div>;
|
532
|
-
|
533
|
-
return (
|
534
|
-
|
535
|
-
<div className='outerDiv' style={outerDivStyle} >
|
536
|
-
|
537
|
-
<div className={"grid" + tabsClass}>{backgroundMessageTabs},{channels}</div>
|
538
|
-
|
539
|
-
{tabsButton}
|
540
|
-
{reloadButton}
|
541
|
-
|
542
|
-
{overlayTabs}
|
543
|
-
|
544
|
-
{players}
|
545
|
-
|
546
|
-
{backgroundMessage}
|
547
|
-
|
548
|
-
<div style={touchDivStyle} onTouchTap={this.handleControlButton} >
|
549
|
-
<i className="controlButton icon ion-android-lock" ></i>
|
550
|
-
</div>
|
551
|
-
|
552
|
-
<RightNav ref='rightNav'
|
553
|
-
docked={false}
|
554
|
-
modal={false}
|
555
|
-
menuItems={menuItems}
|
556
|
-
onItemTap={this.handleItemTap}
|
557
|
-
canLogout={canLogout}
|
558
|
-
onLogout={this.handleLogout} />
|
559
|
-
</div>
|
560
|
-
|
561
|
-
);
|
562
|
-
}
|
563
|
-
|
564
|
-
|
565
|
-
});
|
566
|
-
|
567
|
-
module.exports = Main;
|