Add themed UI, favicon, plan deletion, regrow cycles, and crop prep/post tasks

This commit is contained in:
Kai
2026-02-16 13:27:47 +01:00
parent 51181a83c8
commit a1c1ef31a3
14 changed files with 552 additions and 127 deletions

View File

@@ -29,6 +29,8 @@ type Crop struct {
SowStartMonth int
SowEndMonth int
GrowMonths int
RegrowEnabled bool
RegrowCycles int
}
type Plan struct {
@@ -38,11 +40,23 @@ type Plan struct {
TargetName string
CropID int64
CropName string
GrowMonths int
StartMonth int
StartDay int
HarvestMonth int
HarvestDay int
Notes string
RegrowEnabled bool
RegrowCycles int
}
type CropStep struct {
ID int64
CropID int64
CropName string
Phase string
MonthOffset int
Title string
}
type Task struct {
@@ -98,7 +112,8 @@ type FieldsPage struct {
type CropsPage struct {
BasePage
Crops []Crop
Crops []Crop
CropSteps []CropStep
}
type PlanningPage struct {