153 lines
6.5 KiB
HTML
153 lines
6.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Sync</title>
|
|
<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">
|
|
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a class="brand" href="#">Sync</a>
|
|
<div class="nav-collapse collapse">
|
|
<ul class="nav">
|
|
<li class="active"><a href="#">Home</a></li>
|
|
<li><a href="help.html">Help</a></li>
|
|
</ul>
|
|
<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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
<div id="loggedin" class="span6" style="display: none;">
|
|
<h3 id="welcome"></h3>
|
|
</div>
|
|
</div>
|
|
<div class="row" style="margin-top: 20px;">
|
|
<div class="span5">
|
|
<p id="usercount"></p>
|
|
<div id="userlist">
|
|
</div>
|
|
<div id="messagebuffer">
|
|
</div>
|
|
<input type="text" id="chatline">
|
|
</div>
|
|
<div class="span7">
|
|
<p id="currenttitle">Currently Playing: </p>
|
|
<div id="ytapiplayer">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row" style="margin-top: 50px;">
|
|
<div class="span6" id="pollcontainer">
|
|
</div>
|
|
</div>
|
|
<div class="row" style="margin-top: 50px;">
|
|
<div class="span6">
|
|
<div id="playlist_controls" style="display: none;">
|
|
<input type="text" id="mediaurl" style="margin:auto;">
|
|
<div class="btn-group">
|
|
<button class="btn" id="queue_next">Queue Next</button>
|
|
<button class="btn" id="queue_end">Queue @ End</button>
|
|
</div>
|
|
<button class="btn btn-inverse" id="play_next">Play Next</button>
|
|
</div>
|
|
<ul id="queue" class="videolist">
|
|
</ul>
|
|
<button class="btn btn-danger" id="qlockbtn" style="width: 100%; display:none;">Unlock Queue</button>
|
|
</div>
|
|
<div class="span6">
|
|
<input type="text" id="library_query" style="margin:auto;">
|
|
<button class="btn" id="library_search">Search Library</button>
|
|
<ul id="library" class="videolist">
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="row" style="margin-top: 20px; display: none" id="chancontrols">
|
|
<div class="span10 offset1 well">
|
|
<form action="javascript:void(0)">
|
|
<fieldset>
|
|
<legend>Channel Options</legend>
|
|
<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">
|
|
Allow anyone to skip to next video
|
|
</label>
|
|
</div>
|
|
<div class="span5">
|
|
<label>Page Title
|
|
<input type="text" id="opt_pagetitle" placeholder="Sync" class="pull-right">
|
|
</label>
|
|
<br>
|
|
<label>Background Image<sup class="text-warning">BETA</sup>
|
|
<input type="text" id="opt_bgimage" class="pull-right">
|
|
</label>
|
|
</div>
|
|
|
|
<div class="span10">
|
|
<button class="btn btn-primary" id="opt_submit">Save</button>
|
|
</div>
|
|
</fieldset>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div> <!-- /container -->
|
|
|
|
<script src="https://w.soundcloud.com/player/api.js"></script>
|
|
<script src="http://api.dmcdn.net/all.js"></script>
|
|
<script src="./assets/js/froogaloop.min.js"></script>
|
|
<script src="./assets/js/jquery.js"></script>
|
|
<script src="./assets/js/webtoolkit.sha256.js" type="text/javascript"></script>
|
|
<script src="./socket.io/socket.io.js"></script>
|
|
<script src="./assets/js/functions.js"></script>
|
|
<script src="./assets/js/callbacks.js"></script>
|
|
<script src="./assets/js/iourl.js"></script>
|
|
<script src="./assets/js/client.js"></script>
|
|
<script src="./assets/js/swf.js"></script>
|
|
|
|
</body>
|
|
</html>
|