-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhanced FertigationDetails Layout and Styling plus Fertigation Modal…
… Build pt 1 (#681) * Form select fields setup complete * WIP * feat: Enhance FertigationDetails view layout and spacing - added spacer to FertilizerDetails to match with design - Improve overall UI readability in FertigationDetails while maintaining functionality * fix: Correct form tag in FertigationDetails view * change div to h4 for headings --------- Co-authored-by: Dallas Richmond <[email protected]> Co-authored-by: Paul Garewal <[email protected]> Co-authored-by: luna <[email protected]>
- Loading branch information
1 parent
23ee6fc
commit f2c3ecb
Showing
9 changed files
with
322 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using System.Collections.Generic; | ||
using System.ComponentModel.DataAnnotations; | ||
|
||
namespace Agri.Models.Configuration | ||
{ | ||
public class Fertigation | ||
{ | ||
public Fertigation() | ||
{ | ||
// LiquidFertilizerDensities = new List<LiquidFertilizerDensity>(); | ||
} | ||
|
||
public List<Fertilizer> Fertilizers { get; set; } | ||
public List<LiquidFertilizerDensity> LiquidFertilizerDensities { get; set; } | ||
public List<LiquidMaterialApplicationUSGallonsPerAcreRateConversion> LiquidMaterialApplicationUsGallonsPerAcreRateConversions { get; set; } | ||
public List<LiquidMaterialsConversionFactor> LiquidMaterialsConversionFactors { get; set; } | ||
public List<FertigationType> FertigationTypes { get; set; } | ||
public List<ProductRateUnit> ProductRateUnits { get; set; } | ||
public List<DensityUnit> DensityUnits { get; set; } | ||
public List<InjectionRateUnit> InjectionRateUnits { get; set; } | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System.Collections.Generic; | ||
using System.ComponentModel.DataAnnotations; | ||
|
||
namespace Agri.Models.Configuration | ||
{ | ||
public class FertigationType : Versionable | ||
{ | ||
[Key] | ||
public int Id { get; set; } | ||
public string Name { get; set; } | ||
public string LiquidSolid { get; set; } | ||
public bool Custom { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System.Collections.Generic; | ||
using System.ComponentModel.DataAnnotations; | ||
|
||
namespace Agri.Models.Configuration | ||
{ | ||
public class InjectionRateUnit : Versionable | ||
{ | ||
[Key] | ||
public int Id { get; set; } | ||
public string Name { get; set; } | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System.Collections.Generic; | ||
using System.ComponentModel.DataAnnotations; | ||
|
||
namespace Agri.Models.Configuration | ||
{ | ||
public class ProductRateUnit | ||
{ | ||
public ProductRateUnit() | ||
{ | ||
|
||
} | ||
|
||
public int Id { get; set; } | ||
public string Name { get; set; } | ||
// public decimal ConvFactor { get; set; } | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.