From 3b624464aa08254a864ef458e15a7a49e4805c34 Mon Sep 17 00:00:00 2001 From: Kevin Hendrawan Date: Tue, 25 Nov 2025 21:04:13 +0700 Subject: [PATCH] feat(Register): Register Bank Sampah Page --- .../Registrasi/RegistrasiController.cs | 8 + Views/Home/Index.cshtml | 4 +- Views/Registrasi/RegisterBankSampah.cshtml | 221 ++++++++++++++++++ 3 files changed, 231 insertions(+), 2 deletions(-) create mode 100644 Views/Registrasi/RegisterBankSampah.cshtml diff --git a/Controllers/Registrasi/RegistrasiController.cs b/Controllers/Registrasi/RegistrasiController.cs index b8f3f32..0595b0b 100644 --- a/Controllers/Registrasi/RegistrasiController.cs +++ b/Controllers/Registrasi/RegistrasiController.cs @@ -21,6 +21,12 @@ namespace BankSampahApp.Controllers.Registrasi return View("~/Views/Registrasi/RegisterNasabah.cshtml"); } + [HttpGet] + public IActionResult RegisterBankSampah() + { + return View("~/Views/Registrasi/RegisterBankSampah.cshtml"); + } + /// /// Handle form submission register nasabah /// @@ -39,6 +45,8 @@ namespace BankSampahApp.Controllers.Registrasi TempData["SuccessMessage"] = "Pendaftaran berhasil! Silakan login."; return RedirectToAction("Login", "Account"); } + + } /// diff --git a/Views/Home/Index.cshtml b/Views/Home/Index.cshtml index 410c0b8..1c82d6f 100644 --- a/Views/Home/Index.cshtml +++ b/Views/Home/Index.cshtml @@ -42,9 +42,9 @@ - + diff --git a/Views/Registrasi/RegisterBankSampah.cshtml b/Views/Registrasi/RegisterBankSampah.cshtml new file mode 100644 index 0000000..f5fda95 --- /dev/null +++ b/Views/Registrasi/RegisterBankSampah.cshtml @@ -0,0 +1,221 @@ +@{ + ViewData["Title"] = "Register Bank Sampah"; +} + +
+
+ +
+
+ +
+
Register Bank Sampah
+
+ + +
+

+ Selamat Datang di e-Bank Sampah Jakarta +

+

+ Dinas Lingkungan Hidup Provinsi Jakarta +

+
+ + +
+ +
+ + +
+ + +
+ + +
+ + +
+ +
+ +
+ +
+
+
+ + +
+ + +
+ + +
+ +
+ + +
+
+ + +
+ +
+ + +
+
+ + + +
+ + +
+ +
+ Sudah punya akun? + Login +
+ + +
+ + +
+ Kembali ke + Beranda +
+
+
+
+ + + +
+
+ +@section Scripts { + +}