themes/iphone/playlist.tpl
changeset 5 9b96265b5918
parent 4 cde92f6ec29f
child 10 d3059e20b0fa
equal deleted inserted replaced
4:cde92f6ec29f 5:9b96265b5918
    24     </script>
    24     </script>
    25     {foreach from=$scripts item=script}
    25     {foreach from=$scripts item=script}
    26     <script type="text/javascript" src="/scripts/{$script}"></script>
    26     <script type="text/javascript" src="/scripts/{$script}"></script>
    27     {/foreach}
    27     {/foreach}
    28     <script type="text/javascript" src="/themes/{$theme|escape}/scrollfix.js"></script>
    28     <script type="text/javascript" src="/themes/{$theme|escape}/scrollfix.js"></script>
       
    29     <script type="text/javascript" src="/themes/{$theme|escape}/expand.js"></script>
    29   </head>
    30   </head>
    30   <body>
    31   <body>
    31     <div id="playbar">
    32     <div id="playbar">
    32       <div class="playbar-inner">
    33       <div class="playbar-inner">
    33         <img alt=" " id="ajax_status" style="display: none; position: absolute; top: 5px; right: 5px;" src="about:blank" />
    34         <img alt=" " id="ajax_status" style="display: none; position: absolute; top: 5px; right: 5px;" src="about:blank" />
    63         </tr>
    64         </tr>
    64         {foreach key=tid item=track from=$playlist}
    65         {foreach key=tid item=track from=$playlist}
    65         {strip}
    66         {strip}
    66         <tr class="{cycle values="row1,row2"}{if $active == $tid} current{/if}" id="track_{$tid}" amarok:length_sec="{$track.length_int}">
    67         <tr class="{cycle values="row1,row2"}{if $active == $tid} current{/if}" id="track_{$tid}" amarok:length_sec="{$track.length_int}">
    67           <td>
    68           <td>
    68             <a class="tracklink" href="#action:jump;tid:{$tid}" onclick="jump_to_song({$tid}); return false;">
    69             <a class="tracklink" href="#action:jump;tid:{$tid}" onclick="expand_track({$tid}); return false;">
    69               {$track.title|escape}
    70               {$track.title|escape}
    70             </a>
    71             </a>
       
    72             <div id="track_inner_{$tid}" class="track_inner">
       
    73               <small>
       
    74               <b>Artist:</b> {$track.artist|escape}<br />
       
    75               <b>Album:</b> {$track.album|escape}<br />
       
    76               <b>Length:</b> {$track.length|escape}<br />
       
    77               </small>
       
    78               <a class="tracklink" href="#action:jump;tid:{$tid}" onclick="jump_to_song({$tid}); return false;">&raquo; Play track</a>
       
    79             </div>
    71           </td>
    80           </td>
    72         </tr>
    81         </tr>
    73         {/strip}
    82         {/strip}
    74         {/foreach}
    83         {/foreach}
    75       </table>
    84       </table>
    76     </div>
    85     </div>
    77     <div id="footer">
    86     <div id="footer">
    78       <img alt="AmaroK web control" src="/themes/{$theme|escape}/images/amarok.gif" /><br />
    87       <img alt="AmaroK web control" src="/themes/{$theme|escape}/images/amarok.gif" /><br />
    79     </div>
    88     </div>
    80     <script type="text/javascript">
    89     <script type="text/javascript">
    81       fix_scroll();
    90       setTimeout('fix_scroll();', 2000);
    82     </script>
    91     </script>
    83   </body>
    92   </body>
    84 </html>
    93 </html>
    85 
    94