1
0
mirror of https://github.com/balkian/go5ears.git synced 2024-12-23 01:38:15 +00:00
go5ears/public/index.html

85 lines
6.0 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" />
2013-01-24 20:40:42 +00:00
<link type="text/css" href="css/ui-darkness/jquery-ui-1.10.0.custom.css" rel="stylesheet">
2012-10-07 12:35:56 +00:00
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
2013-01-24 20:40:42 +00:00
<script type="text/javascript" src="js/jquery-ui-1.10.0.custom.min.js"></script>
2012-10-07 12:35:56 +00:00
<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">
<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>
2013-01-24 20:40:42 +00:00
</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">
2012-10-07 12:35:56 +00:00
<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" data-bind="click: downloadSong"></span>
2012-10-08 01:09:30 +00:00
</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-13 14:51:17 +00:00
<button data-bind="click: searchMore, visible: currentPage() > 0 && hasMoreSearch()">Show more</button>
2012-10-07 12:35:56 +00:00
</div>
</div>
</div>
</body>
2012-10-04 20:34:45 +00:00
</html>