themes/funkymonkey/playlist.tpl
changeset 0 c63de9eb7045
child 1 cddc2ba706d6
equal deleted inserted replaced
-1:000000000000 0:c63de9eb7045
       
     1 {**
       
     2  * Template file for default Funky Monkey theme
       
     3  * Web control interface script for Amarok
       
     4  * Written by Dan Fuhry - 2008
       
     5  *
       
     6  * This script is in the public domain. Use it for good, not evil.
       
     7  *}
       
     8 
       
     9 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
       
    10 <html>
       
    11   <head>
       
    12     <title>AmaroK playlist</title>
       
    13     <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
       
    14     <link rel="stylesheet" type="text/css" href="/themes/{$theme|escape}/style.css" />
       
    15   </head>
       
    16   <body>
       
    17     <div class="tblholder" id="playlist">
       
    18       <table border="0" cellspacing="1" cellpadding="4">
       
    19         <tr>
       
    20           <th>TrackNo</th>
       
    21           <th>Track</th>
       
    22           <th>Artist</th>
       
    23           <th>Album</th>
       
    24           <th>Length</th>
       
    25         </tr>
       
    26         {foreach key=tid item=track from=$playlist}
       
    27         <tr class="{cycle values="row1,row2"}{if $active == $tid} current{/if}">
       
    28           <td style="text-align: center;">{$tid+1}</td>
       
    29           <td>{$track.title|escape}</td>
       
    30           <td>{$track.artist|escape}</td>
       
    31           <td>{$track.album|escape}</td>
       
    32           <td style="text-align: center;">{$track.length|escape}</td>
       
    33         </tr>
       
    34         {/foreach}
       
    35       </table>
       
    36     </div>
       
    37   </body>
       
    38 </html>
       
    39