From 0c4d13caed53b2702eef41461d0c8a4b25df48f6 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Mon, 6 Mar 2023 07:41:35 +0300 Subject: Base authorization/authentification --- Views/Account/Create.cshtml | 35 +++++++++++++++++++++++++++++ Views/Account/List.cshtml | 54 +++++++++++++++++++++++++++++++++++++++++++++ Views/Account/Login.cshtml | 31 ++++++++++++++++++++++++++ 3 files changed, 120 insertions(+) create mode 100644 Views/Account/Create.cshtml create mode 100644 Views/Account/List.cshtml create mode 100644 Views/Account/Login.cshtml (limited to 'Views/Account') diff --git a/Views/Account/Create.cshtml b/Views/Account/Create.cshtml new file mode 100644 index 0000000..2fff64a --- /dev/null +++ b/Views/Account/Create.cshtml @@ -0,0 +1,35 @@ +@using Microsoft.AspNetCore.Identity +@model IdentityUser + + + + + + User Acccounts + + + + +
Create User
+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + Back +
+
+ + + \ No newline at end of file diff --git a/Views/Account/List.cshtml b/Views/Account/List.cshtml new file mode 100644 index 0000000..7f17543 --- /dev/null +++ b/Views/Account/List.cshtml @@ -0,0 +1,54 @@ +@using Microsoft.AspNetCore.Identity +@model IQueryable + + + + + + Users + + + + +
+
User Administration
+ + + + + + + + @if (Model.Count() == 0) + { + + + + } + else + { + foreach (IdentityUser user in Model) + { + + + + + + + } + } +
IDNameEmail
No User Accounts
@user.Id@user.UserName@user.Email +
+ + Edit + +
+
+ Create +
+ + + \ No newline at end of file diff --git a/Views/Account/Login.cshtml b/Views/Account/Login.cshtml new file mode 100644 index 0000000..893155c --- /dev/null +++ b/Views/Account/Login.cshtml @@ -0,0 +1,31 @@ +@model MyDarling.Models.LoginModel + + + + + + Login Page + + + + +
+
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ + + \ No newline at end of file -- cgit v1.2.3