Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Plugin] Dark Theme (now highly configurable!)

Featured Replies

Feb 3 05:44:38 Tower nginx: 2020/02/03 05:44:38 [error] 6468#6468: *2831 open() "/usr/local/emhttp/<br /><b>Warning</b>: filemtime(): stat failed for /usr/local/emhttp/plugins/unassigned.devices/assets/style-dark.css in <b>/usr/local/emhttp/plugins/dynamix/include/Helpers.php</b> on line <b>248</b><br />/plugins/unassigned.devices/assets/style-dark.css" failed (2: No such file or directory), client: 192.168.1.170, server: , request: "GET /%3Cbr%20/%3E%3Cb%3EWarning%3C/b%3E:%20%20filemtime():%20stat%20failed%20for%20/usr/local/emhttp/plugins/unassigned.devices/assets/style-dark.css%20in%20%3Cb%3E/usr/local/emhttp/plugins/dynamix/include/Helpers.php%3C/b%3E%20on%20line%20%3Cb%3E248%3C/b%3E%3Cbr%20/%3E/plugins/unassigned.devices/assets/style-dark.css?v= HTTP/1.1", host: "tower", referrer: "http://tower/Main"

I'm getting this error in my log with the Dark Theme plugin installed whenever I click on the Main tab of the unRAID gui. If I remove the plugin, the error goes away.

  • Replies 57
  • Views 22.1k
  • Created
  • Last Reply
  • Author
3 hours ago, no1home said:

Feb 3 05:44:38 Tower nginx: 2020/02/03 05:44:38 [error] 6468#6468: *2831 open() "/usr/local/emhttp/<br /><b>Warning</b>: filemtime(): stat failed for /usr/local/emhttp/plugins/unassigned.devices/assets/style-dark.css in <b>/usr/local/emhttp/plugins/dynamix/include/Helpers.php</b> on line <b>248</b><br />/plugins/unassigned.devices/assets/style-dark.css" failed (2: No such file or directory), client: 192.168.1.170, server: , request: "GET /%3Cbr%20/%3E%3Cb%3EWarning%3C/b%3E:%20%20filemtime():%20stat%20failed%20for%20/usr/local/emhttp/plugins/unassigned.devices/assets/style-dark.css%20in%20%3Cb%3E/usr/local/emhttp/plugins/dynamix/include/Helpers.php%3C/b%3E%20on%20line%20%3Cb%3E248%3C/b%3E%3Cbr%20/%3E/plugins/unassigned.devices/assets/style-dark.css?v= HTTP/1.1", host: "tower", referrer: "http://tower/Main"

I'm getting this error in my log with the Dark Theme plugin installed whenever I click on the Main tab of the unRAID gui. If I remove the plugin, the error goes away.

That's an unassigned.devices error, looks like they are adding custom css for this theme but not quite there.

1 hour ago, Skitals said:

That's an unassigned.devices error, looks like they are adding custom css for this theme but not quite there.

Doubt that.  What it'll be is that @dlandon is loading CSS for whatever theme is selected, but doesn't have a fall back if the CSS file doesn't exist.  Can't really blame him as everyone only supports whatever comes with the stock OS (although CA does have a fall back and a hook for custom themes to override any CSS present in CA)

  • Author
5 hours ago, Squid said:

Doubt that.  What it'll be is that @dlandon is loading CSS for whatever theme is selected, but doesn't have a fall back if the CSS file doesn't exist.  Can't really blame him as everyone only supports whatever comes with the stock OS (although CA does have a fall back and a hook for custom themes to override any CSS present in CA)

Good call.

<link rel="stylesheet" type="text/css" href="<?autov('/plugins/'.$plugin.'/assets/style-'.$display['theme'].'.css')?>">

Solution is to switch to Theme Engine. Dark Theme is included, and all themes use a stock "base theme" to get around all the hard coding.

 

Squid, is there a process to deprecate this plugin? I would like to encourage people to migrate to Theme Engine. 

Edited by Skitals

30 minutes ago, Skitals said:

Squid, is there a process to deprecate this plugin? I would like to encourage people to migrate to Theme Engine. 

done

2 hours ago, Skitals said:

Solution is to switch to Theme Engine. Dark Theme is included, and all themes are use a stock "base theme" to get around all the hard coding.

Switched to Theme Engine and all is well. Thanks.

  • 4 weeks later...

What happen to this plugin? I got a notice is was being deprecated so I uninstalled. Looked like crap so I was going to just reinstall not in the CA anymore. Where can I get it?

2 hours ago, gsd2012 said:

What happen to this plugin? I got a notice is was being deprecated so I uninstalled. Looked like crap so I was going to just reinstall not in the CA anymore. Where can I get it?

It has been superseded by the Theme Engine plugin that provides more customisation options.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.