Branding
The brand the web app wears, as branding/branding.yml keeps it.
Attributes
attributenamestr= Field(default='SealSkin', min_length=1, max_length=60)The product name, which stands wherever the interface would say SealSkin.
attributelogo_linkstr= Field(default=PROJECT_URL, max_length=2000)Where the logo leads; empty for nowhere.
attributeaccentstr= Field(default='', pattern='^(#[0-9a-fA-F]{6})?$')The accent color as #rrggbb, or empty for the default violet.
attributeappslist[BrandApp]= Field(default_factory=default_brand_apps, max_length=4)Where the companion apps are had, one entry per client, shown on the sign-in page and with the application keys.
attributewallpaper_fitstr= Field(default='cover', pattern='^(cover|contain|stretch|center)$')How the wallpaper sits on the home page.
attributewallpaper_blurint= Field(default=0, ge=0, le=24)Pixels of blur over the wallpaper.
attributewallpaper_dimint= Field(default=30, ge=0, le=90)Percent the wallpaper is darkened.
attributewallpaper_forcedbool= FalseEvery user sees the wallpaper, and the page's own customization is withheld.
attributelinkslist[BrandLink]= Field(default_factory=list, max_length=40)Links the home page shows beside the applications.
Functions
func_stripped(value) -> strTrim the text fields.
paramvaluestrReturns
strfunc_link_shape(value) -> strAllow an http or https address, or none.
paramvaluestrReturns
strfunc_every_app_once(value) -> list[BrandApp]Keep one entry per client, in the stores' order, the official address standing in for an empty one.
paramvaluelist[BrandApp]Returns
list[app.models.BrandApp]