2018-10-21 19:19:34 +00:00
|
|
|
<nav class="navbar">
|
2018-06-26 21:35:47 +00:00
|
|
|
<div class="navbar-brand" data-test-navheader-home>
|
|
|
|
{{yield (hash home=(component 'nav-header/home'))}}
|
|
|
|
</div>
|
2018-10-21 19:19:34 +00:00
|
|
|
|
|
|
|
{{#unless navDrawerOpen}}
|
2018-12-07 20:00:52 +00:00
|
|
|
<button class="navbar-drawer-toggle is-hidden-tablet" {{action "toggleNavDrawer"}}>
|
2019-05-13 19:05:25 +00:00
|
|
|
<Icon @glyph="more-vertical" /> Menu
|
2018-12-07 20:00:52 +00:00
|
|
|
</button>
|
2018-10-21 19:19:34 +00:00
|
|
|
{{/unless}}
|
|
|
|
|
|
|
|
<div class="navbar-drawer{{if navDrawerOpen ' is-active'}}">
|
|
|
|
<div class="navbar-drawer-scroll">
|
|
|
|
<div data-test-navheader-main>
|
2018-12-07 20:00:52 +00:00
|
|
|
{{yield (hash
|
2018-10-21 19:19:34 +00:00
|
|
|
main=(component 'nav-header/main')
|
|
|
|
closeDrawer=(action "toggleNavDrawer" false)
|
|
|
|
)
|
|
|
|
}}
|
|
|
|
</div>
|
|
|
|
<div class="navbar-end" data-test-navheader-items>
|
2018-12-07 20:00:52 +00:00
|
|
|
{{yield (hash
|
2018-10-21 19:19:34 +00:00
|
|
|
items=(component 'nav-header/items')
|
|
|
|
closeDrawer=(action "toggleNavDrawer" false)
|
|
|
|
)
|
|
|
|
}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{#if navDrawerOpen}}
|
|
|
|
<button class=" navbar-drawer-toggle is-hidden-tablet" type="button" {{action "toggleNavDrawer" false}}>
|
2019-05-13 19:05:25 +00:00
|
|
|
<Icon @glyph="cancel-plain" />
|
2018-10-21 19:19:34 +00:00
|
|
|
</button>
|
|
|
|
{{/if}}
|
2018-06-26 21:35:47 +00:00
|
|
|
</div>
|
2018-10-21 19:19:34 +00:00
|
|
|
|
2018-12-07 20:00:52 +00:00
|
|
|
<div class="navbar-drawer-overlay{{if navDrawerOpen ' is-active'}}" onclick={{action "toggleNavDrawer" (not navDrawerOpen)}}></div>
|
2018-06-26 21:35:47 +00:00
|
|
|
</nav>
|
2018-12-07 20:00:52 +00:00
|
|
|
{{console/ui-panel isFullscreen=consoleFullscreen}}
|