top-up view UI fixed

This commit is contained in:
armiejean 2025-05-20 17:57:15 +08:00
parent 07084d227d
commit 56d7fcba13
1 changed files with 26 additions and 38 deletions

View File

@ -3,11 +3,13 @@
@section('page_title', 'View Top-Up') @section('page_title', 'View Top-Up')
@section('content') @section('content')
<div class="card-header border-0 bg-transparent py-2"> <div class="container-fluid py-4">
<h5 class="mb-0 fw-bold text-dark" style="font-size: 1.25rem;">View Top-Up</h5>
</div>
<div class="row justify-content-center"> <div class="row justify-content-center">
<div class="card-body p-3"> <div class="card">
<div class="card-header border-0 bg-transparent">
<h5 class="mb-0">View Top-Up</h5>
</div>
<div class="card-body">
<div class="mb-3"> <div class="mb-3">
<label class="form-label">Free Code</label> <label class="form-label">Free Code</label>
<input type="text" class="form-control" value="{{ $topup['freeCode'] }}" readonly> <input type="text" class="form-control" value="{{ $topup['freeCode'] }}" readonly>
@ -24,26 +26,12 @@
<label class="form-label">Type</label> <label class="form-label">Type</label>
<input type="text" class="form-control" value="{{ $topup['type'] }}" readonly> <input type="text" class="form-control" value="{{ $topup['type'] }}" readonly>
</div> </div>
<div class="d-flex justify-content-end mt-3"> <div class="text-end">
<a href="{{ route('top-up') }}" class="btn btn-outline-secondary">Back</a> <a href="{{ route('top-up') }}" class="btn btn-primary">Back</a>
<a href="{{ route('top-up.edit', $topup['topup_uuid']) }}" class="btn btn-primary">Edit</a> <a href="{{ route('top-up.edit', $topup['topup_uuid']) }}" class="btn btn-primary">Edit</a>
</div> </div>
</div> </div>
</div> </div>
</div>
<style> </div>
.card {
border-radius: 5px;
border: 1px solid #dee2e6;
}
.form-label {
font-size: 0.95rem;
}
.form-control {
font-size: 0.9rem;
width: 100%;
background-color: #f8f9fa;
}
</style>
@endsection @endsection