73 lines
1.9 KiB
Plaintext
73 lines
1.9 KiB
Plaintext
@page "/user/properties"
|
|
@using TIAMSharedUI.Shared
|
|
@layout AdminLayout
|
|
<h3>Properties</h3>
|
|
|
|
<h4>You have no properties yet...</h4>
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="card-body card-admin-body py-2 px-4">
|
|
<div class="d-flex flex-row mb-4 pb-2">
|
|
|
|
<DxGrid Data="@OrderData">
|
|
<Columns>
|
|
<DxGridDataColumn FieldName="Date" DisplayFormat="D" MinWidth="100">
|
|
<CellDisplayTemplate>
|
|
<a class="d-block text-left" href="transferdetails">@context.Value</a>
|
|
</CellDisplayTemplate>
|
|
|
|
</DxGridDataColumn>
|
|
<DxGridDataColumn FieldName="Income" Width="15%" />
|
|
<DxGridDataColumn FieldName="TransactionId" Width="15%" />
|
|
<DxGridDataColumn FieldName="Status" Width="10%" />
|
|
</Columns>
|
|
</DxGrid>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="d-flex flex-row mb-4 pb-2">
|
|
<h4> Some <span class="small text-muted"> conclusion </span></h4>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@code {
|
|
|
|
object? OrderData { get; set; }
|
|
|
|
protected override void OnInitialized()
|
|
{
|
|
base.OnInitialized();
|
|
OrderData = new object[]
|
|
{
|
|
new {
|
|
Date = DateTime.Now.AddDays(3),
|
|
Income = "$5",
|
|
TransactionId = "POX987532582",
|
|
Status = "Finished"
|
|
},
|
|
new {
|
|
Date = DateTime.Today.AddDays(-2),
|
|
Income = "$5",
|
|
TransactionId = "POX645646382",
|
|
Status = "Finished"
|
|
},
|
|
new
|
|
{
|
|
Date = DateTime.Today.AddDays(-6),
|
|
Income = "$8",
|
|
TransactionId = "POX645766311",
|
|
Status = "Finished"
|
|
},
|
|
};
|
|
|
|
|
|
}
|
|
|
|
}
|