Ghost/ghost/admin/app/templates/application.hbs

32 lines
1.1 KiB
Handlebars
Raw Normal View History

{{#gh-app showSettingsMenu=showSettingsMenu}}
{{#gh-skip-link anchor=".gh-main"}}Skip to main content{{/gh-skip-link}}
2015-05-20 18:37:06 +03:00
{{gh-alerts notify="topNotificationChange"}}
2015-05-20 18:37:06 +03:00
<div class="gh-viewport {{if autoNav 'gh-autonav'}} {{if showSettingsMenu 'settings-menu-expanded'}} {{if showMobileMenu 'mobile-menu-expanded'}}">
{{#if showNavMenu}}
{{gh-nav-menu open=autoNavOpen toggleMaximise="toggleAutoNav" openAutoNav="openAutoNav" showMarkdownHelp="toggleMarkdownHelpModal" closeMobileMenu="closeMobileMenu"}}
{{/if}}
{{#gh-main onMouseEnter="closeAutoNav" data-notification-count=topNotificationCount}}
{{outlet}}
{{/gh-main}}
2015-05-20 18:37:06 +03:00
{{gh-notifications}}
{{gh-content-cover onClick="closeMenus" onMouseEnter="closeAutoNav"}}
2015-05-21 20:03:24 +03:00
{{outlet "settings-menu"}}
2017-02-17 10:32:29 +03:00
{{gh-mobile-nav-bar}}
</div>{{!gh-viewport}}
{{/gh-app}}
{{#if showMarkdownHelpModal}}
{{gh-fullscreen-modal "markdown-help"
close=(route-action "toggleMarkdownHelpModal")
modifier="wide"}}
{{/if}}
{{ember-load-remover}}