aboutsummaryrefslogtreecommitdiff
path: root/subsonic-site/src/main/webapp/demo.jsp
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2012-07-02 21:24:02 -0700
committerScott Jackson <daneren2005@gmail.com>2012-07-02 21:24:02 -0700
commita1a18f77a50804e0127dfa4b0f5240c49c541184 (patch)
tree19a38880afe505beddb5590379a8134d7730a277 /subsonic-site/src/main/webapp/demo.jsp
parentb61d787706979e7e20f4c3c4f93c1f129d92273f (diff)
downloaddsub-a1a18f77a50804e0127dfa4b0f5240c49c541184.tar.gz
dsub-a1a18f77a50804e0127dfa4b0f5240c49c541184.tar.bz2
dsub-a1a18f77a50804e0127dfa4b0f5240c49c541184.zip
Initial Commit
Diffstat (limited to 'subsonic-site/src/main/webapp/demo.jsp')
-rw-r--r--subsonic-site/src/main/webapp/demo.jsp55
1 files changed, 55 insertions, 0 deletions
diff --git a/subsonic-site/src/main/webapp/demo.jsp b/subsonic-site/src/main/webapp/demo.jsp
new file mode 100644
index 00000000..d6ce9cc4
--- /dev/null
+++ b/subsonic-site/src/main/webapp/demo.jsp
@@ -0,0 +1,55 @@
+<%@ page import="java.util.Random" %>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<%! String current = "demo"; %>
+<%@ include file="header.jsp" %>
+
+<body>
+
+<a name="top"/>
+
+<div id="container">
+ <%@ include file="menu.jsp" %>
+
+ <div id="content">
+ <div id="main-col">
+ <h1>Online Demo</h1>
+ <p>
+ Try the online demo to get a taste of what Subsonic is all about!
+ </p>
+
+ <ul class="list">
+ <li>
+ Not all Subsonic's features are available in the demo version. For instance, application settings can not be viewed
+ or changed. Please refer to the <a href="screenshots.jsp">screenshots</a> to see what you're missing.
+ </li>
+ <li>
+ All the music in the demo is free, and courtesy of <a href="http://www.jamendo.com/">Jamendo</a> and the respective artists.
+ </li>
+ </ul>
+
+ <%
+ Random random = new Random(System.currentTimeMillis());
+ int userId = random.nextInt(5) + 1;
+ %>
+ <p style="text-align:center;font-size:1.3em"><b><a href="http://subsonic.org/demo/login.view?user=guest<%=userId%>&password=guest" target="_blank">&raquo; Start demo</a></b></p>
+ </div>
+
+ <div id="side-col">
+ <%@ include file="google-translate.jsp" %>
+ <%@ include file="download-subsonic.jsp" %>
+ <%@ include file="donate.jsp" %>
+ </div>
+
+ <div class="clear">
+ </div>
+ </div>
+ <hr/>
+ <%@ include file="footer.jsp" %>
+</div>
+
+
+</body>
+</html>