Skip to content

Error pages ignore user theme image [Includes fix] #762

@Bugsbane

Description

@Bugsbane

Currently, if the user sets a background image in the theming section, the login page (rightly) looks like this:
login

but whenever the user hits any kind of error Nextcloud ignores the users theming and shows this:
error

With two commits from my branch though, instead error pages are correctly themed, like so:
error-themed

The sexy part of this is that if the themed image doesn't exist (eg. the theme app is uninstalled) it gracefully falls back to the current behaviour.

The single line change can be found in the following two commits (yeah, I screwed up the first one) in my repo:
Bugsbane@d0c2cf3
Bugsbane@45e7934

I'm just not doing a PR as I'm currently making a lot of other changes to styles.css and committing the whole file in it's current state would break all kinds of stuff, and my Git-fu is not yet strong enough to know a way around it. :(

So could I get this looked at by our illustrious @nextcloud/designers and merged if it all looks good?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions