From 32df5df7627684dfc2a38d7c62fc5ded98529d39 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Wed, 4 Jan 2017 17:15:12 +0100 Subject: [PATCH] added docker instructions for testing --- README.md | 15 +++++++++++++++ css/main.css | 8 ++++++++ js/main.js | 4 ++-- 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d3b28b2..0a8b9ff 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,18 @@ +# Nextcloud Radio app This experimental app uses the radio-browser.info api and offers radio stations right in your Nextcloud! [![](https://onny.project-insanity.org/files/nextcloud-app-radio-screenshot.png)](https://onny.project-insanity.org/files/nextcloud-app-radio-screenshot.png) + +## Maintainers +* [Jonas Heinrich](https://github.com/onny) + +## Testing +Can be easily tested using Docker: +``` +docker run -v /tmp/nextcloud-app-radio:/opt/nextcloud/apps/radio -d --name nextcloud -p 80:80 rootlogin/nextcloud +``` +First part of -v is the path to the cloned or downloaded nextcloud radio app. Debug it with: +``` +docker run -i -t e326cbb922aa /bin/bash +``` +Where -t specifies the container id. diff --git a/css/main.css b/css/main.css index e3b418a..936fba6 100644 --- a/css/main.css +++ b/css/main.css @@ -31,3 +31,11 @@ tr:hover { background-color: edeff2; transition: all 0.1s ease; } + +img.fav:hover { + display:none; +} + +img.homepage:hover { + display:none; +} diff --git a/js/main.js b/js/main.js index dd7b33f..e719ef9 100644 --- a/js/main.js +++ b/js/main.js @@ -10,10 +10,10 @@ $(window).on('load', function(){ $("tbody > tr").remove(); $.each(data, function(i, station) { $('tbody').append('\ - \ + \ \ '+station['name']+'\ - \ + \ '); }); }