diff options
Diffstat (limited to 'PollutometerWebApi/Views/Shared')
-rw-r--r-- | PollutometerWebApi/Views/Shared/Error.cshtml | 5 | ||||
-rw-r--r-- | PollutometerWebApi/Views/Shared/_Layout.cshtml | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/PollutometerWebApi/Views/Shared/Error.cshtml b/PollutometerWebApi/Views/Shared/Error.cshtml new file mode 100644 index 0000000..20ec06a --- /dev/null +++ b/PollutometerWebApi/Views/Shared/Error.cshtml @@ -0,0 +1,5 @@ +@model System.Web.Mvc.HandleErrorInfo + +<div> + <h2>An error occurred while processing your request.</h2> +</div> diff --git a/PollutometerWebApi/Views/Shared/_Layout.cshtml b/PollutometerWebApi/Views/Shared/_Layout.cshtml new file mode 100644 index 0000000..54f6729 --- /dev/null +++ b/PollutometerWebApi/Views/Shared/_Layout.cshtml @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html> +<head> + <title>@ViewBag.Title</title> +</head> +<body> + @RenderBody() +</body> +</html> |