mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
update widgets, add label, color, description, change top two widgets
This commit is contained in:
@@ -12,8 +12,11 @@ const settingsFile = "settings.json"
|
||||
var settingsAbsPath = filepath.Join(configDirAbsPath, settingsFile)
|
||||
|
||||
type WidgetsConfigType struct {
|
||||
Icon string `json:"icon"`
|
||||
BlockDef wstore.BlockDef `json:"blockdef"`
|
||||
Icon string `json:"icon"`
|
||||
Color string `json:"color,omitempty"`
|
||||
Label string `json:"label,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
BlockDef wstore.BlockDef `json:"blockdef"`
|
||||
}
|
||||
|
||||
type SettingsConfigType struct {
|
||||
|
||||
Reference in New Issue
Block a user