Complete #179
This commit is contained in:
4 files changed
+43
-28
No files matched your search
@@ -187,13 +187,17 @@ export const AppBar = () => {
|
|||||||
>
|
>
|
||||||
<MenuItem
|
<MenuItem
|
||||||
onClick={() => navigate("/settings")}
|
onClick={() => navigate("/settings")}
|
||||||
|
disabled
|
||||||
>
|
>
|
||||||
<ListItemIcon>
|
<ListItemIcon>
|
||||||
<MdiCog />
|
<MdiCog />
|
||||||
</ListItemIcon>
|
</ListItemIcon>
|
||||||
Settings
|
Settings
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
<MenuItem onClick={() => navigate("/about")}>
|
<MenuItem
|
||||||
|
onClick={() => navigate("/about")}
|
||||||
|
disabled
|
||||||
|
>
|
||||||
<ListItemIcon>
|
<ListItemIcon>
|
||||||
<MdiInformation />
|
<MdiInformation />
|
||||||
</ListItemIcon>
|
</ListItemIcon>
|
||||||
|
|||||||
@@ -168,34 +168,42 @@ export const SideMenu = ({}) => {
|
|||||||
{libraries.data.Items.map(
|
{libraries.data.Items.map(
|
||||||
(lib, index) => {
|
(lib, index) => {
|
||||||
return (
|
return (
|
||||||
<NavLink
|
<Tooltip
|
||||||
to={`/library/${lib.Id}`}
|
title={lib.Name}
|
||||||
className="sidemenu-item"
|
placement="right"
|
||||||
|
arrow
|
||||||
|
followCursor
|
||||||
|
key={index}
|
||||||
>
|
>
|
||||||
<div className="sidemenu-item-icon">
|
<NavLink
|
||||||
{
|
to={`/library/${lib.Id}`}
|
||||||
MediaCollectionTypeIconCollection[
|
className="sidemenu-item"
|
||||||
lib
|
|
||||||
.CollectionType
|
|
||||||
]
|
|
||||||
}
|
|
||||||
</div>
|
|
||||||
<Typography
|
|
||||||
className="sidemenu-item-text"
|
|
||||||
variant="caption"
|
|
||||||
fontWeight={
|
|
||||||
500
|
|
||||||
}
|
|
||||||
style={{
|
|
||||||
width: "80%",
|
|
||||||
}}
|
|
||||||
overflow="hidden"
|
|
||||||
textOverflow="ellipsis"
|
|
||||||
textAlign="center"
|
|
||||||
>
|
>
|
||||||
{lib.Name}
|
<div className="sidemenu-item-icon">
|
||||||
</Typography>
|
{
|
||||||
</NavLink>
|
MediaCollectionTypeIconCollection[
|
||||||
|
lib
|
||||||
|
.CollectionType
|
||||||
|
]
|
||||||
|
}
|
||||||
|
</div>
|
||||||
|
<Typography
|
||||||
|
className="sidemenu-item-text"
|
||||||
|
variant="caption"
|
||||||
|
fontWeight={
|
||||||
|
500
|
||||||
|
}
|
||||||
|
style={{
|
||||||
|
width: "80%",
|
||||||
|
}}
|
||||||
|
overflow="hidden"
|
||||||
|
textOverflow="ellipsis"
|
||||||
|
textAlign="center"
|
||||||
|
>
|
||||||
|
{lib.Name}
|
||||||
|
</Typography>
|
||||||
|
</NavLink>
|
||||||
|
</Tooltip>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
)}
|
)}
|
||||||
@@ -270,6 +278,8 @@ export const SideMenu = ({}) => {
|
|||||||
justifyContent:
|
justifyContent:
|
||||||
"center",
|
"center",
|
||||||
px: 2.5,
|
px: 2.5,
|
||||||
|
flexDirection:
|
||||||
|
"row",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<ListItemIcon
|
<ListItemIcon
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
&-container {
|
&-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
margin-top: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|||||||
@@ -396,7 +396,7 @@ const AudioPlayer = () => {
|
|||||||
})}
|
})}
|
||||||
</Paper>
|
</Paper>
|
||||||
</Popper>
|
</Popper>
|
||||||
<IconButton onClick={handleOpenQueue}>
|
<IconButton onClick={handleOpenQueue} disabled>
|
||||||
<MdiPlaylistMusicOutline />
|
<MdiPlaylistMusicOutline />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
<IconButton
|
<IconButton
|
||||||
|
|||||||
Reference in new issue
Block a user