From 161b36325ed94b8bf48a28d13f2605f0db893c0f Mon Sep 17 00:00:00 2001 From: "DESKTOP-GENO133\\IvanPlex" Date: Tue, 30 Jan 2024 18:59:35 -0700 Subject: [PATCH] modified tagsinput to use modern bootstrap styles, added tagging functionality to service record. --- Controllers/VehicleController.cs | 3 +- Views/Shared/_Layout.cshtml | 2 +- Views/Vehicle/_ServiceRecordModal.cshtml | 7 + wwwroot/js/servicerecord.js | 4 + wwwroot/js/shared.js | 3 + .../bootstrap-tagsinput.css | 36 +- .../bootstrap-tagsinput.js | 638 ++++++++++++++++++ .../bootstrap-tagsinput.min.js | 7 - 8 files changed, 656 insertions(+), 44 deletions(-) create mode 100644 wwwroot/lib/bootstrap-tagsinput/bootstrap-tagsinput.js delete mode 100644 wwwroot/lib/bootstrap-tagsinput/bootstrap-tagsinput.min.js diff --git a/Controllers/VehicleController.cs b/Controllers/VehicleController.cs index 3c57bcc..0efc16a 100644 --- a/Controllers/VehicleController.cs +++ b/Controllers/VehicleController.cs @@ -667,7 +667,8 @@ namespace CarCareTracker.Controllers Mileage = result.Mileage, Notes = result.Notes, VehicleId = result.VehicleId, - Files = result.Files + Files = result.Files, + Tags = result.Tags }; return PartialView("_ServiceRecordModal", convertedResult); } diff --git a/Views/Shared/_Layout.cshtml b/Views/Shared/_Layout.cshtml index b476558..def21e7 100644 --- a/Views/Shared/_Layout.cshtml +++ b/Views/Shared/_Layout.cshtml @@ -43,7 +43,7 @@ - +