Merge pull request #387 from calzoneman/channeloptions

Group chat options under channel settings
This commit is contained in:
Calvin Montgomery 2014-07-30 19:29:15 -05:00
commit a6d0ae5993
1 changed files with 6 additions and 2 deletions

View File

@ -48,12 +48,16 @@ mixin miscoptions
#cs-miscoptions.tab-pane #cs-miscoptions.tab-pane
h4 General Settings h4 General Settings
form.form-horizontal(action="javascript:void(0)") form.form-horizontal(action="javascript:void(0)")
mixin rcheckbox-auto("cs-enable_link_regex", "Convert URLs in chat to links")
mixin rcheckbox-auto("cs-allow_voteskip", "Allow voteskip") mixin rcheckbox-auto("cs-allow_voteskip", "Allow voteskip")
mixin rcheckbox-auto("cs-allow_dupes", "Allow duplicate videos on the playlist")
mixin textbox-auto("cs-voteskip_ratio", "Voteskip ratio", "0.5") mixin textbox-auto("cs-voteskip_ratio", "Voteskip ratio", "0.5")
mixin textbox-auto("cs-maxlength", "Max video length", "HH:MM:SS") mixin textbox-auto("cs-maxlength", "Max video length", "HH:MM:SS")
mixin textbox-auto("cs-afk_timeout", "Auto-AFK Delay", "0 (disabled)") mixin textbox-auto("cs-afk_timeout", "Auto-AFK Delay", "0 (disabled)")
mixin rcheckbox-auto("cs-allow_dupes", "Allow duplicate videos on the playlist") .form-group
.col-sm-offset-4
h4 Chat Settings
form.form-horizontal(action="javascript:void(0)")
mixin rcheckbox-auto("cs-enable_link_regex", "Convert URLs in chat to links")
mixin rcheckbox-auto("cs-chat_antiflood", "Throttle chat") mixin rcheckbox-auto("cs-chat_antiflood", "Throttle chat")
mixin textbox-auto("cs-chat_antiflood_burst", "# of messages allowed before throttling") mixin textbox-auto("cs-chat_antiflood_burst", "# of messages allowed before throttling")
mixin textbox-auto("cs-chat_antiflood_sustained", "# of messages (after burst) allowed per second") mixin textbox-auto("cs-chat_antiflood_sustained", "# of messages (after burst) allowed per second")