self-hosted bootstrap icons.

This commit is contained in:
ivancheahhh
2023-12-31 22:24:00 -07:00
parent b8e79aa99d
commit 58aeab9042
9 changed files with 6233 additions and 9 deletions

View File

@@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - CarCareTracker</title>
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css">
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap-icons.css" />
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
<link rel="stylesheet" href="~/CarCareTracker.styles.css" asp-append-version="true" />
</head>

View File

@@ -4,13 +4,6 @@
function hideAddVehicleModal() {
$('#addVehicleModal').modal('hide');
}
function DeleteVehicle(vehicleId) {
$.post('/Vehicle/DeleteVehicle', { vehicleId: vehicleId }, function (data) {
if (data) {
window.location.href = '/Home';
}
})
}
$(document).ready(function () {
loadGarage();
});

View File

@@ -9,7 +9,6 @@ function saveVehicleNote(vehicleId) {
}
})
}
//tap into tabchange
$(document).ready(function () {
var vehicleId = GetVehicleId().vehicleId;
getVehicleNote(vehicleId);
@@ -21,4 +20,11 @@ function getVehicleNote(vehicleId) {
$("#noteTextArea").val(data);
}
});
}
function DeleteVehicle(vehicleId) {
$.post('/Vehicle/DeleteVehicle', { vehicleId: vehicleId }, function (data) {
if (data) {
window.location.href = '/Home';
}
})
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.