Add desktop notifications

This commit is contained in:
really-need-an-api-key 2018-10-07 22:55:34 +02:00 committed by Calvin Montgomery
parent 1923af16a9
commit 0bc866dbfa
4 changed files with 44 additions and 6 deletions

View file

@ -101,7 +101,7 @@ mixin us-chat
+rcheckbox("us-sort-afk", "Sort AFKers to bottom")
.col-sm-4
.col-sm-8
p.text-info The following 2 options apply to how and when you will be notified if a new chat message is received while CyTube is not the active window.
p.text-info The following 3 options apply to how and when you will be notified if a new chat message is received while CyTube is not the active window.
.form-group
label.control-label.col-sm-4(for="#us-blink-title") Blink page title on new messages
.col-sm-8
@ -116,6 +116,13 @@ mixin us-chat
option(value="never") Never
option(value="onlyping") Only when I am mentioned or PMed
option(value="always") Always
.form-group
label.control-label.col-sm-4(for="#us-notifications") Desktop notifications on new messages
.col-sm-8
select#us-notifications.form-control
option(value="never") Never
option(value="onlyping") Only when I am mentioned or PMed
option(value="always") Always
+rcheckbox("us-sendbtn", "Add a send button to chat")
+rcheckbox("us-no-emotes", "Disable chat emotes")
+rcheckbox("us-strip-image", "Remove images from chat")