Context menu context and titles; List unification
This commit is contained in:
@ -82,11 +82,12 @@ class LibraryAlbums extends React.Component{
|
||||
}
|
||||
]
|
||||
return (
|
||||
<section className="list-wrapper album-list">
|
||||
<section className="list-wrapper">
|
||||
<List
|
||||
handleContextMenu={(e,item) => this.handleContextMenu(e,item)}
|
||||
rows={albums}
|
||||
columns={columns}
|
||||
className="album-list"
|
||||
link_prefix={global.baseURL+"album/"} />
|
||||
</section>
|
||||
)
|
||||
|
||||
@ -69,11 +69,12 @@ class LibraryArtists extends React.Component{
|
||||
}
|
||||
]
|
||||
return (
|
||||
<section className="list-wrapper artist-list">
|
||||
<section className="list-wrapper">
|
||||
<List
|
||||
handleContextMenu={(e,item) => this.handleContextMenu(e,item)}
|
||||
rows={artists}
|
||||
columns={columns}
|
||||
className="artist-list"
|
||||
link_prefix={global.baseURL+"artist/"} />
|
||||
</section>
|
||||
)
|
||||
|
||||
@ -92,7 +92,11 @@ class LibraryLocalAlbums extends React.Component{
|
||||
|
||||
return (
|
||||
<section className="list-wrapper">
|
||||
<List columns={columns} rows={albums} link_prefix={global.baseURL+"album/"} />
|
||||
<List
|
||||
columns={columns}
|
||||
rows={albums}
|
||||
className="library-local-album-list"
|
||||
link_prefix={global.baseURL+"album/"} />
|
||||
</section>
|
||||
)
|
||||
}else{
|
||||
|
||||
@ -62,6 +62,7 @@ class LibraryLocalArtists extends React.Component{
|
||||
columns={[{ name: 'name', width: '100'}]}
|
||||
rows={artists}
|
||||
link_prefix={global.baseURL+"artist/"}
|
||||
className="library-local-artist-list"
|
||||
handleContextMenu={(e,item) => this.handleContextMenu(e,item)}
|
||||
/>
|
||||
</section>
|
||||
|
||||
@ -88,8 +88,12 @@ class LibraryLocalDirectory extends React.Component{
|
||||
<List
|
||||
columns={[{ name: 'name', width: '100'}]}
|
||||
rows={items.folders}
|
||||
className="library-local-directory-list"
|
||||
link_prefix={global.baseURL+"library/local/directory/"} />
|
||||
<TrackList tracks={items.tracks} noheader />
|
||||
<TrackList
|
||||
tracks={items.tracks}
|
||||
className="library-local-track-list"
|
||||
noheader />
|
||||
</section>
|
||||
</div>
|
||||
);
|
||||
|
||||
@ -81,11 +81,12 @@ class LibraryPlaylists extends React.Component{
|
||||
}
|
||||
]
|
||||
return (
|
||||
<section className="list-wrapper playlist-list">
|
||||
<section className="list-wrapper">
|
||||
<List
|
||||
handleContextMenu={(e,item) => this.handleContextMenu(e,item)}
|
||||
rows={playlists}
|
||||
columns={columns}
|
||||
className="playlist-list"
|
||||
link_prefix={global.baseURL+"playlist/"} />
|
||||
</section>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user