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"; +} + +

管理員模式

+ + + +
+ +
+
+
+
+ 每日違規數量 + +
+
+
+
+ +
+
+
+
+ + +
+
+
+
+ 每日車流量 +
+
+
+
+ +
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Parking_spaces/Views/Manager/Manager_Violation.cshtml b/Parking_spaces/Views/Manager/Manager_Violation.cshtml new file mode 100644 index 0000000..532c6d6 --- /dev/null +++ b/Parking_spaces/Views/Manager/Manager_Violation.cshtml @@ -0,0 +1,552 @@ + +@{ + ViewData["Title"] = "Manager_Violation"; + Layout = "~/Views/Shared/_Layout_Manager.cshtml"; +} + +

校園總違規區域

+ +
+ + + + + + + + + + + + + + + +
+ 總違規區域 + + +
+
+ + +
+ +
+
+
+
+ 每日違規數量 + +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ 違規次數 + +
+
+
+
+ +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Parking_spaces/Views/Manager/Map_RTSP.cshtml b/Parking_spaces/Views/Manager/Map_RTSP.cshtml new file mode 100644 index 0000000..da57bfe --- /dev/null +++ b/Parking_spaces/Views/Manager/Map_RTSP.cshtml @@ -0,0 +1,8 @@ + +@{ + ViewData["Title"] = "Map_RTSP"; + Layout = "~/Views/Shared/_Layout_Manager.cshtml"; +} + +

Map_RTSP

+ diff --git a/Parking_spaces/Views/Manager/Single_violation_detail.cshtml b/Parking_spaces/Views/Manager/Single_violation_detail.cshtml new file mode 100644 index 0000000..ddffa8b --- /dev/null +++ b/Parking_spaces/Views/Manager/Single_violation_detail.cshtml @@ -0,0 +1,378 @@ + +@{ + ViewData["Title"] = "Single_violation_detail"; + Layout = "~/Views/Shared/_Layout_Engineering.cshtml"; + var parking_spaces_name = ViewBag.parking_spaces_name; +} + + +

違規車輛

+ +
+ 起始時間 : + 結束時間 : + + + + + + + + + + + + + + + + + + + +
+ 違規區域 + + 車牌號碼 + + 時間 +
+
+ + +
+ + + +

+ + + + + + + + + + + + + + + +
+ 違規區域 + + 車牌號碼 + + 進入圖片 + + 違規圖片 + + 時間 +
+ + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Parking_spaces/Views/Manager/Yuntech_in_car.cshtml b/Parking_spaces/Views/Manager/Yuntech_in_car.cshtml new file mode 100644 index 0000000..18f94ac --- /dev/null +++ b/Parking_spaces/Views/Manager/Yuntech_in_car.cshtml @@ -0,0 +1,310 @@ + +@{ + ViewData["Title"] = "Yuntech_in_car"; + Layout = "~/Views/Shared/_Layout_Manager.cshtml"; +} + +

進入車輛

+ + +
+ 起始時間 : + 結束時間 : + + + + + + + + + + + + + + + + + + + +
+ 區域 + + 車牌號碼 + + 時間 +
+
+ + +
+ + + + +

+ + + + + + + + + + + + + + +
+ 區域 + + 車牌號碼 + + 進入圖片 + + 時間 +
+ + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Parking_spaces/Views/Park_spaces/Parking_spaces_total_table.cshtml b/Parking_spaces/Views/Park_spaces/Parking_spaces_total_table.cshtml index 2e995af..00bd175 100644 --- a/Parking_spaces/Views/Park_spaces/Parking_spaces_total_table.cshtml +++ b/Parking_spaces/Views/Park_spaces/Parking_spaces_total_table.cshtml @@ -249,7 +249,7 @@ } else if (position == "manager") { //document.getElementById("position_id").innerHTML = "

校園總停車區域-管理者模式

' - 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 @@ + + + + + + + + + + + + 工程模式 + + + + + + + + + + + + + + + +
+ + + + + +
+ + +
+ + + + + +
+ @RenderBody() +
+ + +
+ + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file