framework/views/forum.blade.php

58 lines
1.3 KiB
PHP
Raw Normal View History

<?php
/**
* Forum Client Template
*
* NOTE: You shouldn't edit this file directly. Your changes will be overwritten
* when you update Flarum. See flarum.org/docs/templates to learn how to
* customize your forum's layout.
*
* Flarum's JavaScript client mounts various components into key elements in
* this template. They are distinguished by their ID attributes:
*
* - #app
* - #app-navigation
* - #drawer
* - #header
* - #header-navigation
* - #home-link
* - #header-primary
* - #header-secondary
* - #content
* - #composer
*/
?>
<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>
2015-04-25 20:58:39 +08:00
<div class="container">
<h1 class="Header-title">
<a href="{{ $forum->attributes->baseUrl }}" id="home-link">
{{ $forum->attributes->title }}
</a>
</h1>
<div id="header-primary" class="Header-primary"></div>
<div id="header-secondary" class="Header-secondary"></div>
2015-04-25 20:58:39 +08:00
</div>
</header>
2015-04-25 20:58:39 +08:00
</div>
<main class="App-content">
2015-04-25 20:58:39 +08:00
<div id="content"></div>
{!! $content !!}
<div class="App-composer">
2015-04-25 20:58:39 +08:00
<div class="container">
<div id="composer"></div>
</div>
</div>
</main>
2015-04-25 20:58:39 +08:00
</div>