From 0c3eee6bedeaee874cfe5f02d770a3d5aa43b230 Mon Sep 17 00:00:00 2001 From: Artyom_Yashin Date: Wed, 1 May 2024 13:23:41 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=BE=D1=80=D0=BC=D1=8B=20=D0=B2=20?= =?UTF-8?q?=D0=BF=D1=80=D0=BE=D1=86=D0=B5=D1=81=D1=81=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bank/BankClientApp/BankClientApp.csproj | 14 +++++ .../Views/Home/OperationCreate.cshtml | 2 +- Bank/BankClientApp/Views/Home/Privacy.cshtml | 2 +- Bank/BankClientApp/Views/Home/Register.cshtml | 28 ++++++++++ .../Views/Home/RequestCreate.cshtml | 32 +++++++++++ Bank/BankClientApp/Views/Home/Requests.cshtml | 54 +++++++++++++++++++ 6 files changed, 130 insertions(+), 2 deletions(-) create mode 100644 Bank/BankClientApp/Views/Home/Register.cshtml create mode 100644 Bank/BankClientApp/Views/Home/RequestCreate.cshtml create mode 100644 Bank/BankClientApp/Views/Home/Requests.cshtml diff --git a/Bank/BankClientApp/BankClientApp.csproj b/Bank/BankClientApp/BankClientApp.csproj index 1fc7dcf..57b588b 100644 --- a/Bank/BankClientApp/BankClientApp.csproj +++ b/Bank/BankClientApp/BankClientApp.csproj @@ -9,6 +9,8 @@ + + @@ -27,6 +29,8 @@ <_ContentIncludedByDefault Remove="Views\Home\CardCreate.cshtml" /> + <_ContentIncludedByDefault Remove="Views\Home\Register.cshtml" /> + <_ContentIncludedByDefault Remove="Views\Home\Requests.cshtml" /> @@ -35,6 +39,16 @@ + + + + + + + + + + diff --git a/Bank/BankClientApp/Views/Home/OperationCreate.cshtml b/Bank/BankClientApp/Views/Home/OperationCreate.cshtml index fa3cfae..4d252a2 100644 --- a/Bank/BankClientApp/Views/Home/OperationCreate.cshtml +++ b/Bank/BankClientApp/Views/Home/OperationCreate.cshtml @@ -8,7 +8,7 @@
Сумма:
- +
diff --git a/Bank/BankClientApp/Views/Home/Privacy.cshtml b/Bank/BankClientApp/Views/Home/Privacy.cshtml index 1a65a68..b3d804e 100644 --- a/Bank/BankClientApp/Views/Home/Privacy.cshtml +++ b/Bank/BankClientApp/Views/Home/Privacy.cshtml @@ -17,7 +17,7 @@
Пароль:
-
diff --git a/Bank/BankClientApp/Views/Home/Register.cshtml b/Bank/BankClientApp/Views/Home/Register.cshtml new file mode 100644 index 0000000..8e272ba --- /dev/null +++ b/Bank/BankClientApp/Views/Home/Register.cshtml @@ -0,0 +1,28 @@ +@{ + ViewData["Title"] = "Register"; +} + +
+

Регистрация

+
+
+
+
Email:
+
+
+
+
Пароль:
+
+
+
+
ФИО:
+
+
+
+
+
+ +
+
+
\ No newline at end of file diff --git a/Bank/BankClientApp/Views/Home/RequestCreate.cshtml b/Bank/BankClientApp/Views/Home/RequestCreate.cshtml new file mode 100644 index 0000000..a1a8d93 --- /dev/null +++ b/Bank/BankClientApp/Views/Home/RequestCreate.cshtml @@ -0,0 +1,32 @@ +@{ + ViewData["Title"] = "CardCreate"; +} +
+

Создание карты

+
+
+
+
Номер:
+
+ +
+
+
+
CVV:
+
+ +
+
+
+
PIN:
+
+ +
+
+
+
+
+ +
+
+
diff --git a/Bank/BankClientApp/Views/Home/Requests.cshtml b/Bank/BankClientApp/Views/Home/Requests.cshtml new file mode 100644 index 0000000..b81a2f6 --- /dev/null +++ b/Bank/BankClientApp/Views/Home/Requests.cshtml @@ -0,0 +1,54 @@ +@using BankContracts.ViewModels +@model List +@{ + ViewData["Title"] = "Requests"; +} +
+

Запросы

+
+
+ @{ + if (Model == null) + { +

Авторизируйтесь

+ return; + } +

+ Создать запрос +

+ + + + + + + + + + @foreach (var item in Model) + { + + + + + + } + +
+ Номер + + Сумма + + Время выполнения +
+ @Html.DisplayFor(modelItem => + item.Id) + + @Html.DisplayFor(modelItem => + item.Sum) + + @Html.DisplayFor(modelItem => + item.RequestTime) +
+ } +