diff --git a/Bank/BankClientApp/Controllers/HomeController.cs b/Bank/BankClientApp/Controllers/HomeController.cs index 1305c26..f15265d 100644 --- a/Bank/BankClientApp/Controllers/HomeController.cs +++ b/Bank/BankClientApp/Controllers/HomeController.cs @@ -23,6 +23,56 @@ namespace BankClientApp.Controllers return View(); } + public IActionResult Enter() + { + return View(); + } + + public IActionResult Login() + { + return View(); + } + + public IActionResult Register() + { + return View(); + } + + public IActionResult CreateCard() + { + return View(); + } + + public IActionResult CreateReport() + { + return View(); + } + + public IActionResult ReportBankCard() + { + return View(); + } + + public IActionResult Crediting() + { + return View(); + } + + public IActionResult Debiting() + { + return View(); + } + + public IActionResult MoneyTransfers() + { + return View(); + } + + public IActionResult Cards() + { + return View(); + } + [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] public IActionResult Error() { diff --git a/Bank/BankClientApp/Views/Home/Cards.cshtml b/Bank/BankClientApp/Views/Home/Cards.cshtml index 287854a..4b9d277 100644 --- a/Bank/BankClientApp/Views/Home/Cards.cshtml +++ b/Bank/BankClientApp/Views/Home/Cards.cshtml @@ -13,7 +13,7 @@
@{

- Оформить банковскую карту + Оформить банковскую карту

diff --git a/Bank/BankClientApp/Views/Home/CreateCard.cshtml b/Bank/BankClientApp/Views/Home/CreateCard.cshtml new file mode 100644 index 0000000..4424d9d --- /dev/null +++ b/Bank/BankClientApp/Views/Home/CreateCard.cshtml @@ -0,0 +1,54 @@ +@{ + ViewData["Title"] = "Оформление банковской карты"; +} + +
+

Оформление банковской карты

+
+ +
+
Клиент:
+
+ +
+
+
+
Номер карты:
+
+ +
+
+
+
Период:
+
+ +
+
+
+
Баланс:
+
+ +
+
+
+
+
+ +
+
+ + + \ No newline at end of file diff --git a/Bank/BankClientApp/Views/Home/Crediting.cshtml b/Bank/BankClientApp/Views/Home/Crediting.cshtml new file mode 100644 index 0000000..e1dd794 --- /dev/null +++ b/Bank/BankClientApp/Views/Home/Crediting.cshtml @@ -0,0 +1,5 @@ +@* + For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 +*@ +@{ +} diff --git a/Bank/BankClientApp/Views/Home/Debiting.cshtml b/Bank/BankClientApp/Views/Home/Debiting.cshtml new file mode 100644 index 0000000..e1dd794 --- /dev/null +++ b/Bank/BankClientApp/Views/Home/Debiting.cshtml @@ -0,0 +1,5 @@ +@* + For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 +*@ +@{ +} diff --git a/Bank/BankClientApp/Views/Home/Index.cshtml b/Bank/BankClientApp/Views/Home/Index.cshtml index 0416106..709e78c 100644 --- a/Bank/BankClientApp/Views/Home/Index.cshtml +++ b/Bank/BankClientApp/Views/Home/Index.cshtml @@ -4,7 +4,19 @@

Добро пожаловать

- * - -
+ +
+

Страница пользователя

+ + * + @{ + if (APIClient.Client == null) + { +

Сначала авторизуйся

+ return; + } + +

Здравствуйте, @APIClient.Client.Name @APIClient.Client.Patronymic

+ } +
\ No newline at end of file diff --git a/Bank/BankClientApp/Views/Home/Login.cshtml b/Bank/BankClientApp/Views/Home/Login.cshtml index 8fdbbc9..2addc20 100644 --- a/Bank/BankClientApp/Views/Home/Login.cshtml +++ b/Bank/BankClientApp/Views/Home/Login.cshtml @@ -6,9 +6,16 @@

Вход в приложение

- -

Логин

- - - + + +
+ + +
+
+ + +
+ + diff --git a/Bank/BankClientApp/Views/Home/MoneyTransfers.cshtml b/Bank/BankClientApp/Views/Home/MoneyTransfers.cshtml new file mode 100644 index 0000000..553f7c5 --- /dev/null +++ b/Bank/BankClientApp/Views/Home/MoneyTransfers.cshtml @@ -0,0 +1,29 @@ +@{ + ViewData["Title"] = "Переводы меджу счетами"; +} + +
+

Перевод между счетами

+
+ + +
+
Номер счёта для снятия:
+
+
+
+
+
Номер счёта для начисления:
+
+
+
+
+
Сумма перевода:
+
+ +
+
+
+ +
+ diff --git a/Bank/BankClientApp/Views/Home/Privacy.cshtml b/Bank/BankClientApp/Views/Home/Privacy.cshtml index 0a5eb51..9f1ac2b 100644 --- a/Bank/BankClientApp/Views/Home/Privacy.cshtml +++ b/Bank/BankClientApp/Views/Home/Privacy.cshtml @@ -9,28 +9,29 @@

Личные данные

- + +
-
Логин:
+
Логин:
Model.Email) required>
-
Пароль:
+
Пароль:
Model.Password) required>
-
Имя:
+
Имя:
Model.Name) required> -
Фамилия:
+
Фамилия:
Model.Surname) required> -
Отчество:
+
Отчество:
Model.Patronymic) required>
-
+
Телефон:
Model.MobilePhone) required>
-
+
diff --git a/Bank/BankClientApp/Views/Home/Register.cshtml b/Bank/BankClientApp/Views/Home/Register.cshtml index 3573af3..411581b 100644 --- a/Bank/BankClientApp/Views/Home/Register.cshtml +++ b/Bank/BankClientApp/Views/Home/Register.cshtml @@ -3,17 +3,16 @@ }
-

Регистрация

+

Регистрация

- -

Регистрация

- - - - - - + + + + + + + diff --git a/Bank/BankClientApp/Views/Home/ReportBankCard.cshtml b/Bank/BankClientApp/Views/Home/ReportBankCard.cshtml new file mode 100644 index 0000000..e1dd794 --- /dev/null +++ b/Bank/BankClientApp/Views/Home/ReportBankCard.cshtml @@ -0,0 +1,5 @@ +@* + For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 +*@ +@{ +} diff --git a/Bank/BankClientApp/Views/Shared/_Layout.cshtml b/Bank/BankClientApp/Views/Shared/_Layout.cshtml index da096c2..adb352f 100644 --- a/Bank/BankClientApp/Views/Shared/_Layout.cshtml +++ b/Bank/BankClientApp/Views/Shared/_Layout.cshtml @@ -12,30 +12,33 @@