diff --git a/Parking_spaces/Controllers/ManagerController.cs b/Parking_spaces/Controllers/ManagerController.cs new file mode 100644 index 0000000..a652b2f --- /dev/null +++ b/Parking_spaces/Controllers/ManagerController.cs @@ -0,0 +1,31 @@ +using Microsoft.AspNetCore.Mvc; + +namespace Parking_spaces.Controllers +{ + public class ManagerController : Controller + { + public IActionResult Manager_Index() + { + return View(); + } + public IActionResult Manager_Violation() + { + return View(); + } + public IActionResult Single_violation_detail(string id) + { + ViewBag.parking_spaces_name = id; + return View(); + } + + public IActionResult Yuntech_in_car() + { + return View(); + } + + public IActionResult Map_RTSP(string id) + { + return View(); + } + } +} diff --git a/Parking_spaces/Views/Manager/Manager_Index.cshtml b/Parking_spaces/Views/Manager/Manager_Index.cshtml new file mode 100644 index 0000000..58e35bb --- /dev/null +++ b/Parking_spaces/Views/Manager/Manager_Index.cshtml @@ -0,0 +1,531 @@ + +@{ + ViewData["Title"] = "Manager_Index"; + Layout = "~/Views/Shared/_Layout_Manager.cshtml"; +} + +
+ 總違規區域 + | + ++ + | +
---|
+ 違規區域 + | ++ 車牌號碼 + | + ++ 時間 + | ++ |
---|
+ 區域 + | ++ 車牌號碼 + | + ++ 時間 + | ++ |
---|
校園總停車區域-管理者模式
' - document.getElementById("position_id").innerHTML = '校園總停車區域-管理者模式' + document.getElementById("position_id").innerHTML = "校園總停車區域-管理者模式
' } else{ document.getElementById("position_id").innerHTML ='校園總停車區域' @@ -364,6 +364,9 @@ function engineer_mode() { window.location = "/Engineering/Engineering_Index"; } + function manager_mode() { + window.location = "/Manager/Manager_Index"; + } diff --git a/Parking_spaces/Views/Shared/_Layout_Manager.cshtml b/Parking_spaces/Views/Shared/_Layout_Manager.cshtml new file mode 100644 index 0000000..dc38781 --- /dev/null +++ b/Parking_spaces/Views/Shared/_Layout_Manager.cshtml @@ -0,0 +1,477 @@ + + + + + + + + + + + +