2023-04-08 00:42:55 +02:00
|
|
|
@extends(templates/rvr)
|
|
|
|
|
|
|
|
@section(content)
|
|
|
|
<header>
|
|
|
|
<h1>
|
2023-04-16 20:54:29 +02:00
|
|
|
<a href="<?= Container::$routeCollection->getRoute('home')->generateLink() ?>" title="<?= $_ENV['APP_NAME'] ?>">
|
2023-04-08 00:42:55 +02:00
|
|
|
<img class="inline" width="1em" height="1em" src="<?= $_ENV['STATIC_ROOT'] ?>/img/icon.svg?rev=<?= REVISION ?>" alt="<?= $_ENV['APP_NAME'] ?>"><!--
|
|
|
|
--><span><?= $_ENV['APP_NAME'] ?></span>
|
|
|
|
</a>
|
|
|
|
</h1>
|
|
|
|
<p>
|
|
|
|
<?php if (Container::$request->user()) : ?>
|
2023-05-06 21:41:27 +02:00
|
|
|
<span><a href="<?= Container::$routeCollection->getRoute('account')->generateLink() ?>" title="Account"><!--
|
|
|
|
--><i class="fa-regular fa-user"></i> <?= Container::$request->user()->getDisplayName() ?><!--
|
|
|
|
--></a></span><!--
|
|
|
|
--><span><a href="<?= Container::$routeCollection->getRoute('logout')->generateLink() ?>" title="Logout"><!--
|
|
|
|
--><i class="fa-solid fa-arrow-right-from-bracket"></i> Logout</a><!--
|
|
|
|
--></span>
|
2023-04-08 00:42:55 +02:00
|
|
|
<?php endif; ?>
|
|
|
|
</p>
|
|
|
|
</header>
|
|
|
|
<main>
|
|
|
|
@yields('main')
|
|
|
|
</main>
|
|
|
|
<footer>
|
2023-04-09 03:16:45 +02:00
|
|
|
<p><?= round($__debug_runtime, 0) ?> ms</p><!--
|
|
|
|
--><p><span class="bold"><?= $_ENV['APP_NAME'] ?></span> <?= str_replace('Release_', '', VERSION) ?></p><!--
|
2023-04-08 00:42:55 +02:00
|
|
|
--><p>© The RVR Contributors <?= (new DateTime(REVISION_DATE))->format('Y') ?></p>
|
|
|
|
</footer>
|
|
|
|
@endsection
|