From a636aacf9580c385916b713b8c8f079c3f6747c0 Mon Sep 17 00:00:00 2001 From: "nikbel2004@outlook.com" Date: Wed, 1 May 2024 20:09:54 +0400 Subject: [PATCH] =?UTF-8?q?Stage=206:=20ClientApp(=D0=94=D0=B8=D0=B7=D0=B0?= =?UTF-8?q?=D0=B9=D0=BD=D0=B8=D0=BC)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bank/BankClientApp/Program.cs | 2 +- Bank/BankClientApp/Views/Home/Cards.cshtml | 43 +++++++++++++++++++ .../Views/Home/CreateReport.cshtml | 5 +++ Bank/BankClientApp/Views/Home/Index.cshtml | 2 + .../BankClientApp/Views/Shared/_Layout.cshtml | 34 +++++++++++++-- 5 files changed, 82 insertions(+), 4 deletions(-) create mode 100644 Bank/BankClientApp/Views/Home/Cards.cshtml create mode 100644 Bank/BankClientApp/Views/Home/CreateReport.cshtml diff --git a/Bank/BankClientApp/Program.cs b/Bank/BankClientApp/Program.cs index 59f49e1..559dd3a 100644 --- a/Bank/BankClientApp/Program.cs +++ b/Bank/BankClientApp/Program.cs @@ -22,6 +22,6 @@ app.UseAuthorization(); app.MapControllerRoute( name: "default", - pattern: "{controller=Home}/{action=Enter}/{id?}"); + pattern: "{controller=Home}/{action=Index}/{id?}"); app.Run(); diff --git a/Bank/BankClientApp/Views/Home/Cards.cshtml b/Bank/BankClientApp/Views/Home/Cards.cshtml new file mode 100644 index 0000000..287854a --- /dev/null +++ b/Bank/BankClientApp/Views/Home/Cards.cshtml @@ -0,0 +1,43 @@ +@using BankContracts.ViewModels.Client.ViewModels + +@model List + +@{ + ViewData["Title"] = "Cписок банковских карт"; +} + +
+

Банковские карты

+
+ +
+ @{ +

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

+ + + + + + + + + + + +
+ Номер карты + + Фамилия владельца + + Имя владельца + + Отчество владельца + + Баланс + + Период +
+ } +
diff --git a/Bank/BankClientApp/Views/Home/CreateReport.cshtml b/Bank/BankClientApp/Views/Home/CreateReport.cshtml new file mode 100644 index 0000000..e1dd794 --- /dev/null +++ b/Bank/BankClientApp/Views/Home/CreateReport.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 458e04e..0416106 100644 --- a/Bank/BankClientApp/Views/Home/Index.cshtml +++ b/Bank/BankClientApp/Views/Home/Index.cshtml @@ -4,5 +4,7 @@

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

+ * +
diff --git a/Bank/BankClientApp/Views/Shared/_Layout.cshtml b/Bank/BankClientApp/Views/Shared/_Layout.cshtml index 4888dc4..da096c2 100644 --- a/Bank/BankClientApp/Views/Shared/_Layout.cshtml +++ b/Bank/BankClientApp/Views/Shared/_Layout.cshtml @@ -12,7 +12,8 @@