From 25689f8ac15e25565b6b85bf2b7bd27e81118e4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A8=81=E5=8B=9D=20=E5=BC=B5?= Date: Sun, 4 Feb 2024 11:58:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=8A=E6=9B=B4=E9=A6=96=E9=A0=81-=E6=B8=AC?= =?UTF-8?q?=E8=A9=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/EngineeringController.cs | 4 + .../Engineering/Engineering_Index_.cshtml | 124 +++-- Parking_spaces/Views/Engineering/charts.html | 492 ++++++++++++++++++ 3 files changed, 590 insertions(+), 30 deletions(-) create mode 100644 Parking_spaces/Views/Engineering/charts.html diff --git a/Parking_spaces/Controllers/EngineeringController.cs b/Parking_spaces/Controllers/EngineeringController.cs index f48c1e6..7929b4c 100644 --- a/Parking_spaces/Controllers/EngineeringController.cs +++ b/Parking_spaces/Controllers/EngineeringController.cs @@ -17,6 +17,10 @@ namespace Parking_spaces.Controllers { return View(); } + public IActionResult Engineering_Index_() + { + return View(); + } public IActionResult Engineering_CAM() { return View(); diff --git a/Parking_spaces/Views/Engineering/Engineering_Index_.cshtml b/Parking_spaces/Views/Engineering/Engineering_Index_.cshtml index 1466fab..c7cf24f 100644 --- a/Parking_spaces/Views/Engineering/Engineering_Index_.cshtml +++ b/Parking_spaces/Views/Engineering/Engineering_Index_.cshtml @@ -1,46 +1,106 @@ - -@{ +@{ ViewData["Title"] = "Engineering_Index"; Layout = "~/Views/Shared/_Layout_Engineering.cshtml"; }

工程模式

+
+
+
+
每日車流量
+
+
+
+ +
+
+
+
-
- - - +
+
+
每日違規數量
+
+
+
+ +
+
+
+
+ - - - - - - - - - - - - - - - + + + + @@ -116,3 +176,7 @@ + + + + diff --git a/Parking_spaces/Views/Engineering/charts.html b/Parking_spaces/Views/Engineering/charts.html new file mode 100644 index 0000000..c654ac9 --- /dev/null +++ b/Parking_spaces/Views/Engineering/charts.html @@ -0,0 +1,492 @@ + + + + + + + + + + + + SB Admin 2 - Charts + + + + + + + + + + + + + +
+ + + + + + +
+ + +
+ + + + + + +
+ + +

Charts

+

Chart.js is a third party plugin that is used to generate the charts in this theme. + The charts below have been customized - for further customization options, please visit the official Chart.js + documentation.

+ + +
+ +
+ + +
+
+
Area Chart
+
+
+
+ +
+
+ Styling for the area chart can be found in the + /js/demo/chart-area-demo.js file. +
+
+ + +
+
+
Bar Chart
+
+
+
+ +
+
+ Styling for the bar chart can be found in the + /js/demo/chart-bar-demo.js file. +
+
+ +
+ + +
+
+ +
+
Donut Chart
+
+ +
+
+ +
+
+ Styling for the donut chart can be found in the + /js/demo/chart-pie-demo.js file. +
+
+
+
+ +
+ + +
+ + + +
+
+ +
+
+ + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file