From 53921ccea49bd8a7840d5bbc71c57c8691ed92bf Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 6 May 2021 18:29:43 +0300 Subject: Removed unnecessary usings, space identation got updated to tab identation and added authentication in Startup.cs --- ExamTemplate/Web/Views/Home/Index.cshtml | 6 +-- ExamTemplate/Web/Views/Home/Privacy.cshtml | 2 +- ExamTemplate/Web/Views/Shared/Error.cshtml | 18 +++---- ExamTemplate/Web/Views/Shared/_Layout.cshtml | 80 ++++++++++++++-------------- ExamTemplate/Web/Views/_ViewStart.cshtml | 2 +- 5 files changed, 54 insertions(+), 54 deletions(-) (limited to 'ExamTemplate/Web/Views') diff --git a/ExamTemplate/Web/Views/Home/Index.cshtml b/ExamTemplate/Web/Views/Home/Index.cshtml index 1fcf97d..2016fc4 100644 --- a/ExamTemplate/Web/Views/Home/Index.cshtml +++ b/ExamTemplate/Web/Views/Home/Index.cshtml @@ -1,8 +1,8 @@ @{ - ViewData["Title"] = "Home Page"; + ViewData["Title"] = "Home Page"; }
-

Welcome

-

Learn about building Web apps with ASP.NET Core.

+

Welcome

+

Learn about building Web apps with ASP.NET Core.

diff --git a/ExamTemplate/Web/Views/Home/Privacy.cshtml b/ExamTemplate/Web/Views/Home/Privacy.cshtml index a850e76..da6d969 100644 --- a/ExamTemplate/Web/Views/Home/Privacy.cshtml +++ b/ExamTemplate/Web/Views/Home/Privacy.cshtml @@ -1,5 +1,5 @@ @{ - ViewData["Title"] = "Privacy Policy"; + ViewData["Title"] = "Privacy Policy"; }

@ViewData["Title"]

diff --git a/ExamTemplate/Web/Views/Shared/Error.cshtml b/ExamTemplate/Web/Views/Shared/Error.cshtml index 08a315d..5a7ce95 100644 --- a/ExamTemplate/Web/Views/Shared/Error.cshtml +++ b/ExamTemplate/Web/Views/Shared/Error.cshtml @@ -1,6 +1,6 @@ @model ErrorViewModel @{ - ViewData["Title"] = "Error"; + ViewData["Title"] = "Error"; }

Error.

@@ -8,18 +8,18 @@ @if (Model.ShowRequestId) { -

- Request ID: @Model.RequestId -

+

+ Request ID: @Model.RequestId +

}

Development Mode

- Swapping to Development environment will display more detailed information about the error that occurred. + Swapping to Development environment will display more detailed information about the error that occurred.

- The Development environment shouldn't be enabled for deployed applications. - It can result in displaying sensitive information from exceptions to end users. - For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development - and restarting the app. + The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development + and restarting the app.

diff --git a/ExamTemplate/Web/Views/Shared/_Layout.cshtml b/ExamTemplate/Web/Views/Shared/_Layout.cshtml index b94d4ee..8ae73f3 100644 --- a/ExamTemplate/Web/Views/Shared/_Layout.cshtml +++ b/ExamTemplate/Web/Views/Shared/_Layout.cshtml @@ -1,48 +1,48 @@  - - - @ViewData["Title"] - Web - - + + + @ViewData["Title"] - Web + + -
- -
-
-
- @RenderBody() -
-
+
+ +
+
+
+ @RenderBody() +
+
- - - - - @RenderSection("Scripts", required: false) + + + + + @RenderSection("Scripts", required: false) diff --git a/ExamTemplate/Web/Views/_ViewStart.cshtml b/ExamTemplate/Web/Views/_ViewStart.cshtml index 66b5da2..3a04d05 100644 --- a/ExamTemplate/Web/Views/_ViewStart.cshtml +++ b/ExamTemplate/Web/Views/_ViewStart.cshtml @@ -1,3 +1,3 @@ @{ - Layout = "_Layout"; + Layout = "_Layout"; } -- cgit v1.2.3