From 7b3d17a67cd2fff902e8f3e77e2326e8244d4bd9 Mon Sep 17 00:00:00 2001 From: jcass Date: Wed, 27 Apr 2016 13:28:11 +0200 Subject: [PATCH] fix:Replace JavaScript prompt with jQuery equivalent. Fixes #191. --- README.rst | 4 +++ .../static/css/webclient.css | 1 + mopidy_musicbox_webclient/static/index.html | 26 +++++++++++++---- .../static/js/controls.js | 28 +++++++++++++------ mopidy_musicbox_webclient/static/mb.appcache | 2 +- 5 files changed, 46 insertions(+), 15 deletions(-) diff --git a/README.rst b/README.rst index 22707d4..6fae1c5 100644 --- a/README.rst +++ b/README.rst @@ -129,6 +129,8 @@ v2.3.0 (UNRELEASED) - Added 'Folder' FontAwesome icon on the Browse pane for browsing the filesystem. - New icons for 'PLAY' and 'PLAY_ALL' actions. In general, icons with an empty background will perform an action only on the selected track, while icons with a filled background will apply the action to all tracks in the list. +- Standardize popup dialog layout convention: Sentence fragments have no punctuation, buttons that confirm a + destructive action go on the left. **Fixes** @@ -141,6 +143,8 @@ v2.3.0 (UNRELEASED) instead of waiting for the 'Search!' button to be clicked. - Fixed an issue where the last track in an album was not grouped properly with the rest of the results, and would have a small divider rendered above it. (Fixes: `#196 `_). +- Replaced JavaScript confirmation prompt on 'Streams' pane with jQuery equivalent. + (Fixes: `#191 `_). v2.2.0 (2016-03-01) ------------------- diff --git a/mopidy_musicbox_webclient/static/css/webclient.css b/mopidy_musicbox_webclient/static/css/webclient.css index 836f064..48d4e5a 100644 --- a/mopidy_musicbox_webclient/static/css/webclient.css +++ b/mopidy_musicbox_webclient/static/css/webclient.css @@ -436,6 +436,7 @@ .popupDialog { padding: 10px; + text-align: center; } /*dont hide clear buttons in text input */ diff --git a/mopidy_musicbox_webclient/static/index.html b/mopidy_musicbox_webclient/static/index.html index 842ad8e..db57490 100644 --- a/mopidy_musicbox_webclient/static/index.html +++ b/mopidy_musicbox_webclient/static/index.html @@ -171,16 +171,16 @@
-

Save current queue to a playlist. +

Save Current Queue to a Playlist

- +
@@ -188,10 +188,10 @@
-

Overwrite existing playlist with same name? +

A playlist with the same name already exists. Overwrite?

+
+
+

Are you sure you want to remove ? +

+ + +
+
+
+