Skip to content

Commit

Permalink
More UX
Browse files Browse the repository at this point in the history
  • Loading branch information
cwetanow committed May 24, 2017
1 parent bfc8313 commit 2359bf8
Show file tree
Hide file tree
Showing 2 changed files with 156 additions and 152 deletions.
192 changes: 96 additions & 96 deletions src/Logs.Web/Views/Measurement/MeasurementDetails.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,127 +4,127 @@
<hr />
@if (Model != null)
{
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.Date)
</dt>
<div class="col-md-4">
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.Height)
</dt>

<dd>
@Html.DisplayFor(model => model.Height)
</dd>

<dt>
@Html.DisplayNameFor(model => model.WeightKg)
</dt>

<dd>
@Html.DisplayFor(model => model.WeightKg)
</dd>

<dt>
@Html.DisplayNameFor(model => model.BodyFatPercent)
</dt>

<dd>
@Html.DisplayFor(model => model.Date)
</dd>
<dd>
@Html.DisplayFor(model => model.BodyFatPercent)
</dd>

<dt>
@Html.DisplayNameFor(model => model.Height)
</dt>
<dt>
@Html.DisplayNameFor(model => model.Chest)
</dt>

<dd>
@Html.DisplayFor(model => model.Height)
</dd>
<dd>
@Html.DisplayFor(model => model.Chest)
</dd>

<dt>
@Html.DisplayNameFor(model => model.WeightKg)
</dt>
<dt>
@Html.DisplayNameFor(model => model.Shoulders)
</dt>

<dd>
@Html.DisplayFor(model => model.WeightKg)
</dd>
<dd>
@Html.DisplayFor(model => model.Shoulders)
</dd>

<dt>
@Html.DisplayNameFor(model => model.BodyFatPercent)
</dt>
<dt>
@Html.DisplayNameFor(model => model.Forearm)
</dt>

<dd>
@Html.DisplayFor(model => model.BodyFatPercent)
</dd>
<dd>
@Html.DisplayFor(model => model.Forearm)
</dd>

<dt>
@Html.DisplayNameFor(model => model.Chest)
</dt>
<dt>
@Html.DisplayNameFor(model => model.Arm)
</dt>

<dd>
@Html.DisplayFor(model => model.Chest)
</dd>
<dd>
@Html.DisplayFor(model => model.Arm)
</dd>

<dt>
@Html.DisplayNameFor(model => model.Shoulders)
</dt>
</dl>
</div>
<div class="col-md-4">
<dl class="dl-horizontal">

<dd>
@Html.DisplayFor(model => model.Shoulders)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Waist)
</dt>

<dt>
@Html.DisplayNameFor(model => model.Forearm)
</dt>
<dd>
@Html.DisplayFor(model => model.Waist)
</dd>

<dd>
@Html.DisplayFor(model => model.Forearm)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Hips)
</dt>

<dt>
@Html.DisplayNameFor(model => model.Arm)
</dt>
<dd>
@Html.DisplayFor(model => model.Hips)
</dd>

<dd>
@Html.DisplayFor(model => model.Arm)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Thighs)
</dt>

<dt>
@Html.DisplayNameFor(model => model.Waist)
</dt>
<dd>
@Html.DisplayFor(model => model.Thighs)
</dd>

<dd>
@Html.DisplayFor(model => model.Waist)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Calves)
</dt>

<dt>
@Html.DisplayNameFor(model => model.Hips)
</dt>
<dd>
@Html.DisplayFor(model => model.Calves)
</dd>

<dd>
@Html.DisplayFor(model => model.Hips)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Neck)
</dt>

<dt>
@Html.DisplayNameFor(model => model.Thighs)
</dt>
<dd>
@Html.DisplayFor(model => model.Neck)
</dd>

<dd>
@Html.DisplayFor(model => model.Thighs)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Wrist)
</dt>

<dt>
@Html.DisplayNameFor(model => model.Calves)
</dt>
<dd>
@Html.DisplayFor(model => model.Wrist)
</dd>

<dd>
@Html.DisplayFor(model => model.Calves)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Ankle)
</dt>

<dt>
@Html.DisplayNameFor(model => model.Neck)
</dt>
<dd>
@Html.DisplayFor(model => model.Ankle)
</dd>

<dd>
@Html.DisplayFor(model => model.Neck)
</dd>
</dl>
</div>

<dt>
@Html.DisplayNameFor(model => model.Wrist)
</dt>

<dd>
@Html.DisplayFor(model => model.Wrist)
</dd>

<dt>
@Html.DisplayNameFor(model => model.Ankle)
</dt>

<dd>
@Html.DisplayFor(model => model.Ankle)
</dd>

</dl>
}
</div>
116 changes: 60 additions & 56 deletions src/Logs.Web/Views/Nutrition/NutritionDetails.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,70 +4,74 @@
<hr />
@if (Model != null)
{
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.Date)
</dt>
<div class="col-md-4">
<dl class="dl-horizontal">

<dt>
@Html.DisplayNameFor(model => model.Calories)
</dt>

<dd>
@Html.DisplayFor(model => model.Date)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Calories)
</dt>
<dd>
@Html.DisplayFor(model => model.Calories)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Protein)
</dt>

<dd>
@Html.DisplayFor(model => model.Calories)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Protein)
</dt>
<dd>
@Html.DisplayFor(model => model.Protein)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Carbs)
</dt>

<dd>
@Html.DisplayFor(model => model.Protein)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Carbs)
</dt>
<dd>
@Html.DisplayFor(model => model.Carbs)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Fats)
</dt>

<dd>
@Html.DisplayFor(model => model.Carbs)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Fats)
</dt>
<dd>
@Html.DisplayFor(model => model.Fats)
</dd>

</dl>
</div>
<div class="col-md-4">
<dl class="dl-horizontal">


<dt>
@Html.DisplayNameFor(model => model.Fiber)
</dt>

<dd>
@Html.DisplayFor(model => model.Fats)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Fiber)
</dt>
<dd>
@Html.DisplayFor(model => model.Fiber)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Sugar)
</dt>

<dd>
@Html.DisplayFor(model => model.Fiber)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Sugar)
</dt>
<dd>
@Html.DisplayFor(model => model.Sugar)
</dd>
<dt>
@Html.DisplayNameFor(model => model.WaterInLitres)
</dt>

<dd>
@Html.DisplayFor(model => model.Sugar)
</dd>
<dt>
@Html.DisplayNameFor(model => model.WaterInLitres)
</dt>
<dd>
@Html.DisplayFor(model => model.WaterInLitres)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Notes)
</dt>

<dd>
@Html.DisplayFor(model => model.WaterInLitres)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Notes)
</dt>
<dd>
@Html.DisplayFor(model => model.Notes)
</dd>
</dl>
</div>

<dd>
@Html.DisplayFor(model => model.Notes)
</dd>
</dl>
}
</div>

0 comments on commit 2359bf8

Please sign in to comment.