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 -9
View File
@@ -1,10 +1,8 @@
@using MileageTraker.Web.Utility
@model MileageTraker.Web.ViewModels.CreateLogViewModel
@model MileageTraker.Web.ViewModels.CreateLogViewModel
@{
ViewBag.Title = "Enter Mileage Log";
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";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
@@ -13,17 +11,12 @@
@using (Html.BeginForm("Index", "CreateLog", FormMethod.Post))
{
if (!blackBerry) {
@:<fieldset>
<legend>@ViewBag.Title</legend>
}
@Html.ValidationSummary(true)
@Html.EditorForModel()
<div class="submit">
<input type="submit" value="Submit" />
</div>
if (!blackBerry)
{
@:</fieldset>
}
}