Theme
theme.models#
FooterConfig
#
Bases: Model
A model defining the configuration of the footer
Attributes:
Name | Type | Description |
---|---|---|
theme |
ThemeConfig
|
Linked theme configuration |
logos |
SponsorImage
|
Linked sponsor images |
Source code in theme/models.py
HeaderConfig
#
Bases: Model
A model defing the header configuration
Attributes:
Name | Type | Description |
---|---|---|
theme |
ThemeConfig
|
Linked theme configuration |
show_score |
bool
|
Should the score be shown in the header? |
Source code in theme/models.py
SponsorImage
#
Bases: Model
A model to define sponsor images for the footer configuration
Attributes:
Name | Type | Description |
---|---|---|
footer_config |
FooterConfig
|
Linked footer configuration |
image |
Image
|
Linked image to be used as sponsor image |
index |
int
|
Order in which the image should be displayed |
Source code in theme/models.py
ThemeConfig
#
Bases: Model
A model defining the theme of an experiment or block
Attributes:
Name | Type | Description |
---|---|---|
name |
str
|
The name of this theme configuration |
description |
str
|
The description of this theme config |
heading_font_url |
str
|
Url of the heading font |
body_font_url |
str
|
Url of the body font |
logo_image |
Image
|
Linked image to be used as logo |
background_image |
Image
|
Linked image to be used as background |