framework/views/admin.blade.php

40 lines
1.1 KiB
PHP
Raw Normal View History

{!! array_get($forum, 'attributes.headerHtml') !!}
2015-07-29 19:28:22 +08:00
<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">
2015-07-29 19:28:22 +08:00
<h1 class="Header-title">
<a href="{{ array_get($forum, 'attributes.baseUrl') }}">
<?php $title = array_get($forum, 'attributes.title'); ?>
@if ($logo = array_get($forum, 'attributes.logoUrl'))
<img src="{{ $logo }}" alt="{{ $title }}" class="Header-logo">
@else
{{ $title }}
@endif
2015-07-29 19:28:22 +08:00
</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-07-29 19:28:22 +08:00
2015-04-25 20:58:39 +08:00
</div>
2015-07-29 19:28:22 +08:00
<main class="App-content">
<div class="container">
<div id="admin-navigation" class="App-nav sideNav"></div>
</div>
<div id="content" class="sideNavOffset"></div>
{!! $content !!}
2015-04-25 20:58:39 +08:00
</main>
2015-07-29 19:28:22 +08:00
2015-04-25 20:58:39 +08:00
</div>