mirror of https://github.com/calzoneman/sync.git
More missed merges
This commit is contained in:
parent
6046ea2480
commit
1cc769b1ea
|
@ -10,9 +10,32 @@ mixin rcheckbox(id, label)
|
||||||
.col-sm-8.col-sm-offset-4
|
.col-sm-8.col-sm-offset-4
|
||||||
.checkbox
|
.checkbox
|
||||||
label.control-label(for=id)= label
|
label.control-label(for=id)= label
|
||||||
input.cs-checkbox(type="checkbox", id=id)
|
input(type="checkbox", id=id)
|
||||||
|
|
||||||
mixin textbox(id, label, placeholder)
|
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 lcheckbox-auto(id, label)
|
||||||
|
.form-group
|
||||||
|
label.control-label.col-sm-4(for=id)= label
|
||||||
|
.col-sm-8
|
||||||
|
.checkbox
|
||||||
|
input.cs-checkbox(type="checkbox", id=id)
|
||||||
|
|
||||||
|
mixin rcheckbox-auto(id, label)
|
||||||
|
.form-group
|
||||||
|
.col-sm-8.col-sm-offset-4
|
||||||
|
.checkbox
|
||||||
|
label.control-label(for=id)= label
|
||||||
|
input.cs-checkbox(type="checkbox", id=id)
|
||||||
|
|
||||||
|
mixin textbox-auto(id, label, placeholder)
|
||||||
.form-group
|
.form-group
|
||||||
label.control-label.col-sm-4(for=id)= label
|
label.control-label.col-sm-4(for=id)= label
|
||||||
.col-sm-8
|
.col-sm-8
|
||||||
|
@ -25,14 +48,15 @@ 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("cs-enable_link_regex", "Convert URLs in chat to links")
|
mixin rcheckbox-auto("cs-enable_link_regex", "Convert URLs in chat to links")
|
||||||
mixin rcheckbox("cs-allow_voteskip", "Allow voteskip")
|
mixin rcheckbox-auto("cs-allow_voteskip", "Allow voteskip")
|
||||||
mixin textbox("cs-voteskip_ratio", "Voteskip ratio", "0.5")
|
mixin textbox-auto("cs-voteskip_ratio", "Voteskip ratio", "0.5")
|
||||||
mixin textbox("cs-maxlength", "Max video length", "HH:MM:SS")
|
mixin textbox-auto("cs-maxlength", "Max video length", "HH:MM:SS")
|
||||||
mixin textbox("cs-afk_timeout", "Auto-AFK Delay", "0 (disabled)")
|
mixin textbox-auto("cs-afk_timeout", "Auto-AFK Delay", "0 (disabled)")
|
||||||
mixin rcheckbox("cs-chat_antiflood", "Throttle chat")
|
mixin rcheckbox-auto("cs-allow_dupes", "Allow duplicate videos on the playlist")
|
||||||
mixin textbox("cs-chat_antiflood_burst", "# of messages allowed before throttling")
|
mixin rcheckbox-auto("cs-chat_antiflood", "Throttle chat")
|
||||||
mixin textbox("cs-chat_antiflood_sustained", "# of messages (after burst) allowed per second")
|
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")
|
||||||
.form-group
|
.form-group
|
||||||
.col-sm-8.col-sm-offset-4
|
.col-sm-8.col-sm-offset-4
|
||||||
span.text-info Changes are automatically saved.
|
span.text-info Changes are automatically saved.
|
||||||
|
@ -42,11 +66,11 @@ mixin adminoptions
|
||||||
h4 Admin-Only Settings
|
h4 Admin-Only Settings
|
||||||
form.form-horizontal(action="javascript:void(0)")
|
form.form-horizontal(action="javascript:void(0)")
|
||||||
- var defname = "CyTube - /r/" + channelName
|
- var defname = "CyTube - /r/" + channelName
|
||||||
mixin textbox("cs-pagetitle", "Page title", defname)
|
mixin textbox-auto("cs-pagetitle", "Page title", defname)
|
||||||
mixin textbox("cs-password", "Password", "leave blank to disable")
|
mixin textbox-auto("cs-password", "Password", "leave blank to disable")
|
||||||
mixin textbox("cs-externalcss", "External CSS", "Stylesheet URL")
|
mixin textbox-auto("cs-externalcss", "External CSS", "Stylesheet URL")
|
||||||
mixin textbox("cs-externaljs", "External Javascript", "Script URL")
|
mixin textbox-auto("cs-externaljs", "External Javascript", "Script URL")
|
||||||
mixin rcheckbox("cs-show_public", "List channel publicly")
|
mixin rcheckbox-auto("cs-show_public", "List channel publicly")
|
||||||
.form-group
|
.form-group
|
||||||
.col-sm-8.col-sm-offset-4
|
.col-sm-8.col-sm-offset-4
|
||||||
span.text-info Changes are automatically saved.
|
span.text-info Changes are automatically saved.
|
||||||
|
|
|
@ -47,7 +47,10 @@ mixin us-general
|
||||||
p.text-danger Changing layouts may require refreshing to take effect.
|
p.text-danger Changing layouts may require refreshing to take effect.
|
||||||
mixin rcheckbox("us-no-channelcss", "Ignore Channel CSS")
|
mixin rcheckbox("us-no-channelcss", "Ignore Channel CSS")
|
||||||
mixin rcheckbox("us-no-channeljs", "Ignore Channel Javascript")
|
mixin rcheckbox("us-no-channeljs", "Ignore Channel Javascript")
|
||||||
mixin rcheckbox("us-ssl", "Encrypt connection with SSL")
|
.col-sm-4
|
||||||
|
.col-sm-8
|
||||||
|
p#us-conninfo.text-info <strong>Connection Information: </strong>
|
||||||
|
.clear
|
||||||
|
|
||||||
mixin us-playback
|
mixin us-playback
|
||||||
#us-playback.tab-pane
|
#us-playback.tab-pane
|
||||||
|
|
|
@ -199,7 +199,7 @@
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.videolist > li:last-child {
|
#queue > li:last-child {
|
||||||
border-bottom-width: 0;
|
border-bottom-width: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue