sync/www/channel.html

279 lines
13 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CyTube</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2013-06-11 15:29:21 +00:00
<meta name="description" content="A free, open source synchtube replacement">
<meta name="author" content="Calvin 'calzoneman' Montgomery">
<link href="./assets/css/bootstrap.css" rel="stylesheet">
2013-06-11 15:29:21 +00:00
<link href="./assets/css/bootstrap-responsive.css" rel="stylesheet">
2013-05-03 02:56:31 +00:00
<link href="./assets/css/ytsync.css" rel="stylesheet" id="defaultcss">
2013-09-09 22:16:41 +00:00
<link href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" rel="stylesheet">
<style>
body {
2013-06-11 15:29:21 +00:00
padding-top: 60px;
}
2013-10-29 02:49:22 +00:00
@media (max-width: 979px) {
body {
padding-top: 0!important;
}
}
</style>
</head>
<body>
<div class="wrapper">
2013-06-11 15:29:21 +00:00
<!-- begin navbar -->
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="index.html">CyTube</a>
<ul class="nav">
<li class="active"><a href="index.html">Home</a></li>
2013-06-19 21:54:27 +00:00
<li><a href="https://github.com/calzoneman/sync/wiki/Beginner%27s-Guide-and-FAQ" target="_blank">Help</a></li>
<li><a href="account.html" target="_blank">Account</a></li>
<li><a href="javascript:void(0)" id="optlink">Options</a></li>
2013-06-11 23:51:00 +00:00
<li><a href="javascript:void(0)" id="chatonly">Chat Only</a></li>
</ul>
<div class="navbar-form pull-right" id="loginform">
2013-06-11 15:29:21 +00:00
<input type="text" id="guestname" placeholder="Name">
<button class="btn" id="guestlogin">Guest Login</button>
<button class="btn" id="login">Login/Register</button>
</div>
<div class="navbar-form pull-right" id="logoutform" style="display: none;">
2013-06-11 15:29:21 +00:00
<span id="welcome"></span>
<button class="btn" id="logout">Logout</button>
</div>
</div>
</div>
</div>
2013-06-11 15:29:21 +00:00
<!-- end navbar -->
<!-- begin main page -->
<div class="container" id="mainpage">
<!-- top row (MOTD, drink count) -->
<div class="row-fluid" id="toprow">
2013-10-03 03:26:28 +00:00
<div class="well" id="motdwrap">
2013-11-14 04:36:43 +00:00
<button class="close pull-right" id="togglemotd"><i class="icon-minus" title="Show/Hide MOTD"></i></button>
<button class="close pull-right" id="editmotd" style="display: none"><i class="icon-file" title="Edit MOTD"></i></button>
2013-10-03 03:26:28 +00:00
<div id="motd"></div>
2013-06-11 15:29:21 +00:00
</div>
2013-10-03 03:26:28 +00:00
<div id="drinkbar">
2013-06-11 15:29:21 +00:00
<h1 id="drinkcount"></h1>
</div>
</div>
2013-06-11 15:29:21 +00:00
<!-- announcement area -->
<div class="row-fluid" id="announcements">
</div>
2013-06-11 15:29:21 +00:00
<!-- main row -->
<div class="row" id="main">
2013-06-23 14:30:28 +00:00
<div class="span12" id="main-outer">
<div class="row" id="main-inner">
<!-- chat container -->
<div class="span5" id="chatwrap">
<!-- user count -->
<div id="usercountwrap">
<i class="icon-chevron-up pull-left pointer" id="userlisttoggle" title="Show/Hide Userlist"></i>
<span id="usercount" class="pointer">Not connected</span>
<span id="adminflair" class="pull-right label label-default pointer" style="display: none">A</span>
<span id="modflair" class="pull-right label label-default pointer" style="display: none">M</span>
</div>
2013-06-23 14:30:28 +00:00
<!-- userlist -->
<div id="userlist">
</div>
2013-06-23 14:30:28 +00:00
<!-- message buffer -->
<div id="messagebuffer">
</div>
2013-06-23 14:30:28 +00:00
<!-- chat input -->
<input type="text" id="chatline" maxlength="240" class="span5">
2013-06-11 15:29:21 +00:00
</div>
2013-06-23 14:30:28 +00:00
<!-- video container -->
<div class="span7" id="videowrap">
<!-- current video display -->
<p id="currenttitle">Nothing playing</p>
<!-- video frame -->
<div id="ytapiplayer">
</div>
2013-06-15 21:45:07 +00:00
</div>
</div>
2013-06-11 15:29:21 +00:00
</div>
2013-06-23 14:30:28 +00:00
</div>
<!-- playlist row -->
<div class="row" id="playlistrow">
<div class="span12" id="playlist-outer">
<div class="row" id="playlist-inner">
<!-- left pane - Library + user playlists -->
<div class="span5" id="leftpane-outer">
<div class="row-fluid" id="leftpane-inner">
<!-- new poll controls -->
<div class="span12" id="pollbtnwrap">
2013-06-23 18:21:21 +00:00
<button class="btn btn-small" id="newpollbtn">New Poll</button>
2013-06-23 14:30:28 +00:00
</div>
<!-- poll container -->
<div class="span12" id="pollwrap">
</div>
<!-- library search -->
<div class="well well-small span12 row-fluid">
<div class="span12 pointer" id="librarytoggle">
<i class="icon-plus pull-left"></i>
<p>Show Library/YouTube Search</p>
2013-06-23 14:30:28 +00:00
</div>
<div id="librarywrap">
<div class="span7" id="querywrap">
<input type="text" id="library_query" class="input-block-level" placeholder="Search Query">
</div>
<div class="span5 btn-group" id="searchbtns">
<button class="btn" id="library_search">Library</button>
<button class="btn" id="youtube_search">YouTube</button>
</div>
<ul class="span12 videolist" id="library">
</ul>
</div>
</div>
<!-- user playlists -->
<div class="well well-small span12 row-fluid" id="userpltogglewrap">
<div class="span12 pointer" id="userpltoggle">
<i class="icon-plus pull-left"></i>
<p>Show Playlist Manager</p>
</div>
<div id="userplaylistwrap">
<div class="span7">
<input type="text" id="userpl_name" class="input-block-level" placeholder="Playlist Name">
</div>
<div class="span5">
<button class="btn btn-block" id="userpl_save">Save Playlist</button>
</div>
<ul class="span12" id="userpl_list">
</ul>
</div>
</div>
2013-06-11 15:29:21 +00:00
</div>
</div>
2013-06-23 14:30:28 +00:00
<!-- right pane - channel playlist -->
<div class="span7" id="rightpane-outer">
<div class="row-fluid" id="rightpane-inner">
<!-- account for left pane having the poll buffer -->
2013-06-23 18:21:21 +00:00
<div class="span12" id="qualitywrap">
<div class="btn-group">
<a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="javascript:void(0)">
Quality <span class="caret"></span>
</a>
<ul class="dropdown-menu">
2013-08-15 04:26:50 +00:00
<li><a id="quality_auto" href="javascript:void(0)">Quality: Auto</a></li>
2013-06-23 18:21:21 +00:00
<li><a id="quality_240p" href="javascript:void(0)">240p</a></li>
<li><a id="quality_360p" href="javascript:void(0)">360p</a></li>
<li><a id="quality_480p" href="javascript:void(0)">480p</a></li>
<li><a id="quality_720p" href="javascript:void(0)">720p</a></li>
<li><a id="quality_1080p" href="javascript:void(0)">1080p</a></li>
</ul>
</div>
2013-06-30 19:56:41 +00:00
<button class="btn btn-small" id="mediarefresh">Refresh Media</button>
2013-06-23 18:21:21 +00:00
</div>
2013-06-23 14:30:28 +00:00
<!-- electric boogaloo -->
<div class="span12" id="queue_align2"></div>
<!-- playlist controls -->
<div class="well well-small span12 row-fluid" id="playlisttogglewrap">
<div class="span12 pointer" id="playlisttoggle">
<i class="icon-plus pull-left"></i>
<p>Show Playlist Controls</p>
</div>
<div id="playlist_controls">
<div class="span8">
<input type="text" id="mediaurl" class="input-block-level" placeholder="Media URL">
</div>
<div class="span4 btn-group">
<button class="btn" id="queue_next">Next</button>
<button class="btn" id="queue_end">End</button>
</div>
2013-08-06 04:03:20 +00:00
<div class="span12">
<button id="customembed_btn" class="btn btn-block" style="display: none">Custom Embed</button>
<div id="customembed_entry" style="display: none;">
Paste the embed code below and hit Next or End. Acceptable embed codes are <code>&lt;iframe&gt;</code> and <code>&lt;object&gt;</code> tags.
<textarea rows="3" class="input-block-level" id="customembed_code"></textarea>
<input type="text" class="input-block-level" id="customembed_title" placeholder="(Optional) Title">
2013-08-06 04:03:20 +00:00
</div>
<br>
2013-08-03 19:10:06 +00:00
</div>
2013-06-23 14:30:28 +00:00
<div id="extended_controls" class="span12">
<button class="btn btn-block" id="clearplaylist">Clear Playlist</button>
<button class="btn btn-block" id="shuffleplaylist">Shuffle Playlist</button>
</div>
</div>
</div>
<div class="btn-group span12">
2013-08-07 20:26:20 +00:00
<button class="btn" style="width: 46%" id="voteskip">Voteskip</button>
<button class="btn" style="width: 46%" id="getplaylist">Get Playlist URLs</button>
<button class="btn btn-danger" style="width: 8%" id="qlockbtn" title="Playlist Locked">
<i class="icon-lock"></i>
</button>
</div>
<!-- queuefail area -->
<div id="queuefail" class="span12">
2013-06-23 14:30:28 +00:00
</div>
<!-- video queue -->
<ul class="span12 videolist" id="queue">
</ul>
<div class="span12" id="plmeta">
<span id="plcount">0 items</span>
<span id="pllength">00:00:00</span>
</div>
</div>
2013-06-11 15:29:21 +00:00
</div>
</div>
2013-06-11 15:29:21 +00:00
</div>
2013-06-12 17:07:58 +00:00
<!-- moderator controls -->
2013-06-15 21:45:07 +00:00
<!-- there has got to be a better way to nest this -->
<div class="span12" id="channelsettingswrap3">
<div class="well" id="channelsettingswrap2">
<div class="row-fluid" id="channelsettingswrap">
</div>
</div>
2013-06-12 17:07:58 +00:00
</div>
</div>
<div class="row" id="resizewrap">
<div class="span5"></div>
<div class="span7" id="videowidth"></div>
</div>
2013-08-07 15:39:06 +00:00
</div>
</div>
2013-06-11 15:29:21 +00:00
</div>
<div class="push"></div>
<div id="sitefooter">
</div>
2013-06-11 15:29:21 +00:00
</div>
<div id="footer">
<p class="muted">
2013-09-09 22:16:41 +00:00
CyTube Software Copyright &copy; 2013 Calvin Montgomery&nbsp;&middot;&nbsp;Available for free on <a href="https://github.com/calzoneman/sync">GitHub</a>&nbsp;&middot;
2013-06-11 15:29:21 +00:00
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=5Y7PUVVGVSEWG&lc=US&item_name=CyTube&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted">Donate</a>
</p>
2013-06-11 15:29:21 +00:00
</div>
2013-06-11 15:29:21 +00:00
<script src="./assets/js/jquery.js"></script>
2013-09-09 22:16:41 +00:00
<script src="//code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
2013-06-11 15:29:21 +00:00
<!-- My Javascript -->
<script src="./assets/js/data.js"></script>
<script src="./assets/js/iourl.js"></script>
<script src="./assets/js/player.js"></script>
2013-06-19 21:54:27 +00:00
<script src="./assets/js/notwebsocket.js"></script>
2013-07-31 14:57:59 +00:00
<script src="./assets/js/paginator.js"></script>
2013-06-11 15:29:21 +00:00
<script src="./assets/js/util.js"></script>
<script src="./assets/js/ui.js"></script>
<script src="./assets/js/callbacks.js"></script>
<!-- APIs -->
<script defer src="https://www.youtube.com/iframe_api"></script>
2013-09-09 22:16:41 +00:00
<script defer src="//api.dmcdn.net/all.js"></script>
2013-09-10 21:34:39 +00:00
<script defer src="./assets/js/jwplayer.js"></script>
<script defer src="./assets/js/sc.js"></script>
<script defer src="./assets/js/froogaloop.min.js"></script>
<script defer src="./assets/js/swf.js"></script>
2013-06-11 15:29:21 +00:00
<!-- Third party -->
<script src="./assets/js/bootstrap.js"></script>
<script src="./assets/js/bootstrap-transition.js"></script>
<script src="./assets/js/bootstrap-modal.js"></script>
</body>
</html>