themes/iphone/playlist.tpl
changeset 40 bd3372a2afc1
parent 25 5c377ceb0e4c
child 44 92dd253f501c
equal deleted inserted replaced
39:38dbcda3cf20 40:bd3372a2afc1
    65       <table border="0" cellspacing="1" cellpadding="4" style="width: 100%;">
    65       <table border="0" cellspacing="1" cellpadding="4" style="width: 100%;">
    66         <tr>
    66         <tr>
    67           <th>Track</th>
    67           <th>Track</th>
    68         </tr>
    68         </tr>
    69         {foreach key=tid item=track from=$playlist}
    69         {foreach key=tid item=track from=$playlist}
    70         {strip}
    70         {* strip *}
    71         <tr class="{cycle values="row1,row2"}{if $active == $tid} current{/if}" id="track_{$tid}" amarok:length_sec="{$track.length_int}">
    71         <tr class="{cycle values="row1,row2"}{if $active == $tid} current{/if}" id="track_{$tid}" amarok:length_sec="{$track.length_int}">
    72           <td>
    72           <td>
    73             <a class="tracklink" href="#action:jump;tid:{$tid}" onclick="expand_track({$tid}); return false;">
    73             <a class="tracklink" href="#action:jump;tid:{$tid}" onclick="expand_track({$tid}); return false;">
    74               {$track.title|escape}
    74               {$track.title|escape}
    75             </a>
    75             </a>
    76             <div id="track_inner_{$tid}" class="track_inner">
    76             <div id="track_inner_{$tid}" class="track_inner">
    77               <div style="float: left; margin-right: 5px;">
    77               <div style="float: left; margin-right: 5px;">
    78                 <img alt=" " src="/artwork?artist={$track.artist|urlencode}&album={$track.album|urlencode}" />
    78                 {sprite artist=$track.artist album=$track.album size=50}
    79               </div>
    79               </div>
    80               <small>
    80               <small>
    81               <b>Artist:</b> {$track.artist|escape}<br />
    81               <b>Artist:</b> {$track.artist|escape}<br />
    82               <b>Album:</b> {$track.album|escape}<br />
    82               <b>Album:</b> {$track.album|escape}<br />
    83               <b>Length:</b> {$track.length|escape}<br />
    83               <b>Length:</b> {$track.length|escape}<br />
    84               </small>
    84               </small>
    85               <a class="tracklink" href="#action:jump;tid:{$tid}" onclick="jump_to_song({$tid}); return false;">&raquo; Play track</a>
    85               <a class="tracklink" href="#action:jump;tid:{$tid}" onclick="jump_to_song({$tid}); return false;">&raquo; Play track</a>
    86             </div>
    86             </div>
    87           </td>
    87           </td>
    88         </tr>
    88         </tr>
    89         {/strip}
    89         {* /strip *}
    90         {/foreach}
    90         {/foreach}
    91       </table>
    91       </table>
    92     </div>
    92     </div>
    93     <div id="footer">
    93     <div id="footer">
    94       <img alt="AmaroK web control" src="/themes/{$theme|escape}/images/amarok.gif" /><br />
    94       <img alt="AmaroK web control" src="/themes/{$theme|escape}/images/amarok.gif" /><br />