Allow setting custom CSS classes for individual widgets

This commit is contained in:
Svilen Markov
2024-06-29 15:55:17 +01:00
parent b327e59ab1
commit 4dbb5975c0
3 changed files with 9 additions and 2 deletions

View File

@@ -119,6 +119,7 @@ const (
type widgetBase struct {
Type string `yaml:"type"`
Title string `yaml:"title"`
CSSClass string `yaml:"css-class"`
CustomCacheDuration DurationField `yaml:"cache"`
ContentAvailable bool `yaml:"-"`
Error error `yaml:"-"`