1
0
mirror of https://github.com/balkian/go5ears.git synced 2024-12-22 17:38:11 +00:00
go5ears/public/index.html

86 lines
5.9 KiB
HTML
Raw Normal View History

2012-10-07 12:17:15 +00:00
<!DOCTYPE html>
2012-10-04 20:34:45 +00:00
<html>
2012-10-07 12:35:56 +00:00
<head>
<link rel='stylesheet' media='screen' href="css/main.css" />
<link type="text/css" href="css/ui-darkness/jquery-ui-1.8.24.custom.css" rel="stylesheet">
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.24.custom.min.js"></script>
<script type='text/javascript' src='js/knockout-2.1.0.js'></script>
2012-10-08 01:09:30 +00:00
<script type='text/javascript' src='https://github.com/downloads/rniemeyer/knockout-sortable/knockout-sortable.js'></script>
2012-10-07 12:35:56 +00:00
<script type='text/javascript' src='js/app.js'></script>
2012-10-11 20:49:31 +00:00
<title>Go5Ears, listen in html5!</title>
2012-10-04 20:34:45 +00:00
</head>
2012-10-07 12:35:56 +00:00
<body>
2012-10-08 06:26:37 +00:00
<div id="spider"><div><img id="spiderlogo" src="img/spider.png"/></div>BETA</div>
<img src="img/skull.png" id="skull"/>
2012-10-07 12:35:56 +00:00
<div id="headerPage">
2012-10-08 04:16:44 +00:00
<audio id="audio" controls="controls" preload="auto" tabindex="0" type="audio/mpeg">No funciona el tag html5</audio>
2012-10-08 06:26:37 +00:00
<div class="controls">
<ul>
<li data-bind="click: playPrevious"><img class="control-button" src="img/left.png"></li>
<li data-bind="click: stop"><img class="control-button" src="img/stop.png"></li>
<li data-bind="click: resume, visible: (! isPlaying())"><img class="control-button" src="img/play.png"></li>
<li data-bind="click: pause,visible: isPlaying"><img class="control-button" src="img/pause.png"></li>
<li data-bind="click: playNext"><img class="control-button" src="img/right.png"></li>
</ul>
<ul>
<li><input type="checkbox" data-bind="checked: shuffle" /> Shuffle</li>
<li><input type="checkbox" data-bind="checked: repeatAll" /> RepeatAll</li>
<li><input type="checkbox" data-bind="checked: repeat" /> RepeatOne</li>
</ul>
2012-10-11 20:49:31 +00:00
<ul>
<li><button id="clearPlaylist">Clear!</button></li>
<li><button id="savePlaylist">Save</button></li>
<li><input class="hidden" type="file" id="file" name="file"/><button id="fileSelector">Load</button></li>
</ul>
2012-10-08 04:16:44 +00:00
</div>
</div>
<div id="wrapper">
2012-10-07 12:35:56 +00:00
<div id="accordion" class="ui-accordion ui-widget ui-helper-reset ui-accordion-icons">
<h3 class="ui-accordion-header ui-helper-reset ui-state-active ui-corner-top" role="tab" aria-expanded="true" aria-selected="true" tabindex="0">
<span class="ui-icon ui-icon-triangle-1-s"></span>
<a href="#" tabindex="0">Listen</a>
</h3>
<div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content-active" style="height: 14px; display: block; overflow: auto; padding-top: 11px; padding-bottom: 11px; " role="tabpanel">
2012-10-08 01:09:30 +00:00
<ul id="playlist" class="sortable" data-bind="sortable: playlist">
<li class="ui-state-default" data-bind="sortableItem: { item: $data, parentList: playlist }">
<div class="list-controls">
2012-10-08 04:16:44 +00:00
<span class="ui-icon ui-icon-play" data-bind="click: $root.playSong, visible: ! isPlaying()">Play</span>
<span class="ui-icon ui-icon-pause" data-bind="click: $root.pauseSong, visible: isPlaying()">Play</span>
2012-10-08 01:09:30 +00:00
<span class="ui-icon ui-icon-circle-plus" data-bind="click: $root.addSong">Add</span>
2012-10-12 20:38:58 +00:00
<span class="ui-icon ui-icon-arrowthickstop-1-s" data-bind="click: downloadSong"></span>
2012-10-08 01:09:30 +00:00
</div>
2012-10-08 04:16:44 +00:00
<span class="list-name" data-bind="text: formattedName()">
2012-10-08 01:09:30 +00:00
Name - Title
2012-10-08 04:16:44 +00:00
</span>
<span class="deletesong ui-icon ui-icon-trash" data-bind="click: $root.removeSong">Remove</span>
2012-10-08 01:09:30 +00:00
</li>
2012-10-07 12:35:56 +00:00
</ul>
</div> <h3 class="ui-accordion-header ui-helper-reset ui-state-active ui-corner-top" role="tab" aria-expanded="true" aria-selected="true" tabindex="0"><span class="ui-icon ui-icon-triangle-1-s"></span>
<a href="#" tabindex="-1">Search</a>
</h3>
<div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content-active" style="height: 14px; display: block; overflow: auto; padding-top: 11px; padding-bottom: 11px; " role="tabpanel">
2012-10-08 01:09:30 +00:00
<form method="POST" action="#" data-bind="submit: getResults">
Search GoEar: <input type="search" name="goearsearch" data-bind="value: queryString">
2012-10-07 12:35:56 +00:00
</form>
2012-10-08 04:16:44 +00:00
<ul id="searchResults" class="sortable" data-bind="foreach: results">
2012-10-08 01:09:30 +00:00
<li class="ui-state-default">
<div class="list-controls">
2012-10-08 04:16:44 +00:00
<span class="ui-icon ui-icon-play" data-bind="click: $root.playSong, visible: ! isPlaying()">Play</span>
<span class="ui-icon ui-icon-pause" data-bind="click: $root.pauseSong, visible: isPlaying()">Play</span>
2012-10-08 01:09:30 +00:00
<span class="ui-icon ui-icon-circle-plus" data-bind="click: $root.addSong">Add</span>
<span class="ui-icon ui-icon-arrowthickstop-1-s"></span>
</div>
2012-10-08 04:16:44 +00:00
<div class="list-name" data-bind="text: formattedName()">
2012-10-08 01:09:30 +00:00
Name - Title
</div>
</li>
2012-10-07 12:35:56 +00:00
</ul>
2012-10-08 01:09:30 +00:00
2012-10-07 12:35:56 +00:00
</div>
</div>
</div>
</body>
2012-10-04 20:34:45 +00:00
</html>