mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: design review
This commit is contained in:
1 parent
d39c2e2682
commit
9cf196672d
1 file changed
+5
-9
@@ -98,10 +98,9 @@
|
||||
<TableScroll noStyles noMargin class="u-margin-block-start-16">
|
||||
<TableHeader>
|
||||
<TableCellHead>Code</TableCellHead>
|
||||
<TableCellHead>Total</TableCellHead>
|
||||
<TableCellHead>Remaining</TableCellHead>
|
||||
<TableCellHead>Amount</TableCellHead>
|
||||
<TableCellHead>Date Added</TableCellHead>
|
||||
<TableCellHead>Expiry Date</TableCellHead>
|
||||
<TableCellHead>Expires at</TableCellHead>
|
||||
</TableHeader>
|
||||
<TableBody>
|
||||
{#each creditList.credits as credit}
|
||||
@@ -109,14 +108,11 @@
|
||||
<TableCellText title="code">
|
||||
{credit?.couponId ?? '-'}
|
||||
</TableCellText>
|
||||
<TableCellText title="remaining">
|
||||
{formatCurrency(credit.credits)}
|
||||
</TableCellText>
|
||||
<TableCellText title="total">
|
||||
{formatCurrency(credit.total)}
|
||||
</TableCellText>
|
||||
<TableCellText title="date added">
|
||||
{toLocaleDate(credit.$createdAt)}
|
||||
<TableCellText title="remaining">
|
||||
{formatCurrency(credit.credits)}
|
||||
</TableCellText>
|
||||
<TableCellText title="expiry date">
|
||||
{toLocaleDate(credit.expiration)}
|
||||
@@ -126,7 +122,7 @@
|
||||
</TableBody>
|
||||
</TableScroll>
|
||||
<div class="u-flex u-main-space-between">
|
||||
<p class="text">Total coupons: {creditList?.total}</p>
|
||||
<p class="text">Total credits: {creditList?.total}</p>
|
||||
<PaginationInline {limit} bind:offset sum={creditList?.total} hidePages />
|
||||
</div>
|
||||
{:else}
|
||||
|
||||
Reference in new issue
Block a user