aboutsummaryrefslogtreecommitdiff
path: root/subsonic-main/src/main/webapp/WEB-INF/jsp/starred.jsp
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-07-27 14:33:25 -0700
committerScott Jackson <daneren2005@gmail.com>2013-07-27 14:33:38 -0700
commit4738428c2c205f42200386ae09b44b9ec07b9144 (patch)
treea6402978fe1b4655f90c3c8a181f4d246fbc5e89 /subsonic-main/src/main/webapp/WEB-INF/jsp/starred.jsp
parent82ec8315f777c319f2372540098e21111019d629 (diff)
downloaddsub-4738428c2c205f42200386ae09b44b9ec07b9144.tar.gz
dsub-4738428c2c205f42200386ae09b44b9ec07b9144.tar.bz2
dsub-4738428c2c205f42200386ae09b44b9ec07b9144.zip
Move subsonic-android to root
Diffstat (limited to 'subsonic-main/src/main/webapp/WEB-INF/jsp/starred.jsp')
-rw-r--r--subsonic-main/src/main/webapp/WEB-INF/jsp/starred.jsp131
1 files changed, 0 insertions, 131 deletions
diff --git a/subsonic-main/src/main/webapp/WEB-INF/jsp/starred.jsp b/subsonic-main/src/main/webapp/WEB-INF/jsp/starred.jsp
deleted file mode 100644
index 967fc7b7..00000000
--- a/subsonic-main/src/main/webapp/WEB-INF/jsp/starred.jsp
+++ /dev/null
@@ -1,131 +0,0 @@
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="iso-8859-1"%>
-
-<html><head>
- <%@ include file="head.jsp" %>
- <%@ include file="jquery.jsp" %>
- <script type="text/javascript" src="<c:url value='/dwr/util.js'/>"></script>
- <script type="text/javascript" src="<c:url value="/dwr/engine.js"/>"></script>
- <script type="text/javascript" src="<c:url value="/dwr/interface/starService.js"/>"></script>
- <script type="text/javascript" language="javascript">
-
- function toggleStar(mediaFileId, imageId) {
- if ($(imageId).attr("src").indexOf("<spring:theme code="ratingOnImage"/>") != -1) {
- $(imageId).attr("src", "<spring:theme code="ratingOffImage"/>");
- starService.unstar(mediaFileId);
- }
- else if ($(imageId).attr("src").indexOf("<spring:theme code="ratingOffImage"/>") != -1) {
- $(imageId).attr("src", "<spring:theme code="ratingOnImage"/>");
- starService.star(mediaFileId);
- }
- }
- </script>
-</head>
-<body class="mainframe bgcolor1">
-
-<h1>
- <fmt:message key="starred.title"/>
-</h1>
-
-<c:if test="${empty model.artists and empty model.albums and empty model.songs}">
- <p style="padding-top: 1em"><em><fmt:message key="starred.empty"/></em></p>
-</c:if>
-
-<c:if test="${not empty model.artists}">
- <h2><fmt:message key="search.hits.artists"/></h2>
- <table style="border-collapse:collapse">
- <c:forEach items="${model.artists}" var="artist" varStatus="loopStatus">
-
- <sub:url value="/main.view" var="mainUrl">
- <sub:param name="path" value="${artist.path}"/>
- </sub:url>
-
- <tr>
- <c:import url="playAddDownload.jsp">
- <c:param name="id" value="${artist.id}"/>
- <c:param name="playEnabled" value="${model.user.streamRole and not model.partyModeEnabled}"/>
- <c:param name="addEnabled" value="${model.user.streamRole and (not model.partyModeEnabled or not artist.directory)}"/>
- <c:param name="downloadEnabled" value="${model.user.downloadRole and not model.partyModeEnabled}"/>
- <c:param name="starEnabled" value="true"/>
- <c:param name="starred" value="${not empty artist.starredDate}"/>
- <c:param name="asTable" value="true"/>
- </c:import>
- <td ${loopStatus.count % 2 == 1 ? "class='bgcolor2'" : ""} style="padding-left:0.25em;padding-right:1.25em">
- <a href="${mainUrl}">${artist.name}</a>
- </td>
- </tr>
- </c:forEach>
- </table>
-</c:if>
-
-<c:if test="${not empty model.albums}">
- <h2><fmt:message key="search.hits.albums"/></h2>
- <table style="border-collapse:collapse">
- <c:forEach items="${model.albums}" var="album" varStatus="loopStatus">
-
- <sub:url value="/main.view" var="mainUrl">
- <sub:param name="path" value="${album.path}"/>
- </sub:url>
-
- <tr>
- <c:import url="playAddDownload.jsp">
- <c:param name="id" value="${album.id}"/>
- <c:param name="playEnabled" value="${model.user.streamRole and not model.partyModeEnabled}"/>
- <c:param name="addEnabled" value="${model.user.streamRole and (not model.partyModeEnabled or not album.directory)}"/>
- <c:param name="downloadEnabled" value="${model.user.downloadRole and not model.partyModeEnabled}"/>
- <c:param name="starEnabled" value="true"/>
- <c:param name="starred" value="${not empty album.starredDate}"/>
- <c:param name="asTable" value="true"/>
- </c:import>
-
- <td ${loopStatus.count % 2 == 1 ? "class='bgcolor2'" : ""} style="padding-left:0.25em;padding-right:1.25em">
- <a href="${mainUrl}">${album.albumName}</a>
- </td>
-
- <td ${loopStatus.count % 2 == 1 ? "class='bgcolor2'" : ""} style="padding-right:0.25em">
- <span class="detail">${album.artist}</span>
- </td>
- </tr>
-
- </c:forEach>
- </table>
-</c:if>
-
-<c:if test="${not empty model.songs}">
- <h2><fmt:message key="search.hits.songs"/></h2>
- <table style="border-collapse:collapse">
- <c:forEach items="${model.songs}" var="song" varStatus="loopStatus">
-
- <sub:url value="/main.view" var="mainUrl">
- <sub:param name="path" value="${song.parentPath}"/>
- </sub:url>
-
- <tr>
- <c:import url="playAddDownload.jsp">
- <c:param name="id" value="${song.id}"/>
- <c:param name="playEnabled" value="${model.user.streamRole and not model.partyModeEnabled}"/>
- <c:param name="addEnabled" value="${model.user.streamRole and (not model.partyModeEnabled or not song.directory)}"/>
- <c:param name="downloadEnabled" value="${model.user.downloadRole and not model.partyModeEnabled}"/>
- <c:param name="starEnabled" value="true"/>
- <c:param name="starred" value="${not empty song.starredDate}"/>
- <c:param name="video" value="${song.video and model.player.web}"/>
- <c:param name="asTable" value="true"/>
- </c:import>
-
- <td ${loopStatus.count % 2 == 1 ? "class='bgcolor2'" : ""} style="padding-left:0.25em;padding-right:1.25em">
- ${song.title}
- </td>
-
- <td ${loopStatus.count % 2 == 1 ? "class='bgcolor2'" : ""} style="padding-right:1.25em">
- <a href="${mainUrl}"><span class="detail">${song.albumName}</span></a>
- </td>
-
- <td ${loopStatus.count % 2 == 1 ? "class='bgcolor2'" : ""} style="padding-right:0.25em">
- <span class="detail">${song.artist}</span>
- </td>
- </tr>
-
- </c:forEach>
- </table>
-</c:if>
-
-</body></html> \ No newline at end of file