diff --git a/README.rst b/README.rst
index c08ffe9..33b04f1 100644
--- a/README.rst
+++ b/README.rst
@@ -2,7 +2,7 @@
Mopidy Browser Client
*********************
-This is a responsive html/js/css client for Mopidy. Responsive, so it works on desktop and mobile browsers.
+This is a responsive html/js/css client for Mopidy. Responsive, so it works on desktop and mobile browsers. You can browse, search and play albums, artists, playlists, and it has cover art from Last.fm.
`Mopidy `_ is a music server which can play music from `Spotify `_ or from your local hard drive.
diff --git a/screenshots/artist.png b/screenshots/artist.png
new file mode 100644
index 0000000..c061492
Binary files /dev/null and b/screenshots/artist.png differ
diff --git a/screenshots/chrome.png b/screenshots/chrome.png
deleted file mode 100644
index 43bdf5c..0000000
Binary files a/screenshots/chrome.png and /dev/null differ
diff --git a/screenshots/chrome_sm.png b/screenshots/chrome_sm.png
deleted file mode 100644
index 1bc1e87..0000000
Binary files a/screenshots/chrome_sm.png and /dev/null differ
diff --git a/screenshots/firefox.png b/screenshots/firefox.png
deleted file mode 100644
index ec95fdd..0000000
Binary files a/screenshots/firefox.png and /dev/null differ
diff --git a/screenshots/firefox_sm.png b/screenshots/firefox_sm.png
deleted file mode 100644
index 6dd63d9..0000000
Binary files a/screenshots/firefox_sm.png and /dev/null differ
diff --git a/screenshots/playlists.png b/screenshots/playlists.png
new file mode 100644
index 0000000..d42cc91
Binary files /dev/null and b/screenshots/playlists.png differ
diff --git a/screenshots/queue-small.png b/screenshots/queue-small.png
new file mode 100644
index 0000000..eee7516
Binary files /dev/null and b/screenshots/queue-small.png differ
diff --git a/screenshots/queue.png b/screenshots/queue.png
new file mode 100644
index 0000000..1d74c9c
Binary files /dev/null and b/screenshots/queue.png differ
diff --git a/screenshots/search-small.png b/screenshots/search-small.png
new file mode 100644
index 0000000..2a6dbe3
Binary files /dev/null and b/screenshots/search-small.png differ
diff --git a/screenshots/search.png b/screenshots/search.png
new file mode 100644
index 0000000..cf5a5c3
Binary files /dev/null and b/screenshots/search.png differ
diff --git a/webclient/css/ws.css b/webclient/css/ws.css
index ae6e39a..88449f2 100755
--- a/webclient/css/ws.css
+++ b/webclient/css/ws.css
@@ -36,18 +36,27 @@
clear: left;
}
.srch-breakpoint.ui-grid-a .ui-block-b {
- margin-left: 5px;
+ margin-left: .5em;
}
.srch-breakpoint.ui-grid-a .ui-block-a, .srch-breakpoint.ui-grid-a .ui-block-b {
- width: 49.5%;
+ width: 49%;
}
#playlisttablediv {
margin-left: 10px;
}
+ #btcontrols {
+ display: none;
+ }
}
/* tablet etc */
-@media all and (max-width: 50em) and (min-width: 30.1em) {
+@media all and (max-width: 49.9em) and (min-width: 30.1em) {
+ .srch-breakpoint.ui-grid-a .ui-block-b {
+ margin-left: .2em;
+ }
+ .srch-breakpoint.ui-grid-a .ui-block-a, .srch-breakpoint.ui-grid-a .ui-block-b {
+ width: 49.5%;
+ }
.header-breakpoint.ui-grid-b .ui-block-a {
width: 39.95%;
}
@@ -61,6 +70,9 @@
/* phone */
@media all and (max-width: 30em) {
+ .srch-breakpoint.ui-grid-a .ui-block-a, .srch-breakpoint.ui-grid-a .ui-block-b {
+ width: 100%;
+ }
.pl-breakpoint .ui-block-a, .pl-breakpoint .ui-block-b {
width: 100%;
}
@@ -74,6 +86,10 @@
.header-breakpoint.ui-grid-b .ui-block-b {
display: none;
}
+ #btcontrols {
+ display: block;
+ }
+
}
/************************
@@ -265,7 +281,7 @@ a {
font-style: oblique;
}
-#controlsmodal {
+#controlsmodal, #artistpopup, #coverpopup {
max-width: 500px;
min-width: 300px;
}
@@ -292,5 +308,9 @@ a {
#buttons, #controlspopupimage, #coverpopupimage, #artistpopupimage {
display: block;
margin-left: auto;
- margin-right: auto
+ margin-right: auto;
+ margin-bottom: 5px;
}
+.playlistactive {
+ background-color: #ccc;
+}
\ No newline at end of file
diff --git a/webclient/index.html b/webclient/index.html
index 57dd6de..ec9d19f 100755
--- a/webclient/index.html
+++ b/webclient/index.html
@@ -101,11 +101,12 @@
-
+
-
+
+
@@ -135,7 +136,7 @@
-
![]()
+
@@ -144,7 +145,7 @@
-
![]()
+

diff --git a/webclient/js/gui.js b/webclient/js/gui.js
index edd7632..2c8b540 100755
--- a/webclient/js/gui.js
+++ b/webclient/js/gui.js
@@ -43,7 +43,7 @@ function resizeSonginfo() {
});
$("#infoartist").html('
' + $("#infoartist").html() + '');
} else {
- $("#infoartist").html(artistshtml);
+ $("#infoartist").html(artiststext);
}
}
diff --git a/webclient/js/library.js b/webclient/js/library.js
index 2bca96e..2c384d1 100644
--- a/webclient/js/library.js
+++ b/webclient/js/library.js
@@ -110,7 +110,6 @@ function getCurrentPlaylist() {
function showTracklist(uri) {
$(PLAYLIST_TABLE).empty();
$('#playlisttablediv').show();
- // $('#playlistloader').show();
showLoading(true);
var pl = getPlaylistFromUri(uri);
@@ -118,6 +117,14 @@ function showTracklist(uri) {
if (pl) {
playlisttotable(pl.tracks, PLAYLIST_TABLE, uri);
}
+
+ $('#playlistslist li a').each(function() {
+ $(this).removeClass("playlistactive");
+ if (this.id == uri) {
+ $(this).addClass('playlistactive');
+ }
+ });
+
scrollToTracklist();
//lookup recent tracklist
mopidy.playlists.lookup(uri).then(processGetTracklist, console.error);