Add reactive to mileage entry page
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
@model MileageTraker.Web.Models.Log
|
||||
@model MileageTraker.Web.Models.Log
|
||||
|
||||
@{
|
||||
ViewBag.Title = "Log Details";
|
||||
@@ -8,23 +8,23 @@
|
||||
|
||||
<h2>@ViewBag.Title</h2>
|
||||
|
||||
<div class="btn-toolbar">
|
||||
@Html.ActionLink("Edit", "Edit", new { id = Model.LogId }, new { @class = "btn" })
|
||||
@Html.ActionLink("Delete", "Delete", new { id = Model.LogId }, new { @class = "btn" })
|
||||
</div>
|
||||
|
||||
@Html.DisplayForModel()
|
||||
|
||||
<div>
|
||||
<ul class="pager">
|
||||
<li class="previous">
|
||||
@Html.ActionLink("Previous", "PreviousDetails", new { id = Model.LogId })
|
||||
</li>
|
||||
@if(TempData["Message"] != null) {
|
||||
@if(TempData["Message"] != null) { // so, yeah, span doesn't go here, but it renders
|
||||
<span class="alert">@TempData["Message"]</span>
|
||||
}
|
||||
<li class="next">
|
||||
@Html.ActionLink("Next", "NextDetails", new { id = Model.LogId })
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@Html.DisplayForModel()
|
||||
|
||||
<div class="btn-toolbar">
|
||||
@Html.ActionLink("Edit", "Edit", new { id = Model.LogId }, new { @class = "btn" })
|
||||
@Html.ActionLink("Delete", "Delete", new { id = Model.LogId }, new { @class = "btn" })
|
||||
</div>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<script src="@Url.Content("~/Scripts/jquery.qtip.min.js")" type="text/javascript"></script>
|
||||
}
|
||||
|
||||
<h2><img src="/Content/images/glyphicons_026_road.png"/> @ViewBag.Title</h2>
|
||||
<h2 id="log-title">@ViewBag.Title</h2>
|
||||
|
||||
<div class="btn-toolbar">
|
||||
@using (Html.BeginForm("Index", "Log", FormMethod.Get, new { id = "filter", @class = "form-inline" }))
|
||||
|
||||
Reference in New Issue
Block a user