Initial Commit
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
<div class="wrapper">
|
||||
|
||||
<!-- Header Navbar -->
|
||||
<?= $this->render('admin/_navbarAdmin.phtml') ?>
|
||||
|
||||
<!-- Left side column. contains the logo and sidebar -->
|
||||
<aside class="main-sidebar sidebar-dark-brand elevation-4">
|
||||
|
||||
<!-- Brand Logo -->
|
||||
<a href="<?= $this->url(array(), 'default', true); ?>" class="brand-link navbar-dark-brand">
|
||||
<!--<img src="../baseImg/logo.png" alt="Brand Logo" class="brand-image">-->
|
||||
<span class="brand-text ml-10">Gestione Spiaggia</span>
|
||||
</a>
|
||||
|
||||
<?php switch ($this->moduleName):
|
||||
case'monitoring': ?>
|
||||
<?= $this->render('admin/_sidebarMonitoring.phtml') ?>
|
||||
<?php break;
|
||||
default: ?>
|
||||
<?= $this->render('admin/_sidebarAdmin.phtml') ?>
|
||||
<?php break;
|
||||
endswitch; ?>
|
||||
|
||||
</aside>
|
||||
|
||||
<!-- Content Wrapper. Contains page content -->
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<?php if ($this->action != 'index'): ?>
|
||||
<?= $this->render('admin/_contentHeaderAdmin.phtml') ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- Main content -->
|
||||
<div class="content <?= (preg_match('/^list/', $this->action) ? 'list' : ''); ?>">
|
||||
|
||||
<?php echo $this->layout()->content ?>
|
||||
|
||||
</div>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
<!-- /.content-wrapper -->
|
||||
|
||||
<!-- Main Footer -->
|
||||
<?php if (!preg_match('/^list/', $this->action)): ?>
|
||||
<?= $this->render('admin/_footerAdmin.phtml'); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user