2013-12-25 21:18:21 +00:00
mixin lcheckbox(id, label)
.form-group
label.control-label.col-sm-4(for=id)= label
.col-sm-8
.checkbox
input(type="checkbox", id=id)
mixin rcheckbox(id, label)
.form-group
.col-sm-8.col-sm-offset-4
.checkbox
2014-11-13 01:56:29 +00:00
label(for=id)
2013-12-25 21:18:21 +00:00
input(type="checkbox", id=id)
2014-11-13 01:56:29 +00:00
= label
2013-12-25 21:18:21 +00:00
mixin textbox(id, label, placeholder)
.form-group
label.control-label.col-sm-4(for=id)= label
.col-sm-8
if placeholder
input.form-control(id=id, type="text", placeholder=placeholder)
else
input.form-control(id=id, type="text")
mixin us-general
#us-general.tab-pane
h4 General Preferences
form.form-horizontal(action="javascript:void(0)")
.form-group
label.control-label.col-sm-4(for="#us-theme") Theme
.col-sm-8
select#us-theme.form-control
2014-02-25 00:25:49 +00:00
option(value="/css/themes/light.css") Light
2014-01-30 04:50:14 +00:00
option(value="/css/themes/bootstrap-theme.min.css") Bootstrap
option(value="/css/themes/slate.css") Slate
option(value="/css/themes/cyborg.css") Cyborg
2015-01-03 23:21:07 +00:00
option(value="/css/themes/modern.css") Modern
2013-12-25 21:18:21 +00:00
.form-group
label.control-label.col-sm-4(for="#us-layout") Layout
.col-sm-8
select#us-layout.form-control
option(value="default") Compact
option(value="synchtube") Synchtube (flipped)
option(value="fluid") Fluid
2014-01-26 20:15:50 +00:00
option(value="synchtube-fluid") Synchtube + Fluid
option(value="hd") HD
2013-12-25 21:18:21 +00:00
.col-sm-4
.col-sm-8
p.text-danger Changing layouts may require refreshing to take effect.
2016-07-07 08:11:56 +00:00
+rcheckbox("us-no-channelcss", "Ignore Channel CSS")
+rcheckbox("us-no-channeljs", "Ignore Channel Javascript")
2014-05-21 03:13:41 +00:00
.clear
2013-12-25 21:18:21 +00:00
2014-07-02 03:11:54 +00:00
mixin us-scripts
#us-scriptcontrol.tab-pane
h4 Script Access
table.table
thead
tr
th Channel
th Type
th Preference
th Clear
2013-12-25 21:18:21 +00:00
mixin us-playback
#us-playback.tab-pane
h4 Playback Preferences
form.form-horizontal(action="javascript:void(0)")
2016-07-07 08:11:56 +00:00
+rcheckbox("us-synch", "Synchronize video playback")
+textbox("us-synch-accuracy", "Synch threshold (seconds)", "2")
+rcheckbox("us-wmode-transparent", "Set wmode=transparent")
2013-12-25 21:18:21 +00:00
.col-sm-4
.col-sm-8
p.text-info Setting <code>wmode=transparent</code> allows objects to be displayed above the video player, but may cause performance issues on some systems.
2016-07-07 08:11:56 +00:00
+rcheckbox("us-hidevideo", "Remove the video player")
+rcheckbox("us-playlistbuttons", "Hide playlist buttons by default")
+rcheckbox("us-oldbtns", "Old style playlist buttons")
2014-01-19 02:18:00 +00:00
.form-group
2014-11-13 01:56:29 +00:00
label.control-label.col-sm-4(for="#us-default-quality") Quality Preference
2014-01-19 02:18:00 +00:00
.col-sm-8
select#us-default-quality.form-control
option(value="auto") Auto
2015-05-02 22:55:00 +00:00
option(value="240") 240p
option(value="360") 360p
option(value="480") 480p
option(value="720") 720p
option(value="1080") 1080p
option(value="best") Highest Available
2013-12-25 21:18:21 +00:00
mixin us-chat
#us-chat.tab-pane
h4 Chat Preferences
form.form-horizontal(action="javascript:void(0)")
2016-07-07 08:11:56 +00:00
+rcheckbox("us-chat-timestamp", "Show timestamps in chat")
+rcheckbox("us-sort-rank", "Sort userlist by rank")
+rcheckbox("us-sort-afk", "Sort AFKers to bottom")
2013-12-25 21:18:21 +00:00
.col-sm-4
.col-sm-8
2014-05-26 20:22:20 +00:00
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.
.form-group
label.control-label.col-sm-4(for="#us-blink-title") Blink page title on new messages
.col-sm-8
2014-05-26 20:25:23 +00:00
select#us-blink-title.form-control
2014-05-26 20:22:20 +00:00
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-ping-sound") Notification sound on new messages
.col-sm-8
2014-05-26 20:25:23 +00:00
select#us-ping-sound.form-control
2014-05-26 20:22:20 +00:00
option(value="never") Never
option(value="onlyping") Only when I am mentioned or PMed
option(value="always") Always
2016-07-07 08:11:56 +00:00
+rcheckbox("us-sendbtn", "Add a send button to chat")
+rcheckbox("us-no-emotes", "Disable chat emotes")
2013-12-25 21:18:21 +00:00
mixin us-mod
#us-mod.tab-pane
h4 Moderator Preferences
form.form-horizontal(action="javascript:void(0)")
2016-07-07 08:11:56 +00:00
+rcheckbox("us-modflair", "Show name color")
+rcheckbox("us-shadowchat", "Show shadowmuted messages")