mirror of https://github.com/hashicorp/consul
21 lines
389 B
Handlebars
21 lines
389 B
Handlebars
{{yield}}
|
|
{{#let (hash
|
|
change=(action "change")
|
|
) as |api|}}
|
|
<div class="menu-panel {{position}}">
|
|
<YieldSlot @name="controls">
|
|
{{yield api}}
|
|
</YieldSlot>
|
|
{{#yield-slot name="header"}}
|
|
<div>
|
|
{{yield api}}
|
|
</div>
|
|
{{else}}
|
|
{{/yield-slot}}
|
|
<ul role="menu" ...attributes>
|
|
<YieldSlot @name="menu">
|
|
{{yield api}}
|
|
</YieldSlot>
|
|
</ul>
|
|
</div>
|
|
{{/let}} |