2013-12-26 03:04:26 +00:00
|
|
|
doctype html
|
2013-12-12 20:48:23 +00:00
|
|
|
html(lang="en")
|
|
|
|
head
|
|
|
|
include head
|
2013-12-26 03:15:51 +00:00
|
|
|
mixin head()
|
2013-12-12 23:09:49 +00:00
|
|
|
link(href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css", rel="stylesheet")
|
2013-12-12 20:48:23 +00:00
|
|
|
body
|
|
|
|
#wrap
|
|
|
|
nav.navbar.navbar-inverse.navbar-fixed-top(role="navigation")
|
|
|
|
include nav
|
2013-12-26 03:15:51 +00:00
|
|
|
mixin navheader()
|
2013-12-12 20:48:23 +00:00
|
|
|
#nav-collapsible.collapse.navbar-collapse
|
|
|
|
- var cname = "/r/" + channelName
|
|
|
|
ul.nav.navbar-nav
|
2013-12-26 03:15:51 +00:00
|
|
|
mixin navdefaultlinks(cname)
|
2013-12-25 21:18:21 +00:00
|
|
|
li: a(href="#", onclick="javascript:showUserOptions()") Options
|
2014-01-19 07:45:20 +00:00
|
|
|
li: a#showchansettings(href="#", onclick="javascript:$('#channeloptions').modal()") Channel Settings
|
2013-12-26 03:15:51 +00:00
|
|
|
mixin navloginlogout(cname)
|
2013-12-12 20:48:23 +00:00
|
|
|
section#mainpage
|
|
|
|
.container
|
2013-12-20 03:33:24 +00:00
|
|
|
#motdrow.row
|
2013-12-12 20:48:23 +00:00
|
|
|
.col-lg-12.col-md-12
|
|
|
|
#motdwrap.well
|
|
|
|
button#togglemotd.close.pull-right(type="button")
|
|
|
|
span.glyphicon.glyphicon-minus
|
|
|
|
#motd
|
|
|
|
.clear
|
|
|
|
#announcements.row
|
2014-01-12 23:06:25 +00:00
|
|
|
#drinkbarwrap.row
|
|
|
|
#drinkbar.col-lg-12.col-md-12
|
2013-12-12 20:48:23 +00:00
|
|
|
h1#drinkcount
|
|
|
|
#main.row
|
|
|
|
#chatwrap.col-lg-5.col-md-5
|
|
|
|
#chatheader
|
|
|
|
i#userlisttoggle.glyphicon.glyphicon-chevron-up.pull-left.pointer(title="Show/Hide Userlist")
|
|
|
|
span#usercount.pointer Not Connected
|
|
|
|
span#modflair.label.label-default.pull-right.pointer M
|
|
|
|
span#adminflair.label.label-default.pull-right.pointer A
|
|
|
|
#userlist
|
|
|
|
#messagebuffer
|
|
|
|
input#chatline.form-control(type="text", maxlength="240", style="display: none")
|
|
|
|
#guestlogin.input-group
|
|
|
|
span.input-group-addon Guest login
|
|
|
|
input#guestname.form-control(type="text", placeholder="Name")
|
|
|
|
#videowrap.col-lg-7.col-md-7
|
2013-12-27 03:35:47 +00:00
|
|
|
p#currenttitle Nothing Playing
|
2013-12-12 20:48:23 +00:00
|
|
|
#ytapiplayer
|
2013-12-20 03:33:24 +00:00
|
|
|
#controlsrow.row
|
2013-12-12 20:48:23 +00:00
|
|
|
#leftcontrols.col-lg-5.col-md-5
|
|
|
|
button#newpollbtn.btn.btn-sm.btn-default New Poll
|
|
|
|
#rightcontrols.col-lg-7.col-md-7
|
2014-01-14 00:31:12 +00:00
|
|
|
#plcontrol.btn-group
|
|
|
|
button#showsearch.btn.btn-sm.btn-default(title="Search for a video", data-toggle="collapse", data-target="#searchcontrol")
|
|
|
|
span.glyphicon.glyphicon-search
|
|
|
|
button#showmediaurl.btn.btn-sm.btn-default(title="Add video from URL", data-toggle="collapse", data-target="#addfromurl")
|
|
|
|
span.glyphicon.glyphicon-plus
|
|
|
|
button#showcustomembed.btn.btn-sm.btn-default(title="Embed a custom frame", data-toggle="collapse", data-target="#customembed")
|
|
|
|
span.glyphicon.glyphicon-th-large
|
|
|
|
button#clearplaylist.btn.btn-sm.btn-default(title="Clear the playlist")
|
|
|
|
span.glyphicon.glyphicon-trash
|
|
|
|
button#shuffleplaylist.btn.btn-sm.btn-default(title="Shuffle the playlist")
|
|
|
|
span.glyphicon.glyphicon-sort
|
|
|
|
button#qlockbtn.btn.btn-sm.btn-danger(title="Playlist locked")
|
|
|
|
span.glyphicon.glyphicon-lock
|
|
|
|
.btn-group.pull-right
|
|
|
|
button#mediarefresh.btn.btn-sm.btn-default(title="Reload the video player")
|
|
|
|
span.glyphicon.glyphicon-retweet
|
|
|
|
button#getplaylist.btn.btn-sm.btn-default(title="Retrieve playlist links")
|
|
|
|
span.glyphicon.glyphicon-link
|
|
|
|
button#voteskip.btn.btn-sm.btn-default(title="Voteskip")
|
|
|
|
span.glyphicon.glyphicon-step-forward
|
|
|
|
|
2013-12-12 20:48:23 +00:00
|
|
|
#playlistrow.row
|
|
|
|
#leftpane.col-lg-5.col-md-5
|
|
|
|
#leftpane-inner.row
|
|
|
|
#pollwrap.col-lg-12.col-md-12
|
|
|
|
#playlistmanagerwrap.col-lg-12.col-md-12
|
|
|
|
button#showplaylistmanager.btn.btn-default.btn-block(data-toggle="collapse", data-target="#playlistmanager") Playlist Manager
|
|
|
|
#playlistmanager.collapse
|
|
|
|
.row.vertical-spacer
|
|
|
|
.col-lg-12.col-md-12
|
|
|
|
.input-group
|
|
|
|
input#userpl_name.form-control(type="text", placeholder="Playlist Name")
|
|
|
|
span.input-group-btn
|
|
|
|
button#userpl_save.btn.btn-default Save
|
|
|
|
ul#userpl_list.col-lg-12.col-md-12
|
|
|
|
#rightpane.col-lg-7.col-md-7
|
|
|
|
#rightpane-inner.row
|
2014-01-14 00:31:12 +00:00
|
|
|
#addfromurl.collapse.plcontrol-collapse.col-lg-12.col-md-12
|
|
|
|
.vertical-spacer
|
|
|
|
.input-group
|
|
|
|
input#mediaurl.form-control(type="text", placeholder="Media URL")
|
|
|
|
span.input-group-btn
|
|
|
|
button#queue_next.btn.btn-default Next
|
|
|
|
span.input-group-btn
|
|
|
|
button#queue_end.btn.btn-default At End
|
|
|
|
#searchcontrol.collapse.plcontrol-collapse.col-lg-12.col-md-12
|
|
|
|
.vertical-spacer
|
|
|
|
.input-group
|
|
|
|
input#library_query.form-control(type="text", placeholder="Search query")
|
|
|
|
span.input-group-btn
|
|
|
|
button#library_search.btn.btn-default Library
|
|
|
|
span.input-group-btn
|
|
|
|
button#youtube_search.btn.btn-default YouTube
|
|
|
|
ul#library.videolist.col-lg-12.col-md-12
|
|
|
|
#customembed.collapse.plcontrol-collapse.col-lg-12.col-md-12
|
|
|
|
.vertical-spacer
|
|
|
|
.input-group
|
2014-01-14 06:52:56 +00:00
|
|
|
input#customembed-title.form-control(type="text", placeholder="Title (optional)")
|
2014-01-14 00:31:12 +00:00
|
|
|
span.input-group-btn
|
|
|
|
button#ce_queue_next.btn.btn-default Next
|
|
|
|
span.input-group-btn
|
|
|
|
button#ce_queue_end.btn.btn-default At End
|
|
|
|
| Paste the embed code below and click Next or At End.
|
|
|
|
| Acceptable embed codes are <code><iframe></code> and <code><object></code> tags.
|
2014-01-14 06:52:56 +00:00
|
|
|
textarea#customembed-content.input-block-level.form-control(rows="3")
|
|
|
|
#queuefail.col-lg-12.col-md-12
|
|
|
|
.vertical-spacer
|
2013-12-12 20:48:23 +00:00
|
|
|
.col-lg-12.col-md-12
|
2014-01-22 04:41:53 +00:00
|
|
|
ul#queue.videolist
|
2013-12-12 20:48:23 +00:00
|
|
|
#plmeta
|
|
|
|
span#plcount 0 items
|
|
|
|
span#pllength 00:00:00
|
|
|
|
#resizewrap.row
|
|
|
|
.col-lg-5.col-md-5
|
|
|
|
#videowidth.col-lg-7.col-md-7
|
|
|
|
#sitefooter
|
2013-12-25 21:18:21 +00:00
|
|
|
#useroptions.modal.fade(tabindex="-1", role="dialog", aria-hidden="true")
|
|
|
|
.modal-dialog
|
|
|
|
.modal-content
|
|
|
|
.modal-header
|
2013-12-27 03:35:47 +00:00
|
|
|
button.close(data-dismiss="modal", aria-hidden="true") ×
|
2013-12-25 21:18:21 +00:00
|
|
|
h4 User Preferences
|
|
|
|
ul.nav.nav-tabs
|
|
|
|
li: a(href="#us-general", data-toggle="tab") General
|
|
|
|
li: a(href="#us-playback", data-toggle="tab") Playback
|
|
|
|
li: a(href="#us-chat", data-toggle="tab") Chat
|
|
|
|
li: a(href="#us-mod", data-toggle="tab", style="") Moderator
|
|
|
|
.modal-body
|
|
|
|
.tab-content
|
|
|
|
include useroptions
|
2013-12-26 03:15:51 +00:00
|
|
|
mixin us-general()
|
|
|
|
mixin us-playback()
|
|
|
|
mixin us-chat()
|
|
|
|
mixin us-mod()
|
2013-12-25 21:18:21 +00:00
|
|
|
.modal-footer
|
|
|
|
button.btn.btn-primary(type="button", data-dismiss="modal", onclick="javascript:saveUserOptions()") Save
|
|
|
|
button.btn.btn-default(type="button", data-dismiss="modal") Close
|
2013-12-12 20:48:23 +00:00
|
|
|
#channeloptions.modal.fade(tabindex="-1", role="dialog", aria-hidden="true")
|
|
|
|
.modal-dialog
|
|
|
|
.modal-content
|
|
|
|
.modal-header
|
2013-12-27 03:35:47 +00:00
|
|
|
button.close(data-dismiss="modal", aria-hidden="true") ×
|
2013-12-12 20:48:23 +00:00
|
|
|
h4 Channel Settings
|
|
|
|
ul.nav.nav-tabs
|
2014-01-16 17:53:34 +00:00
|
|
|
li: a(href="#cs-miscoptions", data-toggle="tab") General Settings
|
|
|
|
li: a(href="#cs-adminoptions", data-toggle="tab") Admin Settings
|
2013-12-12 20:48:23 +00:00
|
|
|
li.dropdown
|
|
|
|
a#cs-edit-dd-toggle(href="#", data-toggle="dropdown") Edit
|
|
|
|
span.caret
|
|
|
|
ul.dropdown-menu
|
2014-01-23 03:12:43 +00:00
|
|
|
li: a(href="#cs-chatfilters", data-toggle="tab", onclick="javascript:socket.emit('requestChatFilters')") Chat Filters
|
|
|
|
li: a(href="#cs-motdeditor", data-toggle="tab", tabindex="-1") MOTD
|
|
|
|
li: a(href="#cs-csseditor", data-toggle="tab", tabindex="-1") CSS
|
|
|
|
li: a(href="#cs-jseditor", data-toggle="tab", tabindex="-1") Javascript
|
|
|
|
li: a(href="#cs-permedit", data-toggle="tab", tabindex="-1") Permissions
|
|
|
|
li: a(href="#cs-chanranks", data-toggle="tab", tabindex="-1", onclick="javascript:socket.emit('requestChannelRanks')") Moderators
|
2014-01-09 02:12:02 +00:00
|
|
|
li: a(href="#cs-banlist", data-toggle="tab", tabindex="-1", onclick="javascript:socket.emit('requestBanlist')") Ban list
|
2014-01-23 03:12:43 +00:00
|
|
|
li: a(href="#cs-chanlog", data-toggle="tab", onclick="javascript:socket.emit('readChanLog')") Log
|
2013-12-12 20:48:23 +00:00
|
|
|
.modal-body
|
|
|
|
.tab-content
|
|
|
|
include channeloptions
|
2013-12-26 03:15:51 +00:00
|
|
|
mixin miscoptions()
|
|
|
|
mixin adminoptions()
|
|
|
|
mixin motdeditor()
|
|
|
|
mixin csseditor()
|
|
|
|
mixin jseditor()
|
|
|
|
mixin banlist()
|
|
|
|
mixin recentjoins()
|
|
|
|
mixin chanranks()
|
2014-01-16 17:53:34 +00:00
|
|
|
mixin chatfilters()
|
|
|
|
mixin chanlog()
|
2014-01-20 18:16:30 +00:00
|
|
|
mixin permeditor()
|
2013-12-12 20:48:23 +00:00
|
|
|
.modal-footer
|
|
|
|
button.btn.btn-default(type="button", data-dismiss="modal") Close
|
|
|
|
include footer
|
2013-12-26 03:15:51 +00:00
|
|
|
mixin footer()
|
2014-01-23 03:12:43 +00:00
|
|
|
script(src=sioSource)
|
2013-12-12 20:48:23 +00:00
|
|
|
script(src="/assets/js/data.js")
|
2014-01-24 04:59:08 +00:00
|
|
|
script(src="/sioconfig")
|
2013-12-12 20:48:23 +00:00
|
|
|
script(src="/assets/js/util.js")
|
2013-12-20 03:33:24 +00:00
|
|
|
script(src="/assets/js/player.js")
|
2013-12-19 04:50:19 +00:00
|
|
|
script(src="/assets/js/paginator.js")
|
2013-12-12 20:48:23 +00:00
|
|
|
script(src="/assets/js/ui.js")
|
|
|
|
script(src="/assets/js/callbacks.js")
|
2014-01-23 03:12:43 +00:00
|
|
|
script(defer, src="https://www.youtube.com/iframe_api")
|
|
|
|
script(defer, src="//api.dmcdn.net/all.js")
|
|
|
|
script(defer, src="/assets/js/jwplayer.js")
|
|
|
|
script(defer, src="/assets/js/sc.js")
|
|
|
|
script(defer, src="/assets/js/froogaloop.min.js")
|
|
|
|
script(defer, src="/assets/js/swf.js")
|