[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 %]&amp;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&amp;level=1&amp;album.id=[% item.itemobj.album.id %]&amp;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&amp;p1=jump&amp;p2=[% item.num %]&amp;start=[% start %]&amp;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&amp;p1=move&amp;p2=[% item.num %]&amp;p3=+1&amp;start=[% start %]&amp;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&amp;p1=move&amp;p2=[% item.num %]&amp;p3=-1&amp;start=[% start %]&amp;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&amp;p1=delete&amp;p2=[% item.num %]&amp;start=[% start %]&amp;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