diff --git a/resources/views/Rekening.blade.php b/resources/views/Rekening.blade.php index ba4cc7e..79d88f0 100644 --- a/resources/views/Rekening.blade.php +++ b/resources/views/Rekening.blade.php @@ -159,6 +159,25 @@ function calculateBalancePHP($previousBalance, $debit, $kredit, $accountType) { + +
+
+ Rows per page: + +
+ +
+ + Page 1 of 14 + +
+
+ @endforeach @@ -248,6 +267,49 @@ function calculateBalancePHP($previousBalance, $debit, $kredit, $accountType) { page-break-after: always; } } + + /* Styling untuk pagination */ + .pagination-container { + background-color: white; + padding: 1rem; + border-radius: 0.5rem; + box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); + margin-top: 1rem; + } + + #rowsPerPage { + background-color: white; + border-color: #e2e8f0; + padding: 0.25rem 2rem 0.25rem 0.5rem; + appearance: none; + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e"); + background-position: right 0.5rem center; + background-repeat: no-repeat; + background-size: 1.5em 1.5em; + } + + .pagination-button { + transition: all 0.2s; + background-color: #f3f4f6; + color: #374151; + padding: 0.5rem 1rem; + border-radius: 0.375rem; + } + + .pagination-button:hover:not(:disabled) { + background-color: #e5e7eb; + } + + .pagination-button:disabled { + opacity: 0.5; + cursor: not-allowed; + } + + #pageIndicator { + color: #374151; + font-size: 0.875rem; + padding: 0 1rem; + } @endsection \ No newline at end of file