Initial Commit
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
<nav class="main-header navbar navbar-expand navbar-dark navbar-dark-brand" role="navigation">
|
||||
|
||||
<!-- Left navbar links -->
|
||||
<ul class="navbar-nav">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" data-widget="pushmenu" href="#" role="button"><i class="fas fa-bars"></i></a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class="navbar-nav ml-auto">
|
||||
|
||||
<?php if ($this->enableTestSdk): ?>
|
||||
<li class="nav-item dev-block">
|
||||
<span style="padding: 5px;" class="alert alert-warning ml-5"><i
|
||||
class="fa fa-exclamation-triangle fa-fw"></i> STAI VISUALIZZANDO I DATI DI TEST</span>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- Notifications Dropdown Menu -->
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link" data-toggle="dropdown" href="#">
|
||||
<i class="far fa-bell"></i>
|
||||
<?php if ($this->notification > 0): ?>
|
||||
<span class="badge badge-warning navbar-badge"><?= $this->notification; ?></span>
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
|
||||
<?php if ($this->notification > 0): ?>
|
||||
<span class="dropdown-header"><?= $this->notification; ?> Notifiche Totali</span>
|
||||
<div class="dropdown-divider"></div>
|
||||
<?php foreach ((array) $this->notificationlist as $key => $value): ?>
|
||||
<?= $this->partial('index/partial/notify.phtml', $value); ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php else: ?>
|
||||
<a class="dropdown-item dropdown-footer">Non ci sono nuove notifiche</a>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->AuthInfo()->checkPermission('admin')): ?>
|
||||
<div class="dropdown-divider"></div>
|
||||
<?php if ($this->moduleName == 'monitoring'): ?>
|
||||
<a class="dropdown-item dropdown-footer"
|
||||
href="<?= $this->url(array('action' => 'index'), 'admin', true); ?>"><i
|
||||
class="fas fa-fw fa-dashboard"></i> VAI ALL' ADMIN</a>
|
||||
<?php else: ?>
|
||||
<a class="dropdown-item dropdown-footer"
|
||||
href="<?= $this->url(array('action' => 'index'), 'monitoring', true); ?>"><i
|
||||
class="fas fa-fw fa-tasks"></i> VAI AL MONITORING</a>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link"
|
||||
href="<?= $this->url(array('action' => 'logout'), 'admin', true); ?>" role="button"><i
|
||||
class="fas fa-power-off"></i> Logout</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</nav>
|
||||
Reference in New Issue
Block a user