panti_asuhan_backend/application/views/admin/sidebar.php

56 lines
1.7 KiB
PHP
Raw Permalink Normal View History

2024-06-05 10:18:01 +00:00
<div class="main-menu">
<header class="header">
<a href="index.html" class="logo">Parepare</a>
<button type="button" class="button-close fa fa-times js__menu_close"></button>
<div class="user">
<a href="#" class="avatar"><img src="<?=base_url()?>assets/images/admin.png" alt=""><span class="status online"></span></a>
<h5 class="name"><a href="profile.html">Admin</a></h5>
<h5 class="position">Administrator</h5>
</div>
<!-- /.user -->
</header>
<!-- /.header -->
<div class="content">
<div class="navigation">
<h5 class="title">Navigasi</h5>
<!-- /.title -->
<ul class="menu js__accordion">
<li <?php if ($header == 'Halaman Utama') {
echo 'class="current"';
} ?>>
<a class="waves-effect" href="<?= base_url('home') ?>"><i class="menu-icon fa fa-home"></i><span>Halaman Utama</span></a>
</li>
<li <?php if ($header == 'Pengaturan Parkir') {
echo 'class="current"';
} ?>>
<a class="waves-effect" href="<?= base_url('home/parkir') ?>"><i class="menu-icon fa fa-car"></i><span>Pengaturan Parkir</span></a>
</li>
<li>
<a class="waves-effect" href="#" onclick="logout()"><i class="menu-icon mdi mdi-logout"></i><span>Logout</span></a>
</li>
</ul>
</div>
<!-- /.navigation -->
</div>
<!-- /.content -->
</div>
<!-- /.main-menu -->
<div class="fixed-navbar">
<div class="pull-left">
<button type="button" class="menu-mobile-button glyphicon glyphicon-menu-hamburger js__menu_mobile"></button>
<h1 class="page-title"><?= $header ?></h1>
<!-- /.page-title -->
</div>
<!-- /.pull-left -->
<div class="pull-right">
<a href="#" class="ico-item fa fa-power-off js__logout"></a>
</div>
<!-- /.pull-right -->
</div>