Remove BlackBerry customizations
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
@using MileageTraker.Web.Utility
|
||||
@model MileageTraker.Web.ViewModels.ConfirmCreateLogViewModel
|
||||
@model MileageTraker.Web.ViewModels.ConfirmCreateLogViewModel
|
||||
|
||||
@{
|
||||
ViewBag.Title = "Confirm";
|
||||
var blackBerry = Request.IsBlackBerry();
|
||||
ViewBag.PageStyle = blackBerry ? "~/Content/CreateLog/BlackBerry.css" : "~/Content/CreateLog/Index.css";
|
||||
ViewBag.PageStyle = "~/Content/CreateLog/Index.css";
|
||||
Layout = "~/Views/Shared/_Layout.min.cshtml";
|
||||
var endOdometerStyle = Model.PreviousOdometer != null ? "style=padding-bottom:0px;" : "";
|
||||
}
|
||||
@@ -12,11 +10,8 @@
|
||||
|
||||
@using (Html.BeginForm("Action", "CreateLog", FormMethod.Post))
|
||||
{
|
||||
if (!blackBerry)
|
||||
{
|
||||
@:<fieldset>
|
||||
<legend>@ViewBag.Title</legend>
|
||||
}
|
||||
<p class="warning">Please <strong>confirm</strong> - entry not complete until <strong>confirm</strong> clicked</p>
|
||||
if (Model.Miles == 0)
|
||||
{
|
||||
@@ -85,8 +80,5 @@
|
||||
<input type="submit" name="Edit" value="Back" />
|
||||
<input type="submit" name="Confirm" value="Confirm" />
|
||||
</div>
|
||||
if (!blackBerry)
|
||||
{
|
||||
@:</fieldset>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user