aboutsummaryrefslogtreecommitdiff
path: root/subsonic-main/src/main/webapp/WEB-INF/jsp/wap/settings.jsp
blob: 5c44e87d2c05ffd207d24df50a7ae7c32e78cba0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">

<%@ page language="java" contentType="text/vnd.wap.wml; charset=utf-8" pageEncoding="iso-8859-1"%>

<wml>

    <%@ include file="head.jsp" %>
    <card id="main" title="Subsonic" newcontext="false">
        <p><small>
            <b><a href="<c:url value="/wap/index.view"/>">[<fmt:message key="common.home"/>]</a><br/></b>
            <b><a href="#player">[<fmt:message key="wap.settings.selectplayer"/>]</a></b>
        </small></p>
    </card>

    <card id="player" title="Subsonic" newcontext="false">
        <p><small>

            <b><a href="<c:url value="/wap/index.view"/>">[<fmt:message key="common.home"/>]</a><br/></b>
        </small></p><p><small>

        <c:choose>
            <c:when test="${empty model.playerId}">
                <fmt:message key="wap.settings.allplayers"/>
            </c:when>
            <c:otherwise>
                <a href="<c:url value="/wap/selectPlayer.view"/>"><fmt:message key="wap.settings.allplayers"/></a>
            </c:otherwise>
        </c:choose>
        <br/>

        <c:forEach items="${model.players}" var="player">
            <c:choose>
                <c:when test="${player.id eq model.playerId}">
                    ${player}
                </c:when>
                <c:otherwise>
                    <a href="<c:url value="/wap/selectPlayer.view?playerId=${player.id}"/>">${player}</a>
                </c:otherwise>
            </c:choose>
            <br/>
        </c:forEach>
    </small></p>
    </card>

</wml>