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
label.control-label(for=id)= label
input(type="checkbox", id=id)
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
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.
2013-12-26 03:15:51 +00:00
mixin rcheckbox("us-no-channelcss", "Ignore Channel CSS")
mixin rcheckbox("us-no-channeljs", "Ignore Channel Javascript")
2014-05-21 03:13:41 +00:00
.col-sm-4
.col-sm-8
p#us-conninfo.text-info <strong>Connection Information: </strong>
.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)")
2013-12-26 03:15:51 +00:00
mixin rcheckbox("us-synch", "Synchronize video playback")
mixin textbox("us-synch-accuracy", "Synch threshold (seconds)", "2")
mixin 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.
2014-03-08 02:37:20 +00:00
mixin rcheckbox("us-no-h264", "Use flash for h.264 playback")
2014-02-28 15:43:48 +00:00
.col-sm-4
.col-sm-8
2014-03-08 02:37:20 +00:00
p.text-info CyTube will attempt to autodetect browsers that do not natively support h.264 playback and fall back on a flash player. This overrides that automatic detection and forces use of the flash player.
2013-12-26 03:15:51 +00:00
mixin rcheckbox("us-hidevideo", "Remove the video player")
mixin rcheckbox("us-playlistbuttons", "Hide playlist buttons by default")
mixin rcheckbox("us-oldbtns", "Old style playlist buttons")
2014-01-19 02:18:00 +00:00
.form-group
2014-05-16 05:46:30 +00:00
label.control-label.col-sm-4(for="#us-default-quality") Default YouTube/Vimeo/Dailymotion quality
2014-01-19 02:18:00 +00:00
.col-sm-8
select#us-default-quality.form-control
option(value="auto") Auto
option(value="small") 240p
option(value="medium") 360p
option(value="large") 480p
option(value="hd720") 720p
option(value="hd1080") 1080p
option(value="highres") 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)")
2013-12-26 03:15:51 +00:00
mixin rcheckbox("us-chat-timestamp", "Show timestamps in chat")
mixin rcheckbox("us-sort-rank", "Sort userlist by rank")
mixin rcheckbox("us-sort-afk", "Sort AFKers to bottom")
mixin rcheckbox("us-chat-notice", "Ping on all new messages")
2013-12-25 21:18:21 +00:00
.col-sm-4
.col-sm-8
p.text-info When unchecked, you will only be pinged if your name is mentioned
2013-12-26 03:15:51 +00:00
mixin rcheckbox("us-boop", "Play a sound when pinged")
mixin rcheckbox("us-sendbtn", "Add a send button to chat")
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)")
2013-12-26 03:15:51 +00:00
mixin rcheckbox("us-modflair", "Show name color")
mixin rcheckbox("us-joinmessage", "Show join messages")
2014-04-01 16:52:20 +00:00
mixin rcheckbox("us-shadowchat", "Show shadowmuted messages")