aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Server.WebAdmin/Resources
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS.Server.WebAdmin/Resources')
-rw-r--r--ShiftOS.Server.WebAdmin/Resources/ChatEditTemplate.txt5
-rw-r--r--ShiftOS.Server.WebAdmin/Resources/ChatListView.txt11
-rw-r--r--ShiftOS.Server.WebAdmin/Resources/HtmlTemplate.txt17
3 files changed, 26 insertions, 7 deletions
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 @@
+<h3>Create/edit chat</h3>
+
+<p>Please fill out the details below for your channel list to be modified.</p>
+
+{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 @@
+<h3>Chats</h3>
+
+<p>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.</p>
+
+<p>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.</p>
+
+<p>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.</p>
+
+<a href="/mudadmin/createchat" class="btn btn-default"><span class="glyphicon glyphicon-plus"></span> Create chat</a>
+
+{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 @@
</div>
<ul class="nav navbar-nav">
<li>
- <a href="/webadmin/status">System status</a>
+ <a href="/mudadmin/status">System status</a>
</li>
<li>
- <a href="/webadmin/saves">Test subjects</a>
+ <a href="/mudadmin/saves">Test subjects</a>
</li>
<li>
- <a href="/webadmin/shiftnet">Shiftnet</a>
+ <a href="/mudadmin/shiftnet">Shiftnet</a>
</li>
<li>
- <a href="/webadmin/scripts">Scripts</a>
+ <a href="/mudadmin/scripts">Scripts</a>
</li>
<li>
- <a href="/webadmin/legions">Legions</a>
+ <a href="/mudadmin/legions">Legions</a>
</li>
+ <li>
+ <a href="/mudadmin/chats">Chats</a>
+ </li>
<li>
- <a href="/webadmin/shops">Shops</a>
+ <a href="/mudadmin/shops">Shops</a>
</li>
<li>
- <a href="/webadmin/help">Help</a>
+ <a href="/mudadmin/help">Help</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">