mirror of
https://git.waldn.net/git/knotteye/satyr.git
synced 2025-09-08 12:22:45 +00:00
Add templates for chat integration UI
This commit is contained in:
14
templates/chat_integ.njk
Normal file
14
templates/chat_integ.njk
Normal file
@ -0,0 +1,14 @@
|
||||
{% extends "base.njk" %}
|
||||
{% block content %}
|
||||
<h3>Integrate your stream chat</h3><span style="font-size: small;">Ask your instance administrator for the discord, xmpp, and irc servers you will be using.</span>
|
||||
<p></p>
|
||||
<form action="/api/user/update/chat" method="POST" target="responseFrame">
|
||||
Discord Channel: </br><input type="text" name="discord" style="min-width: 300px" value="{{integ.discord}}"/></br>
|
||||
IRC Channel: </br><input type="text" name="irc" style="min-width: 300px" value="{{integ.irc}}"/></br>
|
||||
XMPP Room: </br><input type="text" name="xmpp" style="min-width: 300px" value="{{integ.xmpp}}"/></br>
|
||||
Twitch Channel: </br><input type="text" name="twitch" style="min-width: 300px" value="{{integ.twitch}}"/></br>
|
||||
<p></p>
|
||||
<input type="submit" value="Update Chat">
|
||||
</form></br>
|
||||
<iframe name="responseFrame" border="0" frameborder="0" style="display: inline;"></iframe>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user