discourse/app/assets/javascripts/discourse/templates/application.hbs

35 lines
1.1 KiB
Handlebars
Raw Normal View History

{{plugin-outlet name="above-site-header"}}
{{site-header canSignUp=canSignUp
2017-08-02 02:50:17 +08:00
showCreateAccount=(route-action "showCreateAccount")
showLogin=(route-action "showLogin")
showKeyboard=(route-action "showKeyboardShortcutsHelp")
toggleMobileView=(route-action "toggleMobileView")
toggleAnonymous=(route-action "toggleAnonymous")
logout=(route-action "logout")}}
{{plugin-outlet name="below-site-header" args=(hash currentPath=currentPath)}}
2013-02-06 03:16:51 +08:00
<div id="main-outlet" class="wrap">
2018-11-14 03:34:00 +08:00
{{plugin-outlet name="above-main-container"}}
<div class="container">
{{#if showTop}}
{{custom-html name="top"}}
{{/if}}
{{notification-consent-banner}}
{{global-notice}}
{{create-topics-notice}}
</div>
2013-02-06 03:16:51 +08:00
{{outlet}}
{{outlet "user-card"}}
2013-02-06 03:16:51 +08:00
</div>
{{plugin-outlet name="above-footer" args=(hash showFooter=showFooter)}}
{{#if showFooter}}
{{custom-html name="footer" triggerAppEvent="true"}}
{{/if}}
{{plugin-outlet name="below-footer" args=(hash showFooter=showFooter)}}
{{outlet "modal"}}
{{topic-entrance}}
{{outlet "composer"}}