From c1789dfb568c5300b7613f4f22e004932536213b Mon Sep 17 00:00:00 2001 From: Roy Meissner Date: Wed, 15 Nov 2017 10:33:44 +0100 Subject: [PATCH] Added a custom html template for the presentation rooms feature --- components/PresentationRoomsHTMLLayout.js | 57 +++++++++++++++++++++++ server/handleServerRendering.js | 4 ++ 2 files changed, 61 insertions(+) create mode 100644 components/PresentationRoomsHTMLLayout.js diff --git a/components/PresentationRoomsHTMLLayout.js b/components/PresentationRoomsHTMLLayout.js new file mode 100644 index 000000000..3f0e56329 --- /dev/null +++ b/components/PresentationRoomsHTMLLayout.js @@ -0,0 +1,57 @@ +import React from 'react'; +import ApplicationStore from '../stores/ApplicationStore'; +import ga from '../plugins/googleAnalytics/ga'; +import { Microservices } from '../configs/microservices'; + +let hook = require('css-modules-require-hook'); + +hook({ + generateScopedName: '[hash:base64:5]', +}); + +class PresentationRoomsHTMLLayout extends React.Component { + render() { + let user = this.props.context.getUser(); + return ( + + + + {this.props.context.getStore(ApplicationStore).getPageTitle()} + + + + + {/* Vendors css bundle */ + this.props.addAssets ? : + } + + +
+ {/* Following are added only to support IE browser */} + + + + + + {/* Above are added only to support IE browser */} + {/*TODO Following custom libs have been included due to the header bar (that is included but will be removed internally) --> Don't load the headerbar at all and remove the following two libs*/} + + + + + {/* All external vendors bundle*/ + this.props.addAssets ? : '' + } + + + {/* Main app bundle */} + + +