diff options
Diffstat (limited to 'web/react/pages/admin_console.jsx')
-rw-r--r-- | web/react/pages/admin_console.jsx | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/web/react/pages/admin_console.jsx b/web/react/pages/admin_console.jsx new file mode 100644 index 000000000..689a6b3a2 --- /dev/null +++ b/web/react/pages/admin_console.jsx @@ -0,0 +1,25 @@ +// Copyright (c) 2015 Spinpunch, Inc. All Rights Reserved. +// See License.txt for license information. + +var ErrorBar = require('../components/error_bar.jsx'); +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') + ); + + React.render( + <ErrorBar/>, + document.getElementById('error_bar') + ); +} + +global.window.setup_admin_console_page = setupAdminConsolePage; |