initial release
authorJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 18 Jan 2016 17:12:36 +0000 (18:12 +0100)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 18 Jan 2016 17:12:36 +0000 (18:12 +0100)
html/last_songs.html [new file with mode: 0644]

diff --git a/html/last_songs.html b/html/last_songs.html
new file mode 100644 (file)
index 0000000..2d58323
--- /dev/null
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+        <meta charset="UTF-8" />
+        <link rel="stylesheet" type="text/css" media="all" href="style.css" />
+        <title>Last played songs</title>
+
+        <script type="text/javascript"
+                language="javascript"
+                src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js">
+        </script>
+
+        <script>$(document).ready(function() {
+                $.getJSON("http://radio.wpitchoune.net/cgi-bin/icecast_last_songs.cgi",
+                          function(data) {
+                        $.each(data, function(i, value) {
+                                $("#history").append(value);
+                        });
+                });
+        });
+        </script>
+</head>
+
+<body>
+        <section>
+                <h1>Last played songs</h1>
+
+                <div class="history">
+                </div>
+        </section>
+
+        <footer>
+                <p>(c) Proxy Radio</p>
+        </footer>
+</body>
+
+</html>