Jump to content

Is there a safe mode?


Go to solution Solved by Happy2Play,

Recommended Posts

goobee01
Posted

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.

wheel.jpg

Happy2Play
Posted

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.

image.thumb.png.effcd8d0c6bde7c1c7306d6bb70fb880.png

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
Posted

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?

1.JPG

2.JPG

3.JPG

Happy2Play
Posted
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
Posted

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.

4.JPG

Happy2Play
Posted
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
Posted

User account Gear and user icon are the same.

image.png.5eb0ee0a819714e535cdfeb68ffe04fa.png

admin account

Gear takes you to dashboard

TMCsw
Posted

You peps are over complicating this, this takes care of the gear cog allowing admin stuff or not:

 image.png.06318226ee0f2fc09c67655c3130cf03.png

and besides CSS stuff only works on web browsers...

  • Agree 1
goobee01
Posted

@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
Posted (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 by Happy2Play
TMCsw
Posted (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 by TMCsw
goobee01
Posted

Thanks guys for your help.

I've decided to leave the Profile icon up.

10.jpg.3fe8016bee3f2cc5c22e78eb55bf23d6.jpg

When it's me logged in, I have the "Manage Emby Server" option.

11.jpg.d405e48b74bbd7c2baefca0f45c42272.jpg

With other users, it is not available.

13.JPG.e6e14d4116907860b9a216d1493f5525.JPG

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
Posted
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;}

 

  • Like 1
goobee01
Posted

Thanks Happy2Play, it's worked.

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...