mirror of
https://github.com/flarum/framework.git
synced 2025-02-11 00:09:45 +08:00
64 lines
1.6 KiB
PHP
64 lines
1.6 KiB
PHP
<?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:
|
|
*
|
|
* - #page
|
|
* - #page-back-button
|
|
* - #header
|
|
* - #header-back-button
|
|
* - #home-link
|
|
* - #header-primary-controls
|
|
* - #header-secondary-controls
|
|
* - #footer
|
|
* - #footer-primary-controls
|
|
* - #footer-secondary-controls
|
|
* - #content
|
|
* - #composer
|
|
*/
|
|
?>
|
|
<div class="global-page" id="page">
|
|
|
|
<div id="back-control"></div>
|
|
|
|
<div class="global-drawer">
|
|
|
|
<header class="global-header" id="header">
|
|
<div id="back-button"></div>
|
|
<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>
|
|
</div>
|
|
</header>
|
|
|
|
<footer class="global-footer" id="footer">
|
|
<div class="container">
|
|
<div id="footer-primary" class="footer-primary"></div>
|
|
<div id="footer-secondary" class="footer-secondary"></div>
|
|
</div>
|
|
</footer>
|
|
|
|
</div>
|
|
|
|
<main class="global-content">
|
|
<div id="content"></div>
|
|
<div class="composer-container">
|
|
<div class="container">
|
|
<div id="composer"></div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
</div>
|