From 8a8964a08c339a4b54bde2c26bd571309fcc72e4 Mon Sep 17 00:00:00 2001 From: LD-Reborn Date: Sat, 29 Nov 2025 13:13:26 +0100 Subject: [PATCH] Removed tabindices for non-interactive elements --- src/Views/Home/Groups.cshtml | 4 ++-- src/Views/Home/Locations.cshtml | 4 ++-- src/Views/Home/Users.cshtml | 4 ++-- src/Views/Settings/Admin.cshtml | 2 +- src/Views/Shared/_Batch.cshtml | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/Views/Home/Groups.cshtml b/src/Views/Home/Groups.cshtml index 2ac3fbc..34cda84 100644 --- a/src/Views/Home/Groups.cshtml +++ b/src/Views/Home/Groups.cshtml @@ -38,7 +38,7 @@ foreach (GroupsTableViewModel groupTableViewModel in Model.GroupsTableViewModels) { - @groupTableViewModel.Group + @groupTableViewModel.Group @T["inventorize"]@(groupTableViewModel.CanInventorize ? Html.Raw($"{@T["Yes"].Value}") : Html.Raw($"{@T["No"].Value}")) @T["manage users"]@(groupTableViewModel.CanManageUsers ? Html.Raw($"{@T["Yes"].Value}") : Html.Raw($"{@T["No"].Value}")) @T["manage locations"]@(groupTableViewModel.CanManageLocations ? Html.Raw($"{@T["Yes"].Value}") : Html.Raw($"{@T["No"].Value}")) @@ -268,7 +268,7 @@ const tableBody = document.querySelector('tbody'); const newRow = document.createElement('tr'); newRow.innerHTML = ` - ${jsonData.DisplayName} + ${jsonData.DisplayName} @T["inventorize"]${jsonData.Permissions.includes("CanInventorize") ? contentYes : contentNo} @T["manage users"]${jsonData.Permissions.includes("CanManageUsers") ? contentYes : contentNo} @T["manage locations"]${jsonData.Permissions.includes("CanManageLocations") ? contentYes : contentNo} diff --git a/src/Views/Home/Locations.cshtml b/src/Views/Home/Locations.cshtml index 8aeba0d..258a571 100644 --- a/src/Views/Home/Locations.cshtml +++ b/src/Views/Home/Locations.cshtml @@ -40,7 +40,7 @@ foreach (LocationTableViewModel locationTableViewModel in Model.LocationTableViewModels) { - @locationTableViewModel.LocationID + @locationTableViewModel.LocationID @locationTableViewModel.LocationName @locationTableViewModel.RoomNumber @locationTableViewModel.Seat @@ -344,7 +344,7 @@ const tbody = document.querySelector('table tbody'); const newRow = document.createElement('tr'); newRow.innerHTML = ` - ${slugifiedLocationID} + ${slugifiedLocationID} ${newLoc.Location} ${newLoc.RoomNumber} ${newLoc.Seat} diff --git a/src/Views/Home/Users.cshtml b/src/Views/Home/Users.cshtml index adb1458..238842f 100644 --- a/src/Views/Home/Users.cshtml +++ b/src/Views/Home/Users.cshtml @@ -43,7 +43,7 @@ Photo - @userTableViewModel.Uid + @userTableViewModel.Uid @userTableViewModel.Title @userTableViewModel.Name @userTableViewModel.Surname @@ -562,7 +562,7 @@ const newRow = document.createElement('tr'); newRow.innerHTML = ` Photo - ${result.Uid || ''} + ${result.Uid || ''} ${data.Title || ''} ${data.Cn || ''} ${data.Sn || ''} diff --git a/src/Views/Settings/Admin.cshtml b/src/Views/Settings/Admin.cshtml index c52a9bb..3847318 100644 --- a/src/Views/Settings/Admin.cshtml +++ b/src/Views/Settings/Admin.cshtml @@ -68,7 +68,7 @@
-

@T["Current user image cache utilization:"] @userImageCacheSize

+

@T["Current user image cache utilization:"] @userImageCacheSize

diff --git a/src/Views/Shared/_Batch.cshtml b/src/Views/Shared/_Batch.cshtml index c6adfc6..c7e14af 100644 --- a/src/Views/Shared/_Batch.cshtml +++ b/src/Views/Shared/_Batch.cshtml @@ -68,7 +68,7 @@ assetCard.innerHTML = `
-

Asset ${i + 1}: ${asset.Name}

+

Asset ${i + 1}: ${asset.Name}

@@ -91,7 +91,7 @@ assetCard.innerHTML = `
-

Asset ${i + 1}: @T["Empty"]

+

Asset ${i + 1}: @T["Empty"]