Add dynamic columns style for bookmarks, stocks & monitor sites
This commit is contained in:
parent
503562f2e5
commit
714e1b6d29
8 changed files with 156 additions and 58 deletions
|
|
@ -22,6 +22,7 @@ type Bookmarks struct {
|
|||
HideArrow bool `yaml:"hide-arrow"`
|
||||
} `yaml:"links"`
|
||||
} `yaml:"groups"`
|
||||
Style string `yaml:"style"`
|
||||
}
|
||||
|
||||
func (widget *Bookmarks) Initialize() error {
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@ type Monitor struct {
|
|||
StatusText string `yaml:"-"`
|
||||
StatusStyle string `yaml:"-"`
|
||||
} `yaml:"sites"`
|
||||
Style string `yaml:"style"`
|
||||
}
|
||||
|
||||
func (widget *Monitor) Initialize() error {
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ type Stocks struct {
|
|||
widgetBase `yaml:",inline"`
|
||||
Stocks feed.Stocks `yaml:"stocks"`
|
||||
Sort string `yaml:"sort-by"`
|
||||
Style string `yaml:"style"`
|
||||
}
|
||||
|
||||
func (widget *Stocks) Initialize() error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue