Skip to content

Commit 283870c

Browse files
committed
Make family names clickable links with acronyms in viewer
Update the NIST viewer dashboard to make family names in the "Coverage by Control Family" section clickable links that navigate to the family detail page. Also add the family acronym in parentheses for clarity. Changes: - Family names now link to family.html?family=<family_id> - Added acronym in parentheses, e.g., "Access Control (AC)" - Link styled in blue (#0366d6) to indicate interactivity - Clicking a family name navigates to the family-specific view Example: "Access Control" → "Access Control (AC)" (clickable) This improves navigation and makes it easier to understand the relationship between full family names and their abbreviations.
1 parent f2390e7 commit 283870c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utils/nist_sync/templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ <h3>Coverage by Control Family</h3>
219219
const barHtml = `
220220
<div style="margin-bottom: 20px;">
221221
<div style="display: flex; justify-content: space-between; margin-bottom: 5px;">
222-
<strong>${family.name}</strong>
222+
<strong><a href="family.html?family=${family.id}" style="text-decoration: none; color: #0366d6;">${family.name} (${family.id.toUpperCase()})</a></strong>
223223
<span style="color: #586069;">${counts.total} controls</span>
224224
</div>
225225
<div style="display: flex; height: 24px; background: #e1e4e8; border-radius: 4px; overflow: hidden;">

0 commit comments

Comments
 (0)