<!DOCTYPE html> <html> <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> <script type='text/javascript' src='https://github.com/downloads/rniemeyer/knockout-sortable/knockout-sortable.js'></script> <script type='text/javascript' src='js/app.js'></script> </head> <body> <div id="headerPage"> <div id="controls"> <input type="checkbox" data-bind="checked: shuffle" /> Shuffle <input type="checkbox" data-bind="checked: repeatAll" /> RepeatAll <input type="checkbox" data-bind="checked: repeat" /> RepeatOne <!-- <ul data-bind="foreach: playlist"> <li data-bind="text: title"></li> </ul>--> </div> <audio id="audio" controls="controls" preload="auto" tabindex="0" type="audio/mpeg">No funciona el tag html5</audio> <div> <a href="#" data-bind="click: playPrevious">Prev!</a> <a href="#" data-bind="click: playNext">Next!</a> </div> </div> <div id="wrapper"> <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"> <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"> <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> <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> <span class="list-name" data-bind="text: formattedName()"> Name - Title </span> <span class="deletesong ui-icon ui-icon-trash" data-bind="click: $root.removeSong">Remove</span> </li> </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"> <form method="POST" action="#" data-bind="submit: getResults"> Search GoEar: <input type="search" name="goearsearch" data-bind="value: queryString"> </form> <ul id="searchResults" class="sortable" data-bind="foreach: results"> <li class="ui-state-default"> <div class="list-controls"> <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> <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> <div class="list-name" data-bind="text: formattedName()"> Name - Title </div> </li> </ul> </div> </div> </div> </body> </html>