PublicDashboards: Title logo and footer redesign (#74769)

---------

Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
This commit is contained in:
Juan Cabanas
2023-10-13 13:18:05 -03:00
committed by GitHub
parent e0f32f4363
commit cdca1518d2
9 changed files with 213 additions and 80 deletions

View File

@@ -93,27 +93,27 @@ type FrontendSettingsFooterConfigItemDTO struct {
}
// Enterprise-only
type FrontendSettingsPublicDashboardFooterConfigDTO struct {
Hide bool `json:"hide"`
Text string `json:"text"`
Logo string `json:"logo"`
Link string `json:"link"`
type FrontendSettingsPublicDashboardConfigDTO struct {
FooterHide bool `json:"footerHide"`
FooterText string `json:"footerText"`
FooterLogo string `json:"footerLogo"`
FooterLink string `json:"footerLink"`
HeaderLogoHide bool `json:"headerLogoHide"`
}
// Enterprise-only
type FrontendSettingsWhitelabelingDTO struct {
Links []FrontendSettingsFooterConfigItemDTO `json:"links"`
LoginTitle string `json:"loginTitle"`
AppTitle *string `json:"appTitle,omitempty"`
LoginLogo *string `json:"loginLogo,omitempty"`
MenuLogo *string `json:"menuLogo,omitempty"`
LoginBackground *string `json:"loginBackground,omitempty"`
LoginSubtitle *string `json:"loginSubtitle,omitempty"`
LoginBoxBackground *string `json:"loginBoxBackground,omitempty"`
LoadingLogo *string `json:"loadingLogo,omitempty"`
HideEdition *bool `json:"hideEdition,omitempty"`
PublicDashboardFooter *FrontendSettingsPublicDashboardFooterConfigDTO `json:"publicDashboardFooter,omitempty"` // PR TODO: type this properly
Links []FrontendSettingsFooterConfigItemDTO `json:"links"`
LoginTitle string `json:"loginTitle"`
AppTitle *string `json:"appTitle,omitempty"`
LoginLogo *string `json:"loginLogo,omitempty"`
MenuLogo *string `json:"menuLogo,omitempty"`
LoginBackground *string `json:"loginBackground,omitempty"`
LoginSubtitle *string `json:"loginSubtitle,omitempty"`
LoginBoxBackground *string `json:"loginBoxBackground,omitempty"`
LoadingLogo *string `json:"loadingLogo,omitempty"`
HideEdition *bool `json:"hideEdition,omitempty"`
PublicDashboard *FrontendSettingsPublicDashboardConfigDTO `json:"publicDashboard,omitempty"`
}
type FrontendSettingsSqlConnectionLimitsDTO struct {