Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mediaTrack UI element #463

Merged
merged 2 commits into from
Nov 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/view/media/sdl/controllsView.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ SDL.SDLMediaControlls = Em.ContainerView.create(
'<div class="title textLimit" {{bindAttr style="SDL.SDLController.model.appInfo.alignment"}}>{{SDL.SDLController.model.appInfo.field1}}</div>' +
'<div class="album textLimit" {{bindAttr style="SDL.SDLController.model.appInfo.alignment"}}>{{SDL.SDLController.model.appInfo.field2}}</div>' +
'<div class="artist textLimit"{{bindAttr class="SDL.SDLController.model.mediaPreset:hidden"}}>{{SDL.SDLController.model.appInfo.field3}}</div>' +
'<div class="track textLimit"{{bindAttr style="SDL.SDLController.model.appInfo.alignment"}}>{{SDL.SDLController.model.appInfo.mediaTrack}}</div>' +
'<div class="time"{{bindAttr class="SDL.SDLController.model.mediaPreset:timeV2"}}>{{SDL.SDLController.model.appInfo.mediaClock}}</div>' +
'<img class="cd_logo" onerror="this.style.display=\'none\'" {{bindAttr class="SDL.SDLController.model.mediaPreset:cd_logoV2"}} {{bindAttr class="SDL.SDLController.model.mode"}} {{bindAttr class="SDL.SDLController.model.isTemplate"}}/>' +
'<img class="cd_logo" onerror="this.style.display=\'none\'" {{bindAttr src="SDL.SDLController.model.appInfo.trackIcon" class="SDL.SDLController.model.mediaPreset:cd_logoV2"}} />' +
Expand Down
15 changes: 12 additions & 3 deletions css/sdl.css
Original file line number Diff line number Diff line change
Expand Up @@ -1921,15 +1921,15 @@
}

#sdl_view_container .title {
top: 79px;
font-size: 38px;
top: 70px;
font-size: 35px;
left: 7px;
width: 340px;
height: 44px;
}

#sdl_view_container .album {
top: 123px;
top: 107px;
font-size: 26px;
left: 10px;
width: 330px;
Expand All @@ -1944,6 +1944,15 @@
height: 32px;
}

#sdl_view_container .track {
top: 137px;
font-size: 16px;
left: 10px;
width: 330px;
height: 25px;
color: #999999;
}

#sdl_view_container .player_controlls {
top: 292px;
left: 165px;
Expand Down