Remove BlackBerry customizations

This commit is contained in:
2012-12-07 14:30:36 -05:00
parent 3272dd7975
commit 082edc214c
7 changed files with 9 additions and 80 deletions
+2 -10
View File
@@ -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>
}
}