Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some UI #13

Merged
merged 1 commit into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions app/Views/fines/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@
</div>
<div class="col-12 col-lg-7">
<div class="d-flex gap-2 justify-content-md-end">
<div>
<?php if (auth()->user()->inGroup('superadmin')) : ?>
<a href=" <?= base_url('admin/fines/settings'); ?>" class="btn btn-outline-danger text-nowrap">
Pengaturan Denda
</a>
<?php endif; ?>
</div>
<div>
<form action="" method="get">
<input type="hidden" name="paid-off" value="<?= $paidOffFilter ? 'true' : 'false'; ?>">
Expand Down
8 changes: 4 additions & 4 deletions app/Views/layouts/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@
<div class="navbar-collapse justify-content-end px-0" id="navbarNav">
<ul class="navbar-nav flex-row ms-auto align-items-center justify-content-end gap-2" id="headerCollapse">
<li class="nav-item" id="navBtn">
<a href=" <?= base_url('admin/loans/new/members/search'); ?>" target="_blank" class="btn btn-primary">
<a href=" <?= base_url('admin/loans/new/members/search'); ?>" target="_blank" class="btn btn-primary text-nowrap">
Ajukan peminjaman
</a>
</li>
<li class="nav-item" id="navBtn">
<a href="<?= base_url('admin/returns/new/search'); ?>" class="btn btn-outline-primary">
<a href="<?= base_url('admin/returns/new/search'); ?>" class="btn btn-outline-primary text-nowrap">
Pengembalian buku
</a>
</li>
<li class="nav-item" id="navBtn">
<a href="<?= base_url('admin/fines/returns/search'); ?>" class="btn btn-outline-warning">
<a href="<?= base_url('admin/fines/returns/search'); ?>" class="btn btn-outline-warning text-nowrap">
Bayar denda
</a>
</li>
<?php if (auth()->user()->inGroup('superadmin')) : ?>
<li class="nav-item" id="navBtn">
<a href=" <?= base_url('admin/fines/settings'); ?>" class="btn btn-outline-danger">
<a href=" <?= base_url('admin/fines/settings'); ?>" class="btn btn-outline-danger text-nowrap">
Pengaturan Denda
</a>
</li>
Expand Down