From bb287cbd076940bd09f6afb61b642370d020f91e Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 10 Apr 2020 16:55:57 -0400 Subject: Adding an admin settings page. - Fixes #620 - Adding a UserListing component. Fixes #627 --- ui/src/index.tsx | 116 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 61 insertions(+), 55 deletions(-) (limited to 'ui/src/index.tsx') diff --git a/ui/src/index.tsx b/ui/src/index.tsx index c56f6c4e..8e49df9f 100644 --- a/ui/src/index.tsx +++ b/ui/src/index.tsx @@ -15,79 +15,85 @@ import { Communities } from './components/communities'; import { User } from './components/user'; import { Modlog } from './components/modlog'; import { Setup } from './components/setup'; +import { AdminSettings } from './components/admin-settings'; import { Inbox } from './components/inbox'; import { Search } from './components/search'; import { Sponsors } from './components/sponsors'; import { Symbols } from './components/symbols'; import { i18n } from './i18next'; -import { WebSocketService, UserService } from './services'; - const container = document.getElementById('app'); class Index extends Component { constructor(props: any, context: any) { super(props, context); - WebSocketService.Instance; - UserService.Instance; } render() { return ( - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
-