From bc10f51003d356552c967efb010b7bd0f7735ebd Mon Sep 17 00:00:00 2001 From: Kevin Hendrawan Date: Tue, 2 Dec 2025 13:15:36 +0700 Subject: [PATCH] feat(kelengkapanNasabah): Page Kelengkapan Nasabah --- Controllers/Biodata/BiodataController.cs | 19 ++ Views/Biodata/Nasabah.cshtml | 186 ++++++++++++++++++++ Views/Shared/_LayoutAppWithoutNavbar.cshtml | 72 ++++++++ Views/_ViewStart.cshtml | 5 + 4 files changed, 282 insertions(+) create mode 100644 Controllers/Biodata/BiodataController.cs create mode 100644 Views/Biodata/Nasabah.cshtml create mode 100644 Views/Shared/_LayoutAppWithoutNavbar.cshtml diff --git a/Controllers/Biodata/BiodataController.cs b/Controllers/Biodata/BiodataController.cs new file mode 100644 index 0000000..f526d5d --- /dev/null +++ b/Controllers/Biodata/BiodataController.cs @@ -0,0 +1,19 @@ +using Microsoft.AspNetCore.Mvc; + +namespace BankSampahApp.Controllers.Biodata{ + [Route("[controller]/[action]")] + public class BiodataController : Controller{ + private readonly ILogger _logger; + + public BiodataController(ILogger logger) + { + _logger = logger; + } + + [HttpGet] + public IActionResult BioNasabah() + { + return View("~/Views/Biodata/Nasabah.cshtml"); + } + } +} \ No newline at end of file diff --git a/Views/Biodata/Nasabah.cshtml b/Views/Biodata/Nasabah.cshtml new file mode 100644 index 0000000..e01399a --- /dev/null +++ b/Views/Biodata/Nasabah.cshtml @@ -0,0 +1,186 @@ +@{ + ViewData["Title"] = "Bio Nasabah"; + Layout = "~/Views/Shared/_LayoutAppWithoutNavbar.cshtml"; +} + +
+
+
+
+ + Lengkapi Biodata Anda + +
+
+ +
+
+

Selamat Datang!

+
Silakan lengkapi biodata Anda untuk dapat menggunakan layanan e-Bank Sampah. Form ini hanya akan muncul sekali.
+
+
+ + +
+ +
+

Informasi Biodata

+ +
+ +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+
+
+ + +
+

Informasi Biodata

+ + +
+ + +
+ + +
+
+ + +
+ +
+ + +
+ +
+ + +
+
+ + +
+
+ + +
+ +
+ + +
+
+ + +
+
+ + +
+ +
+ + +
+
+
+ +
+ +
+
+ +
+
+
+ diff --git a/Views/Shared/_LayoutAppWithoutNavbar.cshtml b/Views/Shared/_LayoutAppWithoutNavbar.cshtml new file mode 100644 index 0000000..6e2f0d0 --- /dev/null +++ b/Views/Shared/_LayoutAppWithoutNavbar.cshtml @@ -0,0 +1,72 @@ +@{ + var currentController = ViewContext.RouteData.Values["controller"]?.ToString(); + var currentAction = ViewContext.RouteData.Values["action"]?.ToString(); +} + + + + + + + @ViewData["Title"] - E-Bank Sampah Jakarta + + + + + + + + + + + + + + + + + + + + + + + + + + + @await RenderSectionAsync("Styles", required: false) + + + + + + +
+ +
+ + + + +
+ @RenderBody() +
+
+
+ + + + + + + + + @await RenderSectionAsync("Scripts", required: false) + + + diff --git a/Views/_ViewStart.cshtml b/Views/_ViewStart.cshtml index 5d8c531..948d046 100644 --- a/Views/_ViewStart.cshtml +++ b/Views/_ViewStart.cshtml @@ -12,6 +12,11 @@ { Layout = "_LayoutRegistrasi"; } + else if (controller == "Bildata") + { + Layout = "_LayoutAppWithoutNavbar"; + } + else { // Semua halaman aplikasi menggunakan layout dengan sidebar