2013-02-16 05:02:42 +00:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
2013-03-23 22:15:19 +00:00
|
|
|
|
<title>CyTube</title>
|
2013-02-16 05:02:42 +00:00
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
<meta name="description" content="">
|
|
|
|
|
<meta name="author" content="Calvin 'calzoneman' Montgomery">
|
|
|
|
|
|
|
|
|
|
<link href="./assets/css/bootstrap.css" rel="stylesheet">
|
|
|
|
|
<link href="./assets/css/ytsync.css" rel="stylesheet">
|
|
|
|
|
<style>
|
|
|
|
|
body {
|
|
|
|
|
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<link href="./assets/css/bootstrap-responsive.css" rel="stylesheet">
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<div class="navbar navbar-inverse navbar-fixed-top">
|
|
|
|
|
<div class="navbar-inner">
|
|
|
|
|
<div class="container">
|
2013-04-21 01:17:38 +00:00
|
|
|
|
<a class="brand" href="index.html">CyTube</a>
|
2013-03-31 22:30:46 +00:00
|
|
|
|
<div class="">
|
2013-02-16 05:02:42 +00:00
|
|
|
|
<ul class="nav">
|
2013-04-21 01:17:38 +00:00
|
|
|
|
<li class="active"><a href="index.html">Home</a></li>
|
2013-03-20 19:17:59 +00:00
|
|
|
|
<li><a href="help.html">Help</a></li>
|
2013-02-16 05:02:42 +00:00
|
|
|
|
</ul>
|
2013-03-05 22:56:21 +00:00
|
|
|
|
<div class="navbar-form pull-right" id="loginform">
|
|
|
|
|
<input class="span2" id="username" type="text" placeholder="Username">
|
|
|
|
|
<input class="span2" id="password" type="password" placeholder="Password">
|
|
|
|
|
<button class="btn" id="login">Login</button>
|
|
|
|
|
<button class="btn" id="register">Register</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="navbar-form pull-right" id="logoutform" style="display: none;">
|
|
|
|
|
<button class="btn" id="logout">Logout</button>
|
|
|
|
|
</div>
|
2013-02-16 05:02:42 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div id="loggedin" class="span6" style="display: none;">
|
|
|
|
|
<h3 id="welcome"></h3>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-04-19 19:04:51 +00:00
|
|
|
|
<div class="row" id="motdrow">
|
2013-04-01 21:02:09 +00:00
|
|
|
|
<div class="span10 offset1 well">
|
|
|
|
|
<p id="motd"></p>
|
|
|
|
|
</div>
|
2013-04-04 19:56:43 +00:00
|
|
|
|
<div class="span12 drinkbar">
|
|
|
|
|
<h1 id="drinkcount"></h1>
|
|
|
|
|
</div>
|
2013-04-01 21:02:09 +00:00
|
|
|
|
</div>
|
2013-04-19 19:04:51 +00:00
|
|
|
|
<div class="row" id="main" style="margin-top: 20px;">
|
2013-03-31 22:30:46 +00:00
|
|
|
|
<div class="span5" id="chatdiv">
|
2013-03-07 01:38:16 +00:00
|
|
|
|
<p id="usercount"></p>
|
2013-02-16 05:02:42 +00:00
|
|
|
|
<div id="userlist">
|
|
|
|
|
</div>
|
|
|
|
|
<div id="messagebuffer">
|
|
|
|
|
</div>
|
2013-04-06 21:02:20 +00:00
|
|
|
|
<input type="text" id="chatline" class="span5">
|
2013-02-16 05:02:42 +00:00
|
|
|
|
</div>
|
2013-03-31 22:30:46 +00:00
|
|
|
|
<div class="span7" id="videodiv">
|
2013-03-16 20:13:40 +00:00
|
|
|
|
<p id="currenttitle">Currently Playing: </p>
|
2013-02-16 05:02:42 +00:00
|
|
|
|
<div id="ytapiplayer">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-04-19 19:04:51 +00:00
|
|
|
|
<div class="row" id="pollrow" style="margin-top: 50px;">
|
2013-03-16 21:49:58 +00:00
|
|
|
|
<div class="span6" id="pollcontainer">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-04-19 19:04:51 +00:00
|
|
|
|
<div class="row" id="queuerow" style="margin-top: 50px;">
|
2013-03-31 22:30:46 +00:00
|
|
|
|
<div class="span6" id="queuediv">
|
2013-04-06 21:02:20 +00:00
|
|
|
|
<div id="playlist_controls" class="input-append" style="display: none;">
|
2013-02-16 05:02:42 +00:00
|
|
|
|
<input type="text" id="mediaurl" style="margin:auto;">
|
2013-04-06 21:02:20 +00:00
|
|
|
|
<button class="btn" id="queue_next">Queue Next</button>
|
|
|
|
|
<button class="btn" id="queue_end">Queue @ End</button>
|
2013-02-16 05:02:42 +00:00
|
|
|
|
</div>
|
2013-04-02 19:07:22 +00:00
|
|
|
|
<button class="btn btn-danger" id="voteskip">Voteskip</button>
|
2013-02-16 05:02:42 +00:00
|
|
|
|
<ul id="queue" class="videolist">
|
|
|
|
|
</ul>
|
2013-03-16 20:39:58 +00:00
|
|
|
|
<button class="btn btn-danger" id="qlockbtn" style="width: 100%; display:none;">Unlock Queue</button>
|
2013-04-22 20:37:42 +00:00
|
|
|
|
<div class="btn-group" style="width: 100%;">
|
|
|
|
|
<button class="btn" id="getplaylist" style="width: 34%">Get Playlist URLs</button>
|
|
|
|
|
<button class="btn" id="clearplaylist" style="width: 33%">Clear Playlist</button>
|
|
|
|
|
<button class="btn" id="shuffleplaylist" style="width: 33%">Shuffle Playlist</button>
|
|
|
|
|
</div>
|
2013-02-16 05:02:42 +00:00
|
|
|
|
</div>
|
2013-03-31 22:30:46 +00:00
|
|
|
|
<div class="span6" id="librarydiv">
|
2013-04-06 21:02:20 +00:00
|
|
|
|
<div class="input-append">
|
|
|
|
|
<input type="text" id="library_query" style="margin:auto;">
|
2013-04-04 16:39:43 +00:00
|
|
|
|
<button class="btn" id="library_search">Search Library</button>
|
|
|
|
|
<button class="btn" id="youtube_search">Search YouTube</button>
|
|
|
|
|
</div>
|
2013-02-16 05:02:42 +00:00
|
|
|
|
<ul id="library" class="videolist">
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-03-24 03:45:10 +00:00
|
|
|
|
<div class="row" style="display: none;" id="modnav">
|
2013-03-31 22:30:46 +00:00
|
|
|
|
<div class="span10 offset1" id="modtabs">
|
2013-03-24 03:45:10 +00:00
|
|
|
|
<ul class="nav nav-tabs">
|
|
|
|
|
<li class="active">
|
|
|
|
|
<a href="javascript:void(0)" id="show_chancontrols">Channel Controls</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="javascript:void(0)" id="show_banlist">Ban List</a>
|
|
|
|
|
</li>
|
2013-04-01 21:02:09 +00:00
|
|
|
|
<li>
|
|
|
|
|
<a href="javascript:void(0)" id="show_motdeditor">MOTD</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="javascript:void(0)" id="show_filtereditor">Chat Filters</a>
|
|
|
|
|
</li>
|
2013-04-22 18:28:40 +00:00
|
|
|
|
<li>
|
|
|
|
|
<a href="javascript:void(0)" id="show_acl">Channel Ranks</a>
|
|
|
|
|
</li>
|
2013-03-24 03:45:10 +00:00
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-04-01 21:02:09 +00:00
|
|
|
|
<div class="row modonly" style="display: none" id="chancontrols">
|
2013-03-24 03:45:10 +00:00
|
|
|
|
<div class="span10 offset1">
|
2013-03-22 20:04:04 +00:00
|
|
|
|
<form action="javascript:void(0)">
|
|
|
|
|
<fieldset>
|
|
|
|
|
<div class="span4">
|
|
|
|
|
<label>When the queue is open:</label>
|
|
|
|
|
<label class="checkbox">
|
|
|
|
|
<input type="checkbox" id="opt_qopen_allow_qnext">
|
|
|
|
|
Allow anyone to Queue Next
|
|
|
|
|
</label>
|
|
|
|
|
<label class="checkbox">
|
|
|
|
|
<input type="checkbox" id="opt_qopen_allow_move">
|
|
|
|
|
Allow anyone to move videos
|
|
|
|
|
</label>
|
|
|
|
|
<label class="checkbox">
|
|
|
|
|
<input type="checkbox" id="opt_qopen_allow_delete">
|
|
|
|
|
Allow anyone to delete videos
|
|
|
|
|
</label>
|
|
|
|
|
<label class="checkbox">
|
|
|
|
|
<input type="checkbox" id="opt_qopen_allow_playnext">
|
2013-04-04 16:39:43 +00:00
|
|
|
|
Allow anyone to jump to a video
|
2013-03-22 20:04:04 +00:00
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="span5">
|
|
|
|
|
<label>Page Title
|
|
|
|
|
<input type="text" id="opt_pagetitle" placeholder="Sync" class="pull-right">
|
|
|
|
|
</label>
|
|
|
|
|
<br>
|
2013-04-16 16:11:10 +00:00
|
|
|
|
<label>Custom CSS
|
2013-03-23 22:15:19 +00:00
|
|
|
|
<input type="text" id="opt_customcss" class="pull-right">
|
2013-03-22 20:04:04 +00:00
|
|
|
|
</label>
|
2013-04-16 16:11:10 +00:00
|
|
|
|
<br>
|
|
|
|
|
<label>Custom JS<sup class="text-warning">BETA</sup>
|
|
|
|
|
<input type="text" id="opt_customjs" class="pull-right">
|
|
|
|
|
</label>
|
|
|
|
|
<br>
|
2013-04-02 19:07:22 +00:00
|
|
|
|
<label class="checkbox">
|
|
|
|
|
<input type="checkbox" id="opt_allow_voteskip">
|
|
|
|
|
Allow voteskip
|
|
|
|
|
</label>
|
2013-04-21 01:17:38 +00:00
|
|
|
|
<br>
|
|
|
|
|
<label>Voteskip Ratio
|
|
|
|
|
<input type="text" id="opt_voteskip_ratio" class="pull-right">
|
|
|
|
|
</label>
|
2013-04-23 19:17:42 +00:00
|
|
|
|
<br>
|
|
|
|
|
<label class="checkbox">
|
|
|
|
|
<input type="checkbox" id="opt_chat_antiflood">
|
|
|
|
|
Prevent chat flood
|
|
|
|
|
</label>
|
2013-03-22 20:04:04 +00:00
|
|
|
|
</div>
|
2013-04-16 16:11:10 +00:00
|
|
|
|
|
2013-03-22 20:04:04 +00:00
|
|
|
|
<div class="span10">
|
|
|
|
|
<button class="btn btn-primary" id="opt_submit">Save</button>
|
|
|
|
|
</div>
|
|
|
|
|
</fieldset>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-04-01 21:02:09 +00:00
|
|
|
|
<div class="row modonly" id="banlist" style="display: none;">
|
2013-03-24 03:45:10 +00:00
|
|
|
|
<div class="span10 offset1">
|
|
|
|
|
<table class="table table-striped">
|
|
|
|
|
<thead>
|
|
|
|
|
<th></th>
|
|
|
|
|
<th>IP</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Banned By</th>
|
|
|
|
|
</thead>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-04-01 21:02:09 +00:00
|
|
|
|
<div class="row modonly" id="motdeditor" style="display: none;">
|
|
|
|
|
<div class="span10 offset1">
|
|
|
|
|
<textarea rows="10" id="motdtext"></textarea>
|
|
|
|
|
<button class="btn btn-primary" id="updatemotd">Update</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row modonly" id="filtereditor" style="display: none;">
|
|
|
|
|
<div class="span10 offset1">
|
|
|
|
|
<table class="table table-striped">
|
|
|
|
|
<thead>
|
|
|
|
|
<th></th>
|
|
|
|
|
<th>Regex</th>
|
|
|
|
|
<th>Replacement</th>
|
|
|
|
|
<th>Active</th>
|
|
|
|
|
</thead>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-04-22 18:28:40 +00:00
|
|
|
|
<div class="row modonly" id="channelranks" style="display: none;">
|
|
|
|
|
<div class="span10 offset1">
|
|
|
|
|
<table class="table table-striped">
|
|
|
|
|
<thead>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Rank</th>
|
|
|
|
|
<th>Control</th>
|
|
|
|
|
</thead>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-04-19 19:04:51 +00:00
|
|
|
|
<div class="row" id="layout_buttons">
|
2013-03-31 22:30:46 +00:00
|
|
|
|
<div class="span4 offset3">
|
|
|
|
|
<div class="btn-group" style="width: 100%">
|
|
|
|
|
<button id="largelayout" class="btn">Large Layout</button>
|
|
|
|
|
<button id="hugelayout" class="btn">Huge Layout</button>
|
|
|
|
|
<button id="narrowlayout" class="btn">Narrow Layout</button>
|
|
|
|
|
<button id="stlayout" class="btn">Synchtube Layout</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-02-16 05:02:42 +00:00
|
|
|
|
</div> <!-- /container -->
|
2013-04-16 16:11:10 +00:00
|
|
|
|
<div id="userOpts" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="userOptsLbl" aria-hidden="true" data-backdrop="false">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
|
|
<h3>Options</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<form action="javascript:void(0);">
|
|
|
|
|
<fieldset>
|
|
|
|
|
<label>Layout</label>
|
|
|
|
|
<select id="uopt_layout">
|
|
|
|
|
<option value="default">Default</option>
|
|
|
|
|
<option value="large">Large</option>
|
|
|
|
|
<option value="huge">Huge</option>
|
|
|
|
|
<option value="narrow">Narrow</option>
|
|
|
|
|
<option value="synchtube">Synchtube</option>
|
|
|
|
|
</select>
|
|
|
|
|
<label class="checkbox">
|
|
|
|
|
<input type="checkbox" id="uopt_playlist_follow">
|
|
|
|
|
Playlist follows current video
|
|
|
|
|
</label>
|
|
|
|
|
</fieldset>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button class="btn btn-primary" data-dismiss="modal" aria-hidden="true">Save</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-02-16 05:02:42 +00:00
|
|
|
|
|
2013-04-16 16:11:10 +00:00
|
|
|
|
<!-- APIs -->
|
2013-03-23 18:17:39 +00:00
|
|
|
|
<script src="http://api.dmcdn.net/all.js"></script>
|
2013-03-25 18:54:18 +00:00
|
|
|
|
<script src="./assets/js/sc.js"></script>
|
2013-02-16 05:02:42 +00:00
|
|
|
|
<script src="./assets/js/froogaloop.min.js"></script>
|
2013-04-16 16:11:10 +00:00
|
|
|
|
<script src="./assets/js/swf.js"></script>
|
|
|
|
|
<!-- Third party -->
|
2013-02-16 05:02:42 +00:00
|
|
|
|
<script src="./assets/js/jquery.js"></script>
|
2013-04-16 16:11:10 +00:00
|
|
|
|
<script src="./assets/js/bootstrap.js"></script>
|
|
|
|
|
<script src="./assets/js/bootstrap-transition.js"></script>
|
|
|
|
|
<script src="./assets/js/bootstrap-modal.js"></script>
|
2013-02-16 05:02:42 +00:00
|
|
|
|
<script src="./socket.io/socket.io.js"></script>
|
2013-04-16 16:11:10 +00:00
|
|
|
|
<!-- My Javascript -->
|
2013-02-16 05:02:42 +00:00
|
|
|
|
<script src="./assets/js/functions.js"></script>
|
|
|
|
|
<script src="./assets/js/callbacks.js"></script>
|
2013-03-06 22:02:40 +00:00
|
|
|
|
<script src="./assets/js/iourl.js"></script>
|
2013-04-03 20:18:35 +00:00
|
|
|
|
<script src="./assets/js/media.js"></script>
|
2013-02-16 05:02:42 +00:00
|
|
|
|
<script src="./assets/js/client.js"></script>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|