Skip to content

Commit

Permalink
added details page style updates to rest of model work
Browse files Browse the repository at this point in the history
  • Loading branch information
acatchpole committed Aug 28, 2024
1 parent 38a0438 commit 8f7d4be
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions app/Server/src/SERVERAPI/Views/Nutrients/FertigationDetails.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Layout = null;
}
<div id="target">
<form asp-action="FertigationDetails" asp-controller="Nutrients" id="modForm" method="post"/>
<form asp-action="FertigationDetails" asp-controller="Nutrients" id="modForm" method="post">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h2 class="modal-title" id="myModalLabel">Fertigation Details - @Model.title</h2>
Expand Down Expand Up @@ -32,14 +32,14 @@
<div class="form-group col-sm-2" style="margin-right:0px; padding-right:0px; width:100px">
<label for="rate">Product Rate</label>
<div>
<input class="form-control" id="rate" type="text" />
<input class="form-control" asp-for="productRate" id="rate" type="text" />
</div>
</div>
<div class="form-group col-sm-2" style="margin-left:0px;padding-left:0px">
<div style="display:table; width:100%">
<div style="display:table-row">
<label for="ddlRate" style="text-align: center; display: block;">Units</label>
<select class="form-control" asp-for="selProductRateUnitOption" asp-items="@(new SelectList(Model.productRateUnitOptions,"Id","Value"))" id="ddlRate">
<label for="ddlProdRate" style="text-align: center; display: block;">Units</label>
<select class="form-control" asp-for="selProductRateUnitOption" asp-items="@(new SelectList(Model.productRateUnitOptions,"Id","Value"))" id="ddlProdRate">
<option>select</option>
</select>
</div>
Expand All @@ -49,7 +49,7 @@
<div class="form-group col-sm-2" style="margin-right:0px; padding-right:0px; width:100px">
<label for="rate">Density</label>
<div>
<input class="form-control" id="rate" type="text" />
<input class="form-control" asp-for="density" id="rate" type="text" />
</div>
</div>
<div class="form-group col-sm-2" style="margin-left:0px;padding-left:0px; width:100px">
Expand All @@ -74,13 +74,13 @@
<div class="form-group col-sm-2" style="margin-right:0px; padding-right:0px; width:100px">
<label for="rate">Injection Rate</label>
<div>
<input class="form-control" id="rate" type="text" />
<input class="form-control" asp-for="injectionRate" id="rate" type="text" />
</div>
</div>
<div class="form-group col-sm-2" style="margin-left:0px; padding-left:0px">
<div style="display:table; width:100%">
<label for="ddlRate" style="text-align: center; display: block;">Units</label>
<select class="form-control" asp-for="selInjectionRateUnitOption" asp-items="@(new SelectList(Model.injectionRateUnitOptions,"Id","Value"))" id="ddlRate">
<label for="ddlInjRate" style="text-align: center; display: block;">Units</label>
<select class="form-control" asp-for="selInjectionRateUnitOption" asp-items="@(new SelectList(Model.injectionRateUnitOptions,"Id","Value"))" id="ddlInjRate">
<option>select</option>
</select>
</div>
Expand Down Expand Up @@ -111,8 +111,8 @@
<button type="submit" class="btn btn-primary" id="calc_button" style="margin-left: 5px">Calculate</button>
</div>

<!-- ******************************************** /Input Section> / <Calculated Results ********************************************* -->
<hr style="height:1px;border:none;color:blue;background-color:lightblue;padding:0; margin-top: 5px;" />

<hr style="height:1px;border:none;color:blue;background-color:lightblue;padding:0; margin-top: 5px;" />

<div class="row">
<div class="form-group">
Expand Down Expand Up @@ -232,7 +232,6 @@
</div>
</div>
</div>
</div>
</div>
</div>

Expand All @@ -242,6 +241,7 @@
</div>
@Html.HiddenFor(x => x.fieldName)
@Html.HiddenFor(x => x.selFertOption)
</form>
</div>

<script>
Expand Down

0 comments on commit 8f7d4be

Please sign in to comment.