mirror of
https://github.com/flarum/core.git
synced 2025-08-10 10:24:46 +02:00
Finish client action refactoring. closes flarum/core#126
This commit is contained in:
@@ -1,21 +1,56 @@
|
||||
<?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>
|
||||
<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">
|
||||
@@ -24,4 +59,5 @@
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user