summaryrefslogtreecommitdiffstats
path: root/web/react/pages/admin_console.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/pages/admin_console.jsx')
-rw-r--r--web/react/pages/admin_console.jsx11
1 files changed, 11 insertions, 0 deletions
diff --git a/web/react/pages/admin_console.jsx b/web/react/pages/admin_console.jsx
index 0e14d3ff8..7bffeab08 100644
--- a/web/react/pages/admin_console.jsx
+++ b/web/react/pages/admin_console.jsx
@@ -1,8 +1,19 @@
// Copyright (c) 2015 Spinpunch, Inc. All Rights Reserved.
// See License.txt for license information.
+var SelectTeamModal = require('../components/admin_console/select_team_modal.jsx');
+var AdminController = require('../components/admin_console/admin_controller.jsx');
+
export function setupAdminConsolePage() {
+ React.render(
+ <AdminController />,
+ document.getElementById('admin_controller')
+ );
+ React.render(
+ <SelectTeamModal />,
+ document.getElementById('select_team_modal')
+ );
}
global.window.setup_admin_console_page = setupAdminConsolePage;