style(orion): align report header footer and page layout
This commit is contained in:
parent
302e542fda
commit
503b343070
40 changed files with 2010 additions and 148 deletions
12
validation-suite/backend/mercury/app/modules/orion/assets.py
Normal file
12
validation-suite/backend/mercury/app/modules/orion/assets.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
from __future__ import annotations
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
ORION_ASSET_DIR = Path(__file__).resolve().parent / "assets"
|
||||
SCHUBAMED_LOGO_PATH = ORION_ASSET_DIR / "schubamed-logo.svg"
|
||||
|
||||
|
||||
def schubamed_logo_uri() -> str:
|
||||
if not SCHUBAMED_LOGO_PATH.exists():
|
||||
raise FileNotFoundError(f"Required Orion logo asset is missing: {SCHUBAMED_LOGO_PATH}")
|
||||
return SCHUBAMED_LOGO_PATH.resolve().as_uri()
|
||||
Loading…
Add table
Add a link
Reference in a new issue