diff --git a/src/documents/context_processors.py b/src/documents/context_processors.py index fd2757133..869857dbf 100644 --- a/src/documents/context_processors.py +++ b/src/documents/context_processors.py @@ -5,6 +5,10 @@ from paperless.config import GeneralConfig def settings(request): general_config = GeneralConfig() + + app_title = django_settings.APP_TITLE + if general_config.app_title is not None and len(general_config.app_title) > 0: + app_title = general_config.app_title app_logo = django_settings.APP_LOGO if general_config.app_logo is not None and len(general_config.app_logo) > 0: app_logo = general_config.app_logo @@ -15,5 +19,6 @@ def settings(request): "DISABLE_REGULAR_LOGIN": django_settings.DISABLE_REGULAR_LOGIN, "ACCOUNT_ALLOW_SIGNUPS": django_settings.ACCOUNT_ALLOW_SIGNUPS, "domain": getattr(django_settings, "PAPERLESS_URL", request.get_host()), + "APP_TITLE": app_title, "APP_LOGO": app_logo, } diff --git a/src/documents/static/base.css b/src/documents/static/base.css index d9cb9c606..ed6f091ba 100644 --- a/src/documents/static/base.css +++ b/src/documents/static/base.css @@ -16,6 +16,14 @@ body { letter-spacing: 0.1rem; } +.mt-n1 { + margin-top: -0.8rem; +} + +.text-primary { + color: var(--pngx-primary) !important; +} + .form-control { --bs-body-bg: #fff; } diff --git a/src/documents/templates/paperless-ngx/base.html b/src/documents/templates/paperless-ngx/base.html index 9e330ab38..293eab3e8 100644 --- a/src/documents/templates/paperless-ngx/base.html +++ b/src/documents/templates/paperless-ngx/base.html @@ -20,10 +20,17 @@