-
Notifications
You must be signed in to change notification settings - Fork 85
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 Images into Side Nav #713
Comments
This issue now has a bounty: https://www.bountysource.com/issues/72155079-add-images-into-side-nav The cmdlet for this can be found here: https://github.com/ironmansoftware/universal-dashboard/blob/master/src/UniversalDashboard/Cmdlets/NewSideNavCommand.cs The JSX side of it is here: https://github.com/ironmansoftware/universal-dashboard/blob/master/src/UniversalDashboard.Materialize/Components/ud-navigation.jsx |
So something like this? With options to add an e-mail/background.
|
Is |
I don't know actually. Not really but it might be set to as a mandatory field atm... |
I’m no css ninja but would be an honour to help out in anyway possible. Just let me know if you got your own fork page or where I can get this from. Thanks Amazing work by the way for solving this conundrum |
Yo @oitptobbe if you upload this to your github then let me know. I will do my best to make it look pretty then PR it back to you? |
@psDevUK Yes I will upload the code tomorrow if I can. Might be delayed until Saturday depending on if I can get another issue solved or if I give up. Iirc the issue is that when we add a image to said sidebar I also add the id “user-view” because otherwise the circle tag for the image doesn’t work. I’m guessing that a offset for user-view will fix the whole issue but... |
@oitptobbe aka obi wan kenobi whenever you ready I will be very interested to see this. Well done again |
Was checking what I had broken because it would not collapse... Then I noticed I had a -fixed parameter on new-udsidenav... Not sure why but now the elements are aligned it looks like. I'll submit a PR for this anyways. If you want to play around @psDevUK then go ahead. Its in my fork now.
And this is without the text for the first navitem. It also works now without a background image. |
…website for New-UDSideNav. Issue ironmansoftware#713.
@oitptobbe - Can you click claim on here? https://www.bountysource.com/issues/72155079-add-images-into-side-nav |
On the Materialize website https://materializecss.com/sidenav.html
Would be nice to add the image and user information at the top (click demo).
The text was updated successfully, but these errors were encountered: