diff options
author | Scott Jackson <daneren2005@gmail.com> | 2012-07-02 21:24:02 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2012-07-02 21:24:02 -0700 |
commit | a1a18f77a50804e0127dfa4b0f5240c49c541184 (patch) | |
tree | 19a38880afe505beddb5590379a8134d7730a277 /subsonic-main/src/main/webapp/WEB-INF/jsp/top.jsp | |
parent | b61d787706979e7e20f4c3c4f93c1f129d92273f (diff) | |
download | dsub-a1a18f77a50804e0127dfa4b0f5240c49c541184.tar.gz dsub-a1a18f77a50804e0127dfa4b0f5240c49c541184.tar.bz2 dsub-a1a18f77a50804e0127dfa4b0f5240c49c541184.zip |
Initial Commit
Diffstat (limited to 'subsonic-main/src/main/webapp/WEB-INF/jsp/top.jsp')
-rw-r--r-- | subsonic-main/src/main/webapp/WEB-INF/jsp/top.jsp | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/subsonic-main/src/main/webapp/WEB-INF/jsp/top.jsp b/subsonic-main/src/main/webapp/WEB-INF/jsp/top.jsp new file mode 100644 index 00000000..18acb053 --- /dev/null +++ b/subsonic-main/src/main/webapp/WEB-INF/jsp/top.jsp @@ -0,0 +1,98 @@ +<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="iso-8859-1"%>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+
+<html><head>
+ <%@ include file="head.jsp" %>
+</head>
+
+<body class="bgcolor2 topframe" style="margin:0.4em 1em 0.4em 1em">
+
+<fmt:message key="top.home" var="home"/>
+<fmt:message key="top.now_playing" var="nowPlaying"/>
+<fmt:message key="top.starred" var="starred"/>
+<fmt:message key="top.settings" var="settings"/>
+<fmt:message key="top.status" var="status"/>
+<fmt:message key="top.podcast" var="podcast"/>
+<fmt:message key="top.more" var="more"/>
+<fmt:message key="top.help" var="help"/>
+<fmt:message key="top.search" var="search"/>
+
+<table style="margin:0"><tr valign="middle">
+ <td class="logo" style="padding-right:2em"><a href="help.view?" target="main"><img src="<spring:theme code="logoImage"/>" title="${help}" alt=""></a></td>
+
+ <c:if test="${not model.musicFoldersExist}">
+ <td style="padding-right:2em">
+ <p class="warning"><fmt:message key="top.missing"/></p>
+ </td>
+ </c:if>
+
+ <td>
+ <table><tr align="center">
+ <td style="min-width:4em;padding-right:1.5em">
+ <a href="home.view?" target="main"><img src="<spring:theme code="homeImage"/>" title="${home}" alt="${home}"></a><br>
+ <a href="home.view?" target="main">${home}</a>
+ </td>
+ <td style="min-width:4em;padding-right:1.5em">
+ <a href="nowPlaying.view?" target="main"><img src="<spring:theme code="nowPlayingImage"/>" title="${nowPlaying}" alt="${nowPlaying}"></a><br>
+ <a href="nowPlaying.view?" target="main">${nowPlaying}</a>
+ </td>
+ <td style="min-width:4em;padding-right:1.5em">
+ <a href="starred.view?" target="main"><img src="<spring:theme code="starredImage"/>" title="${starred}" alt="${starred}"></a><br>
+ <a href="starred.view?" target="main">${starred}</a>
+ </td>
+ <td style="min-width:4em;padding-right:1.5em">
+ <a href="podcastReceiver.view?" target="main"><img src="<spring:theme code="podcastLargeImage"/>" title="${podcast}" alt="${podcast}"></a><br>
+ <a href="podcastReceiver.view?" target="main">${podcast}</a>
+ </td>
+ <c:if test="${model.user.settingsRole}">
+ <td style="min-width:4em;padding-right:1.5em">
+ <a href="settings.view?" target="main"><img src="<spring:theme code="settingsImage"/>" title="${settings}" alt="${settings}"></a><br>
+ <a href="settings.view?" target="main">${settings}</a>
+ </td>
+ </c:if>
+ <td style="min-width:4em;padding-right:1.5em">
+ <a href="status.view?" target="main"><img src="<spring:theme code="statusImage"/>" title="${status}" alt="${status}"></a><br>
+ <a href="status.view?" target="main">${status}</a>
+ </td>
+ <td style="min-width:4em;padding-right:1.5em">
+ <a href="more.view?" target="main"><img src="<spring:theme code="moreImage"/>" title="${more}" alt="${more}"></a><br>
+ <a href="more.view?" target="main">${more}</a>
+ </td>
+ <td style="min-width:4em;padding-right:1.5em">
+ <a href="help.view?" target="main"><img src="<spring:theme code="helpImage"/>" title="${help}" alt="${help}"></a><br>
+ <a href="help.view?" target="main">${help}</a>
+ </td>
+
+ <td style="padding-left:1em">
+ <form method="post" action="search.view" target="main" name="searchForm">
+ <table><tr>
+ <td><input type="text" name="query" id="query" size="28" value="${search}" onclick="select();"></td>
+ <td><a href="javascript:document.searchForm.submit()"><img src="<spring:theme code="searchImage"/>" alt="${search}" title="${search}"></a></td>
+ </tr></table>
+ </form>
+ </td>
+
+ <td style="padding-left:15pt;text-align:center;">
+ <p class="detail" style="line-height:1.5">
+ <a href="j_acegi_logout" target="_top"><fmt:message key="top.logout"><fmt:param value="${model.user.username}"/></fmt:message></a>
+ <c:if test="${not model.licensed}">
+ <br>
+ <a href="donate.view" target="main"><img src="<spring:theme code="donateSmallImage"/>" alt=""></a>
+ <a href="donate.view" target="main"><fmt:message key="donate.title"/></a>
+ </c:if>
+ </p>
+ </td>
+
+ <c:if test="${model.newVersionAvailable}">
+ <td style="padding-left:15pt">
+ <p class="warning">
+ <fmt:message key="top.upgrade"><fmt:param value="${model.brand}"/><fmt:param value="${model.latestVersion}"/></fmt:message>
+ </p>
+ </td>
+ </c:if>
+ </tr></table>
+ </td>
+
+</tr></table>
+
+</body></html>
\ No newline at end of file |