51 lines
2.2 KiB
Plaintext
Raw Normal View History

2018-10-26 02:13:03 +00:00
component SettingsNotifications(user *arn.User)
SettingsTabs
h1.page-title Notification settings
.settings
.widget.mountable
h3.widget-title
Icon("bell")
span Instant notifications
2019-11-20 07:47:00 +00:00
#notifications-enable.widget-section
2018-10-26 02:13:03 +00:00
label Instant notifications:
button.action(data-action="enableNotifications", data-trigger="click")
Icon("toggle-off")
span OFF
2019-11-20 07:47:00 +00:00
#notifications-disable.widget-section.hidden
2018-10-26 02:13:03 +00:00
label Instant notifications:
button.action(data-action="disableNotifications", data-trigger="click")
Icon("toggle-on")
span ON
2019-11-20 07:47:00 +00:00
#notifications-test.widget-section
2018-10-26 02:13:03 +00:00
label Test:
button.action(data-action="testNotification", data-trigger="click")
Icon("paper-plane")
span Send test notification
2019-11-20 07:47:00 +00:00
footer#notifications-footer.footer
2018-10-26 02:13:03 +00:00
p(title="This setting is not account bound, instead it is bound to your browser.") You can customize this setting on every device you own.
2019-11-02 16:41:58 +00:00
//- .widget.mountable(data-api="/api/settings/" + user.ID)
//- h3.widget-title
//- Icon("filter")
//- span Filter
2018-10-26 02:13:03 +00:00
2019-11-02 16:41:58 +00:00
//- InputBool("Notification.AnimeEpisodeReleases", user.Settings().Notification.AnimeEpisodeReleases, "New episodes", "Notifications about new episodes")
//- InputBool("Notification.AnimeFinished", user.Settings().Notification.AnimeFinished, "Finished anime series", "Notifications about finished anime series")
//- //- InputBool("Notification.NewFollowers", user.Settings().Notification.NewFollowers, "New followers", "Notifications about new followers")
2018-10-26 02:13:03 +00:00
//- .widget.mountable(data-api="/api/settings/" + user.ID)
//- h3.widget-title
//- Icon("heart")
//- span Likes
//- InputBool("Notification.ForumLikes", user.Settings().Notification.ForumLikes, "Forum post likes", "Notifications about forum post likes")
//- InputBool("Notification.SoundTrackLikes", user.Settings().Notification.SoundTrackLikes, "Soundtrack likes", "Notifications about soundtrack likes")
//- //- InputBool("Notification.GroupPostLikes", user.Settings().Notification.GroupPostLikes, "Group post likes", "Notifications about group post likes")
//- InputBool("Notification.QuoteLikes", user.Settings().Notification.QuoteLikes, "Quote likes", "Notifications about quote likes")