[Slim-Checkins] r10961 - /trunk/server/HTML/Default/status_list.html
adrian at svn.slimdevices.com
adrian at svn.slimdevices.com
Thu Dec 14 11:55:23 PST 2006
Author: adrian
Date: Thu Dec 14 11:55:23 2006
New Revision: 10961
URL: http://svn.slimdevices.com?rev=10961&view=rev
Log:
Bug: N/A
Description: unwind hot template used for playlist entries in Default
skin to reduce template processing time when refreshing the playlist
Added:
trunk/server/HTML/Default/status_list.html (with props)
Added: trunk/server/HTML/Default/status_list.html
URL: http://svn.slimdevices.com/trunk/server/HTML/Default/status_list.html?rev=10961&view=auto
==============================================================================
--- trunk/server/HTML/Default/status_list.html (added)
+++ trunk/server/HTML/Default/status_list.html Thu Dec 14 11:55:23 2006
@@ -1,0 +1,24 @@
+[% IF item.currentsong %]<a name="currentsong"></a>[% END %]
+<div [% IF item.odd %]class="odd"[% END %] [% IF not item.odd %]class="even"[% END %] [% IF item.currentsong %]id="currentListItem"[% END %]>
+ <div class="browsedbListItem">
+ [% IF item.currentsong %]
+ <a name="currentsong"></a>
+ <span class="exboldlisting">
+ [% ELSE %]
+ <span class="exlisting">
+ [% END %]
+ <a href="[% webroot %]songinfo.html?item=[% item.itemobj.id %]&player=[% playerURI %]" target="browser">[% item.title | html %]</a>
+ [% IF item.includeAlbum && item.itemobj.album && item.itemobj.album.title != item.noAlbum && item.itemobj.album.title != "" %]
+ [% "FROM" | string %]
+ <a href="[% webroot %]browsedb.html?hierarchy=album,track&level=1&album.id=[% item.itemobj.album.id %]&player=[% playerURI %]" target="browser">[% item.itemobj.album.title | html %]</a>
+ [% END %]
+ [% IF item.includeArtist && item.artist && item.artist != item.noArtist; PROCESS artistsAsHTML.html itemobj = item.itemobj; END %]
+ </span>
+ <div class="playlistControls">
+ <a href="[% webroot %][% statusroot %]?p0=playlist&p1=jump&p2=[% item.num %]&start=[% start %]&player=[% playerURI %]" target="status"><img src="[% webroot %]html/images/b_play.gif" width=13 height=13 alt="[% "PLAY" | string %]" title="[% "PLAY" | string %]"></a>
+ <a href="[% webroot %][% statusroot %]?p0=playlist&p1=move&p2=[% item.num %]&p3=+1&start=[% start %]&player=[% playerURI %]" target="status"><img src="[% webroot %]html/images/b_down.gif" width=13 height=13 alt="[% "DOWN" | string%]" title="[% "DOWN" | string %]"></a>
+ <a href="[% webroot %][% statusroot %]?p0=playlist&p1=move&p2=[% item.num %]&p3=-1&start=[% start %]&player=[% playerURI %]" target="status"><img src="[% webroot %]html/images/b_up.gif" width=13 height=13 alt="[% "UP" | string %]" title="[% "UP" | string %]"></a>
+ <a href="[% webroot %][% statusroot %]?p0=playlist&p1=delete&p2=[% item.num %]&start=[% start %]&player=[% playerURI %]" target="status"><img src="[% webroot %]html/images/b_delete.gif" width=13 height=13 alt="[% "DELETE" | string %]" title="[% "DELETE" | string %]"></a>
+ </div>
+ </div>
+</div>
Propchange: trunk/server/HTML/Default/status_list.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/server/HTML/Default/status_list.html
------------------------------------------------------------------------------
svn:keywords = Id Author LastChangedDate LastChangedBy
Propchange: trunk/server/HTML/Default/status_list.html
------------------------------------------------------------------------------
svn:mime-type = text/html
More information about the checkins
mailing list