diff --git a/README.rst b/README.rst index 81ffcf34..fad5266a 100644 --- a/README.rst +++ b/README.rst @@ -106,12 +106,17 @@ Changelog v2.4.0 (UNRELEASED) ------------------- +- Now shows server name/IP address and port number at the bottom of the navigation pane. (Addresses: `#67 `_). +- Add ability to insert a track anywhere in the current queue. (Addresses: `#75 `_). +- Add 'Show Track Info' popup which can be activated from any context menu. The popup includes the URI of the track, + which can be inserted into various lists elsewhere in the player. + **Fixes** - Only show 'Show Album' or 'Show Artist' options in popup menus if URI's for those resources are available. (Fixes: `#213 `_). - Now shows correct hostname information in loader popup. (Fixes: `#209 `_). -- Now shows server name/IP address and port number at the bottom of the navigation pane. (Fixes: `#67 `_). +- Reset 'Now Playing' info when the last track in the tracklist is deleted. Fixes an issue where info of the last song played would be displayed even after the queue had been cleared. - Use correct icons for folders, audio, and other files when browsing local files. v2.3.0 (2016-05-15) diff --git a/mopidy_musicbox_webclient/static/css/webclient.css b/mopidy_musicbox_webclient/static/css/webclient.css index 879b0773..89d554fe 100644 --- a/mopidy_musicbox_webclient/static/css/webclient.css +++ b/mopidy_musicbox_webclient/static/css/webclient.css @@ -1,6 +1,6 @@ /* * Mopidy Webclient CSS - * (c) Wouter van Wijk 2012-2013 + * (c) Wouter van Wijk 2012-2017 */ /**************************** @@ -221,6 +221,17 @@ span.hostInfo { #homerows div i { font-size: 28px; } + +.ui-block-a-min { + float: left !important; + width: initial !important; +} + +.ui-block-b-min { + float:right !important; + width: initial !important; +} + /*************** * listviews * ***************/ @@ -249,6 +260,38 @@ span.hostInfo { border-bottom: 1px solid #CECECE; } +.info-table { + display: table !important; +} + +.info-table thead { + visibility: collapse; +} + +.info-table th { + border-bottom: none !important; +} + +.info-table tr { + border-bottom: 1px solid #f2f2f2 +} + +.info-table td { + color: #555 !important; + padding: 2px; + padding-right: 14px; + padding-left: 14px; + border: none !important; +} + +.info-table td.label { + font-weight: bold; +} + +.info-table td.label-center { + vertical-align: middle; +} + .albumdivider h1, .table li h1 { font-size: 120% !important; } @@ -327,7 +370,6 @@ span.hostInfo { /********************** * Now Playing area * **********************/ - #nowPlayingFooter { height: 50px; line-height: 48px; @@ -406,6 +448,7 @@ span.hostInfo { .ui-icon-playAll:after, .ui-icon-play:after, .ui-icon-playNext:after, +.ui-icon-insert:after, .ui-icon-add:after, .ui-icon-addAll:after, .ui-icon-remove:after { @@ -425,6 +468,10 @@ span.hostInfo { content: '\f149'; } +.ui-icon-insert:after { + content: '\f177'; +} + .ui-icon-add:after { content: '\f196'; } @@ -448,11 +495,17 @@ span.hostInfo { font-weight: normal; } -.popupDialog { +.popupDialog, +.popupDialog-full-width { padding: 10px; text-align: center; } +.popupDialog-full-width { + padding-left: 0; + padding-right: 0; +} + /*dont hide clear buttons in text input */ .ui-input-clear-hidden { display: block !important; @@ -461,7 +514,6 @@ span.hostInfo { /**************** * Common use * ****************/ - #playlistspane { margin: 0 !important; } @@ -545,13 +597,13 @@ a { } /*helper*/ - .ui-loader h1 { color: #efefef; } -/* panel workaround to make it responsive wrap push on wide viewports once open */ -@media (min-width: 35em){ +/*tablets and desktop*/ +@media (min-width: 35em) { + /* panel workaround to make it responsive wrap push on wide viewports once open */ .ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-open.ui-panel-content-fixed-toolbar-display-push, .ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-open.ui-panel-content-fixed-toolbar-display-reveal, .ui-responsive-panel.ui-page-panel-open .ui-panel-content-wrap-open.ui-panel-content-wrap-display-push, @@ -569,7 +621,12 @@ a { .ui-responsive-panel .ui-panel-dismiss-display-reveal { display: none; } + + .popupDialog { + min-width: 320px; + } } + /*smartphones*/ @media (max-width: 35em) { #nowPlayingpane { diff --git a/mopidy_musicbox_webclient/static/index.html b/mopidy_musicbox_webclient/static/index.html index eee32484..410b717a 100644 --- a/mopidy_musicbox_webclient/static/index.html +++ b/mopidy_musicbox_webclient/static/index.html @@ -111,14 +111,14 @@

- Album cover + Album cover
Close

 

- Album artist + Album artist
@@ -150,6 +150,9 @@

 

Artists

    +
  • + Show Track Info... +
  • @@ -160,8 +163,11 @@

    Artists

  • Play
  • +
  • + Add a Track Below +
  • - Remove from Queue + Remove from Queue
  • Show Album @@ -174,26 +180,48 @@

    Artists

    Artists

      +
    • + Show Track Info... +
    • +
      +
      +

      Add a Track to the Queue + + + +

      + + +
      +
      +
      +

      Save Current Queue to a Playlist + onkeypress="return controls.checkDefaultButtonClick(event.keyCode, '#popupSave');" type="text"/>

      -
      -
      - +
      @@ -223,6 +251,48 @@

      Artists

      +
      + Close + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Name:
      Album:
      Artist(s):
      Track #:
      Length:
      Bitrate:
      URI:
      +
      +