diff --git a/Controllers/AuthController.cs b/Controllers/AuthController.cs new file mode 100644 index 0000000..7df3db7 --- /dev/null +++ b/Controllers/AuthController.cs @@ -0,0 +1,26 @@ +using Microsoft.AspNetCore.Mvc; + +namespace bank_sampah.Controllers +{ + public class AuthController : Controller + { + public IActionResult Login() + { + return View(); + } + + [HttpPost] + public IActionResult Login(string username, string password) + { + // TODO: Implementasi login validation logic + // Untuk sementara langsung redirect ke dashboard + return Redirect("/Main/Dashboard/Index"); + } + + public IActionResult ForgotPassword() + { + // TODO: Implementasi forgot password + return View(); + } + } +} diff --git a/Views/Auth/Login.cshtml b/Views/Auth/Login.cshtml new file mode 100644 index 0000000..cd74fc2 --- /dev/null +++ b/Views/Auth/Login.cshtml @@ -0,0 +1,158 @@ +@{ + ViewData["Title"] = "Login"; + Layout = "~/Views/Shared/_LayoutRegistrasi.cshtml"; +} + +
+ Dinas Lingkungan Hidup Provinsi Jakarta +
++ Program dari Dinas Lingkungan Hidup Provinsi Jakarta +
+