mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
Updated template header
This commit is contained in:
parent
587b12ceac
commit
f451b8a99a
1 changed files with 5 additions and 4 deletions
|
@ -5,19 +5,20 @@
|
|||
<div class="l-center">
|
||||
<a href="/" class="l-logo"></a>
|
||||
<!-- /.l-logo -->
|
||||
<div class="l-menu clearfix">
|
||||
<div class="l-menu clearfix noselect">
|
||||
<div class="l-menu__item <?php if($TAB == 'PACKAGE' ) echo 'l-menu__item--active' ?>"><a href="/list/package/"><?=__('Packages')?></a></div>
|
||||
<div class="l-menu__item <?php if($TAB == 'IP' ) echo 'l-menu__item--active' ?>"><a href="/list/ip/"><?=__('IP')?></a></div>
|
||||
<div class="l-menu__item <?php if($TAB == 'RRD' ) echo 'l-menu__item--active' ?>"><a href="/list/rrd/"><?=__('Graphs')?></a></div>
|
||||
<div class="l-menu__item <?php if($TAB == 'STATS' ) echo 'l-menu__item--active' ?>"><a href="/list/stats/"><?=__('Statistics')?></a></div>
|
||||
<div class="l-menu__item <?php if($TAB == 'LOG' ) echo 'l-menu__item--active' ?>"><a href="/list/log/"><?=__('Log')?></a></div>
|
||||
<div class="l-menu__item <?php if($TAB == 'UPDATES' ) echo 'l-menu__item--active' ?>"><a href="/list/updates/"><?=__('Updates')?></a></div>
|
||||
<div class="l-menu__item <?php if($TAB == 'FIREWALL' ) echo 'l-menu__item--active' ?>"><a href="/list/firewall/"><?=__('Firewall')?></a></div>
|
||||
<?php if ((isset($_SESSION['FIREWALL_SYSTEM'])) && (!empty($_SESSION['FIREWALL_SYSTEM']))) {?><div class="l-menu__item <?php if($TAB == 'FIREWALL' ) echo 'l-menu__item--active' ?>"><a href="/list/firewall/"><?=__('Firewall')?></a></div><?php }?>
|
||||
<?php if ((isset($_SESSION['FILEMANAGER_KEY'])) && (!empty($_SESSION['FILEMANAGER_KEY']))) {?><div class="l-menu__item <?php if($TAB == 'FILEMANAGER' ) echo 'l-menu__item--active' ?>"><a href="/list/directory/"><?=__('File Manager')?></a></div><?php }?>
|
||||
<div class="l-menu__item <?php if($TAB == 'SERVER' ) echo 'l-menu__item--active' ?>"><a href="/list/server/"><?=__('Server')?></a></div>
|
||||
</div>
|
||||
<!-- /.l-menu -->
|
||||
|
||||
<div class="l-profile">
|
||||
<div class="l-profile noselect">
|
||||
<a class="l-profile__username" href="/edit/user/?user=<?php echo $user; ?>"><?=$user?></a>
|
||||
<a class="l-profile__logout" href="/logout/"> <?=__('Log out')?> </a>
|
||||
</div>
|
||||
|
@ -100,4 +101,4 @@
|
|||
<!-- /.l-stats -->
|
||||
</div>
|
||||
<div class="l-separator"></div>
|
||||
<!-- /.l-separator -->
|
||||
<!-- /.l-separator -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue