Make spotify-ish more spotify-ish (#914)

* [Theme] Allow customising album and player parts

* [Theme] Allow customizing song lists view

* Make spotify-ish more spotify-ish

* Fix responsive issues in spotify-ish

* Spotify-ish login page

* Add back the previous "Spotify-ish" theme as "Green"

Co-authored-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Samarjeet
2021-04-01 02:28:47 +05:30
committed by GitHub
parent 5128c049d7
commit ea65da484b
9 changed files with 573 additions and 160 deletions
+18 -1
View File
@@ -5,14 +5,26 @@ import {
useShowContext,
useShowController,
} from 'react-admin'
import { makeStyles } from '@material-ui/core/styles'
import PlaylistDetails from './PlaylistDetails'
import PlaylistSongs from './PlaylistSongs'
import PlaylistActions from './PlaylistActions'
import { Title, isReadOnly } from '../common'
const useStyles = makeStyles(
(theme) => ({
playlistActions: {},
}),
{
name: 'NDPlaylistShow',
}
)
const PlaylistShowLayout = (props) => {
const { loading, ...context } = useShowContext(props)
const { record } = context
const classes = useStyles()
return (
<>
{record && <PlaylistDetails {...context} />}
@@ -30,7 +42,12 @@ const PlaylistShowLayout = (props) => {
{...props}
readOnly={isReadOnly(record.owner)}
title={<Title subTitle={record.name} />}
actions={<PlaylistActions record={record} />}
actions={
<PlaylistActions
className={classes.playlistActions}
record={record}
/>
}
resource={'playlistTrack'}
exporter={false}
perPage={0}