mirror of
https://github.com/TryGhost/Ghost-Admin.git
synced 2023-12-14 02:33:04 +01:00
89102fdd6c
- Refactor to handle deprecations including removal of all Views, ArrayControllers, and ItemControllers.
23 lines
857 B
Handlebars
23 lines
857 B
Handlebars
{{#gh-app showSettingsMenu=showSettingsMenu}}
|
|
<a class="sr-only sr-only-focusable" href="#gh-main">Skip to main content</a>
|
|
|
|
{{gh-alerts notify="topNotificationChange"}}
|
|
|
|
<div class="gh-viewport {{if autoNav 'gh-autonav'}} {{if showSettingsMenu 'settings-menu-expanded'}} {{if showMobileMenu 'mobile-menu-expanded'}}">
|
|
{{#unless signedOut}}
|
|
{{gh-nav-menu open=autoNavOpen onMouseEnter="openAutoNav" toggleMaximise="toggleAutoNav" openModal="openModal"}}
|
|
{{/unless}}
|
|
|
|
{{#gh-main onMouseEnter="closeAutoNav" data-notification-count=topNotificationCount}}
|
|
{{outlet}}
|
|
{{/gh-main}}
|
|
|
|
|
|
{{gh-notifications}}
|
|
|
|
{{gh-content-cover onClick="closeMenus" onMouseEnter="closeAutoNav"}}
|
|
|
|
{{outlet "modal"}}
|
|
{{outlet "settings-menu"}}
|
|
</div>{{!gh-viewport}}
|
|
{{/gh-app}}
|