aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/router_jsx.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/js/router_jsx.js')
-rw-r--r--web/src/js/router_jsx.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/web/src/js/router_jsx.js b/web/src/js/router_jsx.js
new file mode 100644
index 00000000..707715de
--- /dev/null
+++ b/web/src/js/router_jsx.js
@@ -0,0 +1,10 @@
+/** @jsx React.DOM */
+
+var Router = React.createClass({displayName: 'Router',
+ render: function(){
+ return ReactRouter.Routes({location: "hash"},
+ ReactRouter.Route({name: "certs", path: "/", handler: CertInstallView}),
+ ReactRouter.Route({name: "other", path: "/other", handler: CertInstallView})
+ );
+ }
+});