2020-10-14 08:03:39 +00:00
|
|
|
{{#if @item}}
|
|
|
|
{{#let (service/external-source @item) as |externalSource|}}
|
2021-11-10 21:54:12 +00:00
|
|
|
{{#if (and @withInfo (eq externalSource 'consul-api-gateway'))}}
|
|
|
|
<dl class="tooltip-panel">
|
|
|
|
<dt>
|
|
|
|
<span
|
|
|
|
data-test-external-source={{externalSource}}
|
2022-10-24 19:39:28 +00:00
|
|
|
class="consul-external-source"
|
2021-11-10 21:54:12 +00:00
|
|
|
...attributes
|
|
|
|
>
|
2022-10-25 13:14:55 +00:00
|
|
|
<FlightIcon @name={{icon-mapping externalSource}} class="mr-1.5 w-4 h-4" />
|
2021-11-10 21:54:12 +00:00
|
|
|
Registered via {{t (concat "common.brand." externalSource)}}
|
|
|
|
</span>
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
<MenuPanel @position="left" @menu={{false}}>
|
|
|
|
<BlockSlot @name="header">
|
|
|
|
API Gateways manage north-south traffic from external services to services in the Datacenter. For more information, read our documentation.
|
|
|
|
</BlockSlot>
|
|
|
|
<BlockSlot @name="menu">
|
|
|
|
<li role="separator">
|
|
|
|
About {{t (concat "common.brand." externalSource)}}
|
|
|
|
</li>
|
|
|
|
<li role="none" class="learn-link">
|
|
|
|
<a tabindex="-1" role="menuitem" href={{concat (env 'CONSUL_DOCS_LEARN_URL')}} rel="noopener noreferrer" target="_blank">
|
|
|
|
Learn guides
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</BlockSlot>
|
|
|
|
</MenuPanel>
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
{{else if externalSource}}
|
|
|
|
<span
|
|
|
|
data-test-external-source={{externalSource}}
|
2022-10-24 19:39:28 +00:00
|
|
|
class="consul-external-source"
|
2021-11-10 21:54:12 +00:00
|
|
|
...attributes
|
|
|
|
>
|
UI: Update Consul UI colors to use HDS colors (#16111)
* update red color variables to hds
* change background red to be one step lighter
* map oranges
* map greens
* map blues
* map greys
* delete themes, colours: lemon, magenta, strawberry, and vault color aliases
* add unmapped rainbow colours
* replace white and transparent vars, remove unused semantic vars and frame placeholders
* small tweaks to improve contrast, change node health status x/check colours for non-voters to match design doc, replace semantic colour action w hds colour
* add unmapped grays, remove dark theme, manually set nav bar to use dark colours
* map consul pink colour
* map yellows
* add unmapped oranges, delete light theme
* remove readme, base variables, clean up dangling colours
* Start working on the nav disclosure menus
* Update main-nav-horizontal dropdowns
* Format template
* Update box-shadow tokens
* Replace --tone- usage with tokens
* Update nav disabled state and panel border colour
* Replace rgb usage on tile
* Fix permissions modal overlay
* More fixes
* Replace orange-500 with amber-200
* Update badge colors
* Update vertical sidebar colors
* Remove top border on consul peer list ul
---------
Co-authored-by: wenincode <tyler.wendlandt@hashicorp.com>
2023-02-27 16:30:12 +00:00
|
|
|
<FlightIcon @name={{icon-mapping externalSource}} @color="var(--token-color-hashicorp-brand)" class="mr-1.5 h-4 w-4" />
|
2021-11-10 21:54:12 +00:00
|
|
|
{{#if @label}}
|
|
|
|
{{@label}}
|
|
|
|
{{else}}
|
|
|
|
Registered via {{t (concat "common.brand." externalSource)}}
|
|
|
|
{{/if}}
|
|
|
|
</span>
|
|
|
|
{{/if}}
|
2020-04-21 14:21:52 +00:00
|
|
|
{{/let}}
|
|
|
|
{{/if}}
|