Made some ui changes

This commit is contained in:
Marcel Baumgartner 2023-11-18 23:25:52 +01:00
parent 3a53fa0a3c
commit f57aac4f6c
4 changed files with 5 additions and 1 deletions

View file

@ -49,6 +49,7 @@
<a href="/service/@(context.Id)">View as user</a>
</Template>
</Column>
<Pager ShowPageNumber="true" ShowTotalCount="true" AlwaysShow="true"/>
</Table>
</LazyLoader>
</div>

View file

@ -25,6 +25,7 @@
<Column TableItem="Coupon" Title="Code" Field="@(x => x.Code)" Sortable="true" Filterable="true"/>
<Column TableItem="Coupon" Title="Amount" Field="@(x => x.Amount)" Sortable="true" Filterable="true"/>
<Column TableItem="Coupon" Title="Percent" Field="@(x => x.Percent)" Sortable="true" Filterable="true"/>
<Pager ShowPageNumber="true" ShowTotalCount="true" AlwaysShow="true"/>
</AutoCrud>
</div>

View file

@ -48,9 +48,10 @@
<Column TableItem="Service" Field="@(x => x.CreatedAt)" Title="Created at" Filterable="true" Sortable="true"/>
<Column TableItem="Service" Field="@(x => x.RenewAt)" Title="" Filterable="false" Sortable="true">
<Template>
<span>Expired since @(Formatter.FormatAgoFromDateTime(context.RenewAt))</span>
<span>Expired @(Formatter.FormatAgoFromDateTime(context.RenewAt))</span>
</Template>
</Column>
<Pager ShowPageNumber="true" ShowTotalCount="true" AlwaysShow="true"/>
</Table>
</LazyLoader>
</div>

View file

@ -23,6 +23,7 @@
<Column TableItem="GiftCode" Field="@(x => x.Code)" Title="Code" Sortable="false" Filterable="true" />
<Column TableItem="GiftCode" Field="@(x => x.Amount)" Title="Amount" Sortable="true" Filterable="true" />
<Column TableItem="GiftCode" Field="@(x => x.Value)" Title="Value" Sortable="true" Filterable="true" />
<Pager ShowPageNumber="true" ShowTotalCount="true" AlwaysShow="true"/>
</AutoCrud>
</div>