goobee01 1 Posted May 6, 2024 Posted May 6, 2024 I've been using server ver 4.6 with bits and pieces of CSS customizations cobbled from this forum. One of the mods I did was removing the options wheel from the right top corner of the screen. I accessed the server options from the left panel when needed. Today, I upgraded the server to the latest version and found that the server options are no longer available in the left panel. Is there a safe mode or similar that will bypass CSS customizations so that I can add the options wheel back in? Or better yet, is there CSS that enables the server options back onto the left panel? Thanks.
Happy2Play 9458 Posted May 6, 2024 Posted May 6, 2024 I don't entirely follow what do you mean left panel but no there is safe mode that disables css. But in a browser you can use the browser debug console to temporally enable/disable any css you like until you refresh the page. Did you remove access via user icon also? or navigate directly to the url as css does not restrict it only hides. http://localhost:8096/web/index.html#!/dashboard
goobee01 1 Posted May 6, 2024 Author Posted May 6, 2024 Sorry, I called it the left panel but it's most likely not called that. In the pictures below, you can see what it looks like now vs what it looks like before the upgrade. On the current version, the Admin functions don't show. If I am understanding your question correctly, I hid everything on the top of the page. Using http://localhost:8096/web/index.html#!/dashboard doesn't help, it just brings me to the log in page. I'm guessing that I will need to reinstall from scratch then?
Happy2Play 9458 Posted May 6, 2024 Posted May 6, 2024 24 minutes ago, goobee01 said: Using http://localhost:8096/web/index.html#!/dashboard doesn't help, it just brings me to the log in page. I'm guessing that I will need to reinstall from scratch then? Okay yes drawer options have been removed per all the redundancy (drawer, user icon, gear). No you still have options but what if you went to the connection you already have ie http://192.168.0.5:8096/web/index.html#!/dashboard (unauthenticated sessions will bounce to login screen so you would reauthenticate and go to dashboard url if using localhost) But have you brought up the browser console and selected a near element to get to actual hidden element as shown in image? To me that would be the easiest route but will need a understanding of that console. Last resort delete/edit the branding.xml and restart Emby. path will be platform prevalent. C:\Users\username\AppData\Roaming\Emby-Server\programdata\config\branding.xml
goobee01 1 Posted May 7, 2024 Author Posted May 7, 2024 OK, I found a way to get in on the host machine using the tray icon. As I want to be able to administer the server from different machines, I can take the CSS out that hiding the wheel for the time being. However, it's not a perfect solution as I want admin functions hidden to users.
Happy2Play 9458 Posted May 7, 2024 Posted May 7, 2024 3 minutes ago, goobee01 said: However, it's not a perfect solution as I want admin functions hidden to users. But users do not have admin functionality and is restricted by default. So you would need to clarify functionality as you are hiding user config sort of. As all css is circumventable via console. But yes assuming you are logged in with admin user "Configure Emby" via tray is an option as it is the same as I already said via direct url http://localhost:8091/web/index.html#!/dashboard.
Happy2Play 9458 Posted May 7, 2024 Posted May 7, 2024 User account Gear and user icon are the same. admin account Gear takes you to dashboard
TMCsw 180 Posted May 7, 2024 Posted May 7, 2024 You peps are over complicating this, this takes care of the gear cog allowing admin stuff or not: and besides CSS stuff only works on web browsers... 1
goobee01 1 Posted May 7, 2024 Author Posted May 7, 2024 What's funny is, http://localhost:8096/web/index.html#!/dashboard/ doesn't seem to get me to the admin section. If I add "settings", then it works. http://localhost:8096/web/index.html#!/dashboard/settings I'll keep playing with it. My server is located in a very inconvenient place of the house where it is a pain to get at.
goobee01 1 Posted May 7, 2024 Author Posted May 7, 2024 @TMCsw. Yeah, I'll probably just leave the cog and uncheck the box. I did however, like the clean look. We only use the web interface anyway.
Happy2Play 9458 Posted May 7, 2024 Posted May 7, 2024 (edited) 7 minutes ago, goobee01 said: What's funny is, http://localhost:8096/web/index.html#!/dashboard/ doesn't seem to get me to the admin section. If I add "settings", then it works. http://localhost:8096/web/index.html#!/dashboard/settings I'll keep playing with it. My server is located in a very inconvenient place of the house where it is a pain to get at. One is the Dashboard and the other is Settings ie two different pages. Eventhough both your urls actually go to settings do to display text. Just like when you go to tray icon and select Configure Server it goes to /Dashboard, correct? Edited May 7, 2024 by Happy2Play
TMCsw 180 Posted May 7, 2024 Posted May 7, 2024 (edited) 35 minutes ago, goobee01 said: What's funny is, Not really... .. because you have logged into that site before as an admin it is using 'cookies or other means' to verify your admin account. Just try it from elsewere... Edited May 7, 2024 by TMCsw
goobee01 1 Posted May 7, 2024 Author Posted May 7, 2024 Thanks guys for your help. I've decided to leave the Profile icon up. When it's me logged in, I have the "Manage Emby Server" option. With other users, it is not available. Does anyone know what the CSS is to hide the "App Setting Emby Web 4.8.6.0" and Cog in the profile menu?
Solution Happy2Play 9458 Posted May 7, 2024 Solution Posted May 7, 2024 11 hours ago, goobee01 said: Does anyone know what the CSS is to hide the "App Setting Emby Web 4.8.6.0" and Cog in the profile menu? something like div.dialogContainer [data-id="settings"] {display: none;} 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now