Add themed UI, favicon, plan deletion, regrow cycles, and crop prep/post tasks
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user