From f5ef64e87d4ec61f630ab28235c4906bfb08a2e1 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 12 Feb 2017 14:03:46 -0500 Subject: Admin panel for chat frontend. --- ShiftOS.Server.WebAdmin/Resources/ChatEditTemplate.txt | 5 +++++ ShiftOS.Server.WebAdmin/Resources/ChatListView.txt | 11 +++++++++++ ShiftOS.Server.WebAdmin/Resources/HtmlTemplate.txt | 17 ++++++++++------- 3 files changed, 26 insertions(+), 7 deletions(-) create mode 100644 ShiftOS.Server.WebAdmin/Resources/ChatEditTemplate.txt create mode 100644 ShiftOS.Server.WebAdmin/Resources/ChatListView.txt (limited to 'ShiftOS.Server.WebAdmin/Resources') diff --git a/ShiftOS.Server.WebAdmin/Resources/ChatEditTemplate.txt b/ShiftOS.Server.WebAdmin/Resources/ChatEditTemplate.txt new file mode 100644 index 0000000..0c8a7b5 --- /dev/null +++ b/ShiftOS.Server.WebAdmin/Resources/ChatEditTemplate.txt @@ -0,0 +1,5 @@ +

Create/edit chat

+ +

Please fill out the details below for your channel list to be modified.

+ +{form} \ No newline at end of file diff --git a/ShiftOS.Server.WebAdmin/Resources/ChatListView.txt b/ShiftOS.Server.WebAdmin/Resources/ChatListView.txt new file mode 100644 index 0000000..eedfc07 --- /dev/null +++ b/ShiftOS.Server.WebAdmin/Resources/ChatListView.txt @@ -0,0 +1,11 @@ +

Chats

+ +

On this page you can find a list of all chats in the system. Chats are a part of the multi-user domain that allows online players to talk to eachother in the 'MUD Chat' application.

+ +

If you have a Discord server for your multi-user domain, you can also designate a ShiftOS chat to listen on a specific channel on your server. You will need to create a Discord Bot Token and specify the ID of the channel you want tolisten to.

+ +

Once the chat is set up, you should see a bot join your Discord server. Once it does, any messages received by the server in that channel will be relayed into ShiftOS, and any messages received by the MUD in the ShiftOS channel will be relayed to Discord.

+ + Create chat + +{chat_table} \ No newline at end of file diff --git a/ShiftOS.Server.WebAdmin/Resources/HtmlTemplate.txt b/ShiftOS.Server.WebAdmin/Resources/HtmlTemplate.txt index fa0fcc6..cdb6e0d 100644 --- a/ShiftOS.Server.WebAdmin/Resources/HtmlTemplate.txt +++ b/ShiftOS.Server.WebAdmin/Resources/HtmlTemplate.txt @@ -15,25 +15,28 @@