hanayo/templates/irc.html

22 lines
783 B
HTML
Raw Permalink Normal View History

2019-02-23 13:29:15 +00:00
{{/*###
Handler=/irc
TitleBar=IRC token
MinPrivileges=2
*/}}
{{ define "tpl" }}
<div class="ui container">
<div class="ui segments">
<div class="ui segment">
2019-02-23 17:23:22 +00:00
{{ .T "Here you can generate a new IRC token. You can use it to connect to Yozora's chat using IRC. Remember that your IRC token is like a password, anyone who knows it, has access to your account. If you're interested knowing how to connect to Yozora's chat via IRC, you may want to check out <a href=\"/doc/11\">this</a>." | html }}
2019-02-23 13:29:15 +00:00
</div>
<div class="ui right aligned segment">
<form action="/irc/generate" method="POST">
{{ ieForm .Gin }}
<button tabindex="1" type="submit" class="ui right blue button">
{{ .T "Generate a new token!" }}
</button>
</form>
</div>
</div>
</div>
{{ end }}