aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/components/footer.jsx.js
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-09-18 00:01:45 +0200
committerMaximilian Hils <git@maximilianhils.com>2014-09-18 00:01:45 +0200
commit6a161be6b4c526fcc5f6581c7faff00a2c976f37 (patch)
tree6b99c30538a57e096c4fd01a923fc8542e90e6e4 /web/src/js/components/footer.jsx.js
parentb99de36b24e4687e35069fbfa18727519f23ea35 (diff)
downloadmitmproxy-6a161be6b4c526fcc5f6581c7faff00a2c976f37.tar.gz
mitmproxy-6a161be6b4c526fcc5f6581c7faff00a2c976f37.tar.bz2
mitmproxy-6a161be6b4c526fcc5f6581c7faff00a2c976f37.zip
.jsx -> .jsx.js
Rename jsx files to be compatible with Chrome Dev Tools and Workspace Mapping.
Diffstat (limited to 'web/src/js/components/footer.jsx.js')
-rw-r--r--web/src/js/components/footer.jsx.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/web/src/js/components/footer.jsx.js b/web/src/js/components/footer.jsx.js
new file mode 100644
index 00000000..9bcbbc2a
--- /dev/null
+++ b/web/src/js/components/footer.jsx.js
@@ -0,0 +1,12 @@
+/** @jsx React.DOM */
+
+var Footer = React.createClass({
+ render: function () {
+ var mode = this.props.settings.mode;
+ return (
+ <footer>
+ {mode != "regular" ? <span className="label label-success">{mode} mode</span> : null}
+ </footer>
+ );
+ }
+});