diff --git a/Areas/OTcalculate/Controllers/HrDashboardController.cs b/Areas/OTcalculate/Controllers/HrDashboardController.cs new file mode 100644 index 0000000..92160f0 --- /dev/null +++ b/Areas/OTcalculate/Controllers/HrDashboardController.cs @@ -0,0 +1,23 @@ +using Microsoft.AspNetCore.Mvc; + +namespace PSTW_CentralSystem.Areas.OTcalculate.Controllers +{ + [Area("OTcalculate")] + public class HrDashboardController : Controller + { + public IActionResult OtApproval() + { + return View(); + } + + public IActionResult Settings() + { + return View(); + } + + public IActionResult Rate() + { + return View(); + } + } +} diff --git a/Areas/OTcalculate/Controllers/OvertimeController.cs b/Areas/OTcalculate/Controllers/OvertimeController.cs index d74c327..2bb66a7 100644 --- a/Areas/OTcalculate/Controllers/OvertimeController.cs +++ b/Areas/OTcalculate/Controllers/OvertimeController.cs @@ -1,6 +1,18 @@ -namespace PSTW_CentralSystem.Areas.OTcalculate.Controllers +using Microsoft.AspNetCore.Mvc; + +namespace PSTW_CentralSystem.Areas.OTcalculate.Controllers { - public class OvertimeController + [Area("OTcalculate")] + public class OvertimeController : Controller { + public IActionResult OtRegister() + { + return View(); + } + public IActionResult OtRecords() + { + return View(); + } + } } diff --git a/Areas/OTcalculate/Views/HrDashboard/OtApproval.cshtml b/Areas/OTcalculate/Views/HrDashboard/OtApproval.cshtml new file mode 100644 index 0000000..f8cedbf --- /dev/null +++ b/Areas/OTcalculate/Views/HrDashboard/OtApproval.cshtml @@ -0,0 +1,4 @@ +@{ + ViewData["Title"] = "OT Approval"; + Layout = "~/Views/Shared/_Layout.cshtml"; +} diff --git a/Areas/OTcalculate/Views/HrDashboard/Rate.cshtml b/Areas/OTcalculate/Views/HrDashboard/Rate.cshtml new file mode 100644 index 0000000..0fc82ea --- /dev/null +++ b/Areas/OTcalculate/Views/HrDashboard/Rate.cshtml @@ -0,0 +1,4 @@ +@{ + ViewData["Title"] = "Rate"; + Layout = "~/Views/Shared/_Layout.cshtml"; +} diff --git a/Areas/OTcalculate/Views/HrDashboard/Settings.cshtml b/Areas/OTcalculate/Views/HrDashboard/Settings.cshtml new file mode 100644 index 0000000..ff0824c --- /dev/null +++ b/Areas/OTcalculate/Views/HrDashboard/Settings.cshtml @@ -0,0 +1,31 @@ +@{ + ViewData["Title"] = "Settings"; + Layout = "~/Views/Shared/_Layout.cshtml"; +} + +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers +
+
+ +
+

+ +

+
Rate
+
+
+
+
+ +
+
+ +
+

+ +

+
Calendar
+
+
+
+
\ No newline at end of file diff --git a/Areas/OTcalculate/Views/Overtime/OtRecords.cshtml b/Areas/OTcalculate/Views/Overtime/OtRecords.cshtml new file mode 100644 index 0000000..dba9e1b --- /dev/null +++ b/Areas/OTcalculate/Views/Overtime/OtRecords.cshtml @@ -0,0 +1,5 @@ +@{ + ViewData["Title"] = "All Records"; + Layout = "~/Views/Shared/_Layout.cshtml"; +} + diff --git a/Areas/OTcalculate/Views/Overtime/OtRegister.cshtml b/Areas/OTcalculate/Views/Overtime/OtRegister.cshtml index e1dd794..0991c57 100644 --- a/Areas/OTcalculate/Views/Overtime/OtRegister.cshtml +++ b/Areas/OTcalculate/Views/Overtime/OtRegister.cshtml @@ -1,5 +1,14 @@ -@* - For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 -*@ -@{ +@{ + ViewData["Title"] = "Register Overtime"; + Layout = "~/Views/Shared/_Layout.cshtml"; } + +
+
+
+

Name:

+
+
+
diff --git a/Views/Shared/_Layout.cshtml b/Views/Shared/_Layout.cshtml index bb3d975..9a39b22 100644 --- a/Views/Shared/_Layout.cshtml +++ b/Views/Shared/_Layout.cshtml @@ -479,25 +479,7 @@ - + + + +