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/Shared/Error.cshtml | 18 +++---- ExamTemplate/Web/Views/Shared/_Layout.cshtml | 80 ++++++++++++++-------------- 2 files changed, 49 insertions(+), 49 deletions(-) (limited to 'ExamTemplate/Web/Views/Shared') 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) -- cgit v1.2.3