mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added default images for audio and person
This commit is contained in:
parent
7348edef90
commit
c3bae9c9f5
5 changed files with 15 additions and 9 deletions
BIN
dashboard-ui/css/images/items/detail/person.png
Normal file
BIN
dashboard-ui/css/images/items/detail/person.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
Binary file not shown.
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 18 KiB |
BIN
dashboard-ui/css/images/items/list/audio.png
Normal file
BIN
dashboard-ui/css/images/items/list/audio.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
BIN
dashboard-ui/css/images/items/list/person.png
Normal file
BIN
dashboard-ui/css/images/items/list/person.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.6 KiB |
|
@ -459,7 +459,13 @@ var Dashboard = {
|
|||
width: 352,
|
||||
tag: item.BackdropImageTags[0]
|
||||
}) + "' />";
|
||||
} else {
|
||||
}
|
||||
else if (item.MediaType == "Audio" || item.Type == "MusicAlbum" || item.Type == "MusicArtist") {
|
||||
|
||||
html += "<img style='background:" + Dashboard.getRandomMetroColor() + ";' src='css/images/items/list/audio.png' />";
|
||||
}
|
||||
else {
|
||||
|
||||
html += "<img style='background:" + Dashboard.getRandomMetroColor() + ";' src='css/images/items/list/collection.png' />";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue