mirror of
https://github.com/status-im/nft-faucet.git
synced 2025-02-23 20:18:24 +00:00
20 lines
859 B
Plaintext
20 lines
859 B
Plaintext
@page "/contracts"
|
|
@inherits BasicComponent
|
|
|
|
<PageTitle>Contracts</PageTitle>
|
|
<RadzenContent Container="main">
|
|
<RadzenHeading Size="H1" Text="Select contract" />
|
|
@if (AppState.SelectedNetwork == null)
|
|
{
|
|
<RadzenHeading Size="H3" Text="Please choose network first!" />
|
|
}
|
|
else
|
|
{
|
|
<div style="width: 100%; display: flex; flex-direction: row; justify-content: end;">
|
|
<RadzenButton Text="Deploy New" Icon="add_circle_outline" ButtonStyle="ButtonStyle.Secondary"
|
|
Click="@(() => NotificationService.Notify(NotificationSeverity.Warning, "NOT IMPLEMENTED", "Will be implemented later"))" />
|
|
</div>
|
|
<CardList Data="@ContractCards" OnSelectedChange="@(async _ => await OnContractChange())" @bind-SelectedItems="@AppState.UserStorage.SelectedContracts" />
|
|
}
|
|
</RadzenContent>
|