268 lines
12 KiB
HTML
268 lines
12 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>CyTube</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<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">
|
|
<link href="./assets/css/bootstrap-responsive.css" rel="stylesheet">
|
|
<link href="./assets/css/ytsync.css" rel="stylesheet" id="defaultcss">
|
|
<link href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" rel="stylesheet">
|
|
<style>
|
|
body {
|
|
padding-top: 60px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="wrapper">
|
|
<!-- 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>
|
|
<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>
|
|
<li><a href="javascript:void(0)" id="chatonly">Chat Only</a></li>
|
|
</ul>
|
|
<div class="navbar-form pull-right" id="loginform">
|
|
<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;">
|
|
<span id="welcome"></span>
|
|
<button class="btn" id="logout">Logout</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- end navbar -->
|
|
<!-- begin main page -->
|
|
<div class="container" id="mainpage">
|
|
<!-- top row (MOTD, drink count) -->
|
|
<div class="row-fluid" id="toprow">
|
|
<div class="well" id="motdwrap">
|
|
<button class="close pull-right" id="togglemotd"><i class="icon-minus"></i></button>
|
|
<div id="motd"></div>
|
|
</div>
|
|
<div id="drinkbar">
|
|
<h1 id="drinkcount"></h1>
|
|
</div>
|
|
</div>
|
|
<!-- announcement area -->
|
|
<div class="row-fluid" id="announcements">
|
|
</div>
|
|
<!-- main row -->
|
|
<div class="row" id="main">
|
|
<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>
|
|
<!-- userlist -->
|
|
<div id="userlist">
|
|
</div>
|
|
<!-- message buffer -->
|
|
<div id="messagebuffer">
|
|
</div>
|
|
<!-- chat input -->
|
|
<input type="text" id="chatline" maxlength="240" class="span5">
|
|
</div>
|
|
<!-- video container -->
|
|
<div class="span7" id="videowrap">
|
|
<!-- current video display -->
|
|
<p id="currenttitle">Nothing playing</p>
|
|
<!-- video frame -->
|
|
<div id="ytapiplayer">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</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">
|
|
<button class="btn btn-small" id="newpollbtn">New Poll</button>
|
|
</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>
|
|
</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>
|
|
</div>
|
|
</div>
|
|
<!-- 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 -->
|
|
<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">
|
|
<li><a id="quality_auto" href="javascript:void(0)">Quality: Auto</a></li>
|
|
<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>
|
|
<button class="btn btn-small" id="mediarefresh">Refresh Media</button>
|
|
</div>
|
|
<!-- 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>
|
|
<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><iframe></code> and <code><object></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">
|
|
</div>
|
|
<br>
|
|
</div>
|
|
<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">
|
|
<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>
|
|
<!-- 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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- moderator controls -->
|
|
<!-- 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>
|
|
</div>
|
|
</div>
|
|
<div class="row" id="resizewrap">
|
|
<div class="span5"></div>
|
|
<div class="span7" id="videowidth"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="push"></div>
|
|
<div id="sitefooter">
|
|
</div>
|
|
</div>
|
|
<div id="footer">
|
|
<p class="muted">
|
|
CyTube Software Copyright © 2013 Calvin Montgomery · Available for free on <a href="https://github.com/calzoneman/sync">GitHub</a> ·
|
|
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=5Y7PUVVGVSEWG&lc=US&item_name=CyTube¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted">Donate</a>
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<script src="./assets/js/jquery.js"></script>
|
|
<script src="//code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
|
|
<!-- My Javascript -->
|
|
<script src="./assets/js/data.js"></script>
|
|
<script src="./assets/js/iourl.js"></script>
|
|
<script src="./assets/js/player.js"></script>
|
|
<script src="./assets/js/notwebsocket.js"></script>
|
|
<script src="./assets/js/paginator.js"></script>
|
|
<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="//www.youtube.com/iframe_api"></script>
|
|
<script defer src="//api.dmcdn.net/all.js"></script>
|
|
<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>
|
|
<!-- 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>
|