-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create Icon component with L7 and Deny icon styling
- Loading branch information
Showing
2 changed files
with
51 additions
and
4 deletions.
There are no files selected for viewing
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,17 @@ | ||
{{#each @items as |item|}} | ||
{{#let (find-by 'id' (concat item.Namespace item.Name) @positions) as |style|}} | ||
{{#if (eq item.Intention.Action 'deny')}} | ||
<span class="deny" style={{{ concat 'top:' style.y 'px;left:' style.x 'px;'}}}> | ||
<Tooltip> | ||
An intention is set to 'deny' that prohibits these services from connecting. | ||
</Tooltip> | ||
</span> | ||
{{else if (not item.Intention.Action)}} | ||
<span class="L7" style={{{ concat 'top:' style.y 'px;left:' style.x 'px;'}}}> | ||
<Tooltip> | ||
The intention between these services has Layer 7 permissions, so certain requests may or may not be permitted. | ||
</Tooltip> | ||
</span> | ||
{{/if}} | ||
{{/let}} | ||
{{/each}} |
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