mirror of
https://github.com/flarum/framework.git
synced 2024-12-13 07:03:35 +08:00
9bfb797fdc
- All custom JS variables are now preloaded into the `app.data` object, rather than directly on the `app` object. This means that admin settings are available in `app.data.settings` rather than `app.settings`, etc. - Cleaner route handler generation - Renamed ConfigureClientView to ConfigureWebApp, though the former still exists and is deprecated - Partial fix for #881 (strips ?nojs=1 from URL if possible, so that refreshing will attempt to load JS version again)
33 lines
845 B
PHP
33 lines
845 B
PHP
<div id="app" class="App">
|
|
|
|
<div id="app-navigation" class="App-navigation"></div>
|
|
|
|
<div id="drawer" class="App-drawer">
|
|
|
|
<header id="header" class="App-header">
|
|
<div id="header-navigation" class="Header-navigation"></div>
|
|
<div class="container">
|
|
<h1 class="Header-title">
|
|
<a href="{{ array_get($forum, 'attributes.baseUrl') }}">
|
|
{{ array_get($forum, 'attributes.title') }}
|
|
</a>
|
|
</h1>
|
|
<div id="header-primary" class="Header-primary"></div>
|
|
<div id="header-secondary" class="Header-secondary"></div>
|
|
</div>
|
|
</header>
|
|
|
|
</div>
|
|
|
|
<main class="App-content">
|
|
<div class="container">
|
|
<div id="admin-navigation" class="App-nav sideNav"></div>
|
|
</div>
|
|
|
|
<div id="content" class="sideNavOffset"></div>
|
|
|
|
{!! $content !!}
|
|
</main>
|
|
|
|
</div>
|