-
Notifications
You must be signed in to change notification settings - Fork 597
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add TagOutlineIcon component and integrate it into multiple tables
- Introduced a new `TagOutlineIcon` component for displaying tags in the dashboard. - Updated `ContainersTable`, `HostsTable`, `KubernetesTable`, and `PodsTable` to include the `TagOutlineIcon` alongside resource tags. - Enhanced the layout of tag displays for better visual organization and user experience.
- Loading branch information
Showing
5 changed files
with
98 additions
and
6 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
deepfence_frontend/apps/dashboard/src/components/icons/common/TagOutline.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
export const TagOutlineIcon = () => { | ||
return ( | ||
<svg | ||
viewBox="0 0 36 36" | ||
xmlns="http://www.w3.org/2000/svg" | ||
width="100%" | ||
height="100%" | ||
fill="none" | ||
> | ||
<path | ||
fill="currentColor" | ||
d="M10.5 9C9.67 9 9 9.67 9 10.5C9 11.33 9.67 12 10.5 12C11.33 12 12 11.33 12 10.5C12 9.67 11.33 9 10.5 9ZM31.04 18.82L17.26 5.11C16.91 4.76 16.18 4.04 15.09 4.03L5.03 4C4.77 4 4.51 4.1 4.32 4.29C4.13 4.48 4.03 4.73 4.03 4.99L4 14.97C4 15.85 4.37 16.76 4.96 17.34L18.75 31.05C19.36 31.66 20.18 32 21.04 32H21.06C21.92 32 22.73 31.67 23.33 31.07L31.06 23.38C32.32 22.13 32.31 20.08 31.04 18.82ZM29.64 21.97L21.91 29.66C21.68 29.89 21.38 30.01 21.05 30.01C20.72 30.01 20.4 29.88 20.16 29.64L6.38 15.93C6.16 15.71 6.01 15.31 6.01 14.97L6.03 6L15.08 6.03C15.27 6.03 15.48 6.17 15.84 6.53L29.62 20.24C30.11 20.73 30.12 21.51 29.64 21.98V21.97Z" | ||
></path> | ||
</svg> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters