diff options
Diffstat (limited to 'web/src/js/components')
-rw-r--r-- | web/src/js/components/Footer.react.js | 3 | ||||
-rw-r--r-- | web/src/js/components/ProxyApp.react.js | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/web/src/js/components/Footer.react.js b/web/src/js/components/Footer.react.js index ae0ccbe5..20a4abfb 100644 --- a/web/src/js/components/Footer.react.js +++ b/web/src/js/components/Footer.react.js @@ -2,9 +2,10 @@ var Footer = React.createClass({ render(){ + var mode = this.props.settings.mode; return ( <footer> - <span className="label label-success">transparent mode</span> + {mode != "regular" ? <span className="label label-success">{mode} mode</span> : null} </footer> ); } diff --git a/web/src/js/components/ProxyApp.react.js b/web/src/js/components/ProxyApp.react.js index 01adb089..07d66440 100644 --- a/web/src/js/components/ProxyApp.react.js +++ b/web/src/js/components/ProxyApp.react.js @@ -8,7 +8,6 @@ var Reports = React.createClass({ }); - var ProxyAppMain = React.createClass({ getInitialState(){ return { settings: SettingsStore.getAll() }; @@ -29,7 +28,7 @@ var ProxyAppMain = React.createClass({ <Header settings={this.state.settings}/> <div id="main"><this.props.activeRouteHandler/></div> {this.state.settings.showEventLog ? <EventLog/> : null} - <Footer/> + <Footer settings={this.state.settings}/> </div> ); } |