Skip to content

Commit

Permalink
fix ui halaman guru dan petugas
Browse files Browse the repository at this point in the history
  • Loading branch information
nanda443 authored and ikhsan3adi committed Jul 29, 2024
1 parent 34db326 commit 6065671
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 54 deletions.
59 changes: 32 additions & 27 deletions app/Views/admin/data/data-guru.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,39 +14,44 @@
</div>
</div>
<?php endif; ?>
<div class="card">
<div class="card-header card-header-tabs card-header-success">
<div class="nav-tabs-navigation">
<div class="row">
<div class="col">
<h4 class="card-title"><b>Daftar Guru</b></h4>
<p class="card-category">Angkatan <?= $generalSettings->school_year; ?></p>
</div>
<div class="col-auto">
<div class="nav-tabs-wrapper">
<ul class="nav nav-tabs" data-tabs="tabs">
<li class="nav-item">
<a class="nav-link" id="tabBtn" onclick="removeHover()" href="<?= base_url('admin/guru/create'); ?>">
<i class="material-icons">add</i> Tambah data guru
<div class="ripple-container"></div>
</a>
</li>
<li class="nav-item">
<a class="nav-link" id="refreshBtn" onclick="getDataGuru()" href="#" data-toggle="tab">
<i class="material-icons">refresh</i> Refresh
<div class="ripple-container"></div>
</a>
</li>
</ul>
<div class="row">
<div class="col-12 col-xl-12">
<div class="card">
<div class="card-header card-header-tabs card-header-success">
<div class="nav-tabs-navigation">
<div class="row">
<div class="col-md-4 col-lg-5">
<h4 class="card-title"><b>Daftar Guru</b></h4>
<p class="card-category">Angkatan <?= $generalSettings->school_year; ?></p>
</div>
<div class="ml-md-auto col-auto row">
<div class="col-12 col-sm-auto nav nav-tabs">
<div class="nav-item">
<a class="nav-link" id="tabBtn" onclick="removeHover()" href="<?= base_url('admin/guru/create'); ?>">
<i class="material-icons">add</i> Tambah data guru
<div class="ripple-container"></div>
</a>
</div>
</div>
<div class="col-12 col-sm-auto nav nav-tabs">
<div class="nav-item">
<a class="nav-link" id="refreshBtn" onclick="getDataGuru()" href="#" data-toggle="tab">
<i class="material-icons">refresh</i> Refresh
<div class="ripple-container"></div>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="dataGuru">
<p class="text-center mt-3">Daftar guru muncul disini</p>
</div>
</div>
</div>
<div id="dataGuru">
<p class="text-center mt-3">Daftar guru muncul disini</p>
</div>
</div>

</div>
</div>
</div>
Expand Down
58 changes: 31 additions & 27 deletions app/Views/admin/petugas/data-petugas.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,38 +14,42 @@
</div>
</div>
<?php endif; ?>
<div class="card">
<div class="card-header card-header-tabs card-header-info">
<div class="nav-tabs-navigation">
<div class="row">
<div class="col">
<h4 class="card-title"><b>Daftar Petugas</b></h4>
<p class="card-category">Petugas absensi</p>
</div>
<div class="col-auto">
<div class="nav-tabs-wrapper">
<ul class="nav nav-tabs" data-tabs="tabs">
<li class="nav-item">
<a class="nav-link" id="tabBtn" onclick="removeHover();" href="<?= base_url('admin/petugas/register'); ?>">
<i class="material-icons">add</i> Tambah data petugas
<div class="ripple-container"></div>
</a>
</li>
<li class="nav-item">
<a class="nav-link" id="refreshBtn" onclick="getDataPetugas()" href="#" data-toggle="tab">
<i class="material-icons">refresh</i> Refresh
<div class="ripple-container"></div>
</a>
</li>
</ul>
<div class="row">
<div class="col-12 col-xl-12">
<div class="card">
<div class="card-header card-header-tabs card-header-info">
<div class="nav-tabs-navigation">
<div class="row">
<div class="col-md-4 col-lg-5">
<h4 class="card-title"><b>Daftar Petugas</b></h4>
<p class="card-category">Petugas absensi</p>
</div>
<div class="ml-md-auto col-auto row">
<div class="col-12 col-sm-auto nav nav-tabs">
<div class="nav-item">
<a class="nav-link" id="tabBtn" onclick="removeHover();" href="<?= base_url('admin/petugas/register'); ?>">
<i class="material-icons">add</i> Tambah data petugas
<div class="ripple-container"></div>
</a>
</div>
</div>
<div class="col-12 col-sm-auto nav nav-tabs">
<div class="nav-item">
<a class="nav-link" id="refreshBtn" onclick="getDataPetugas()" href="#" data-toggle="tab">
<i class="material-icons">refresh</i> Refresh
<div class="ripple-container"></div>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="dataPetugas">
<p class="text-center mt-3">Daftar petugas muncul disini</p>
</div>
</div>
</div>
<div id="dataPetugas">
<p class="text-center mt-3">Daftar petugas muncul disini</p>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 6065671

Please sign in to comment.