2013-11-04 18:18:38 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<meta name="description" content="">
|
|
|
|
<meta name="author" content="">
|
|
|
|
|
|
|
|
<title>ympd</title>
|
|
|
|
|
|
|
|
<!-- Bootstrap core CSS -->
|
|
|
|
<link href="css/bootstrap.css" rel="stylesheet">
|
|
|
|
|
|
|
|
<!-- Custom styles for this template -->
|
|
|
|
<link href="css/starter-template.css" rel="stylesheet">
|
2013-11-05 00:17:28 +01:00
|
|
|
<link href="css/slider.css" rel="stylesheet">
|
2013-11-04 18:18:38 +01:00
|
|
|
|
|
|
|
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
|
|
|
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
|
|
|
<![endif]-->
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
|
|
|
<div class="container">
|
|
|
|
<div class="navbar-header">
|
|
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
</button>
|
|
|
|
<a class="navbar-brand" href="#">ympd</a>
|
|
|
|
</div>
|
|
|
|
<div class="collapse navbar-collapse">
|
|
|
|
|
|
|
|
<ul class="nav navbar-nav">
|
|
|
|
<li class="active"><a href="#">Playlist</a></li>
|
|
|
|
<li><a href="#about">Browse</a></li>
|
|
|
|
<li><a href="#contact">About</a></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<form class="navbar-form navbar-right" role="search">
|
|
|
|
<div class="form-group">
|
|
|
|
<input type="text" class="form-control" placeholder="Search">
|
|
|
|
</div>
|
|
|
|
<button type="submit" class="btn btn-default">
|
2013-11-05 00:17:28 +01:00
|
|
|
<span class="glyphicon glyphicon-search"></span>
|
2013-11-04 18:18:38 +01:00
|
|
|
</button>
|
2013-11-05 00:17:28 +01:00
|
|
|
</form>
|
2013-11-04 18:18:38 +01:00
|
|
|
|
|
|
|
<div class="btn-toolbar navbar-btn navbar-right" role="toolbar">
|
|
|
|
<div class="btn-group">
|
|
|
|
<button type="button" class="btn btn-default">
|
2013-11-05 00:17:28 +01:00
|
|
|
<span class="glyphicon glyphicon-backward" onclick="socket.send('MPD_API_SET_NEXT')"></span>
|
2013-11-04 18:18:38 +01:00
|
|
|
</button>
|
2013-11-05 00:17:28 +01:00
|
|
|
<button type="button" class="btn btn-default" onclick="socket.send('MPD_API_SET_PAUSE')">
|
|
|
|
<span id="play-icon" class="glyphicon glyphicon-pause"></span>
|
2013-11-04 18:18:38 +01:00
|
|
|
</button>
|
2013-11-05 00:17:28 +01:00
|
|
|
<button type="button" class="btn btn-default" onclick="socket.send('MPD_API_SET_PREV')">
|
2013-11-04 18:18:38 +01:00
|
|
|
<span class="glyphicon glyphicon-forward"></span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="btn-group">
|
2013-11-05 00:17:28 +01:00
|
|
|
<button type="button" class="btn btn-toolbar btn-default">
|
|
|
|
<span id="volume-icon" class="glyphicon glyphicon-volume-up"></span>
|
|
|
|
<input type="text" class="span2" value="0" data-slider-min="0" data-slider-max="100" data-slider-step="5" id="volumeslider" data-slider-tooltip="hide">
|
2013-11-04 18:18:38 +01:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div><!--/.nav-collapse -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="progress progress-striped active">
|
2013-11-05 00:17:28 +01:00
|
|
|
<div id="progressbar" class="progress-bar" role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width: 45%">
|
2013-11-04 18:18:38 +01:00
|
|
|
<span class="sr-only">60% Complete</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
<div class="starter-template">
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<!-- Default panel contents -->
|
|
|
|
<div class="panel-heading">Playlist</div>
|
|
|
|
|
|
|
|
<!-- Table -->
|
2013-11-05 00:17:28 +01:00
|
|
|
<table id="salamisandwich" class="table">
|
2013-11-04 18:18:38 +01:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>#</th>
|
|
|
|
<th>Track</th>
|
2013-11-05 00:17:28 +01:00
|
|
|
<th>Title</th>
|
|
|
|
<th>Duration</th>
|
2013-11-04 18:18:38 +01:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div><!-- /.container -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Bootstrap core JavaScript
|
|
|
|
================================================== -->
|
|
|
|
<!-- Placed at the end of the document so the pages load faster -->
|
2013-11-05 00:17:28 +01:00
|
|
|
<script src="js/jquery-1.10.2.min.js"></script>
|
2013-11-04 18:18:38 +01:00
|
|
|
<script src="js/bootstrap.min.js"></script>
|
2013-11-05 00:17:28 +01:00
|
|
|
<script src="js/bootstrap-slider.js"></script>
|
2013-11-04 18:18:38 +01:00
|
|
|
<script src="js/mpd.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|