28 lines
1.6 KiB
PHP
28 lines
1.6 KiB
PHP
|
<?php
|
||
|
|
||
|
use App\Utils\Page;
|
||
|
?>
|
||
|
<div class="w3-top w3-round">
|
||
|
<div class="w3-bar w3-theme w3-top w3-left-align w3-large">
|
||
|
<a class="w3-bar-item w3-button w3-right w3-hide-large w3-hover-white w3-large w3-theme-l1" href="javascript:void(0)" onclick="w3_open()"><i class="fa fa-bars"></i></a>
|
||
|
<a href="#" class="w3-bar-item w3-button w3-theme-l1 title"><i class="fa fa-camera" aria-hidden="true"></i> SoShot</a>
|
||
|
<?php if ($this->runningJob) : ?><i class="fa fa-refresh fa-spin w3-text-red"></i><?php endif; ?>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<!-- Sidebar -->
|
||
|
<nav class="w3-sidebar w3-bar-block w3-collapse w3-large w3-theme-l5 w3-round" id="mySidebar">
|
||
|
<a href="javascript:void(0)" onclick="w3_close()" class="w3-right w3-xlarge w3-padding-large w3-hover-black w3-hide-large" title="Close Menu">
|
||
|
<i class="fa fa-remove"></i>
|
||
|
</a>
|
||
|
<a class="w3-bar-item w3-button <?= Page::active($params->page, 'infos', 'w3-gray') ?>" href="?page=infos"> <i class="fa fa-info"></i> Infos</a>
|
||
|
<a class="w3-bar-item w3-button <?= Page::active($params->page, 'settings', 'w3-gray') ?>" href="?page=settings"><i class="fa fa-cog"></i> Settings</a>
|
||
|
<a class="w3-bar-item w3-button w3-margin-top <?= Page::active($params->page, 'logout', 'w3-gray') ?>" href="/logout"><i class="fa fa-cog"></i> Logout</a>
|
||
|
</nav>
|
||
|
|
||
|
<!-- Overlay effect when opening sidebar on small screens -->
|
||
|
<div class="w3-overlay w3-hide-large" onclick="w3_close()" style="cursor:pointer" title="close side menu" id="myOverlay"></div>
|
||
|
|
||
|
|
||
|
<!-- Main content: shift it to the right by 250 pixels when the sidebar is visible -->
|
||
|
<div class="w3-main w3-animate-right">
|