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

46 lines
1.1 KiB
Handlebars
Raw Normal View History

<GhApp @showSettingsMenu={{this.ui.showSettingsMenu}}>
<GhSkipLink @anchor=".gh-main">Skip to main content</GhSkipLink>
2015-05-20 18:37:06 +03:00
<GhAlerts />
2015-05-20 18:37:06 +03:00
<div class="gh-viewport {{if this.ui.showSettingsMenu 'settings-menu-expanded'}} {{if this.ui.showMobileMenu 'mobile-menu-expanded'}}">
{{#if this.showNavMenu}}
<GhNavMenu />
{{/if}}
<main class="gh-main {{this.ui.mainClass}}" role="main">
{{outlet}}
{{#if this.showBilling}}
<GhBillingModal />
{{/if}}
</main>
2015-05-20 18:37:06 +03:00
<GhNotifications />
<GhContentCover />
2015-05-21 20:03:24 +03:00
<GhMobileNavBar />
<GhWhatsNew />
</div>{{!gh-viewport}}
{{#if this.customViews.showFormModal}}
<GhFullscreenModal
@modal="custom-view-form"
@close={{this.customViews.toggleFormModal}}
@modifier="action narrow"
/>
{{/if}}
2021-03-04 12:12:25 +03:00
{{#if this.settings.accentColor}}
<style>
.koenig-editor__editor a:not([class]) {
box-shadow: 0 1px 0 #ffffff, 0 2px 0 {{this.settings.accentColor}};
}
</style>
{{/if}}
</GhApp>
<EmberLoadRemover />