style guides ftw

multi-deployment
b3yond 2018-09-15 19:30:37 +02:00
parent f360c4f8fd
commit 36c21dbfbb
1 changed files with 8 additions and 7 deletions

View File

@ -71,12 +71,14 @@
<div> <div>
<h2>Connect with Telegram</h2> <h2>Connect with Telegram</h2>
<p> <p>
If you have a Telegram account, you can register a bot there. Just write to @botfather. You can find detailed If you have a Telegram account, you can register a bot there. Just
instructions <a href="https://botsfortelegram.com/project/the-bot-father/" target="_blank">on Bots for write to @botfather. There are detailed instructions on
Telegram</a>. <a href="https://botsfortelegram.com/project/the-bot-father/" target="_blank">
Bots for Telegram</a>.
</p> </p>
<p> <p>
The botfather will give you an API key - with the API key, Ticketfrei can use the Telegram bot. Enter it here: The botfather will give you an API key - with the API key, Ticketfrei
can use the Telegram bot. Enter it here:
</p> </p>
<form action="/settings/telegram" method="post"> <form action="/settings/telegram" method="post">
<input type="text" name="apikey" placeholder="Telegram bot API key" id="apikey"> <input type="text" name="apikey" placeholder="Telegram bot API key" id="apikey">
@ -134,7 +136,6 @@
language. language.
</p> </p>
<form action="/settings/goodlist" method="post"> <form action="/settings/goodlist" method="post">
<!-- find a way to display current good list. js which reads from a cookie? template? -->
<textarea id="goodlist" rows="8" cols="70" name="goodlist" wrap="physical">{{triggerwords}}</textarea> <textarea id="goodlist" rows="8" cols="70" name="goodlist" wrap="physical">{{triggerwords}}</textarea>
<input name='confirm' value='Submit' type='submit'/> <input name='confirm' value='Submit' type='submit'/>
</form> </form>
@ -145,10 +146,10 @@
<p> <p>
These words are not allowed in reports. If you encounter spam, you can These words are not allowed in reports. If you encounter spam, you can
add more here - the bot will ignore reports which use such words. add more here - the bot will ignore reports which use such words.
<!-- There are words which you can't exclude from the blocklist, e.g. certain racist, sexist, or antisemitic slurs. There are words which you can't exclude from the blocklist, e.g.
certain racist, sexist, or antisemitic slurs.
</p> </p>
<form action="/settings/blocklist" method="post"> <form action="/settings/blocklist" method="post">
<!-- find a way to display current blocklist. js which reads from a cookie? template? -->
<textarea id="blocklist" rows="8" cols="70" name="blocklist" wrap="physical">{{badwords}}</textarea> <textarea id="blocklist" rows="8" cols="70" name="blocklist" wrap="physical">{{badwords}}</textarea>
<input name='confirm' value='Submit' type='submit'/> <input name='confirm' value='Submit' type='submit'/>
</form> </form>