Skip to content

Commit

Permalink
Add card 'Expand' action for sentence information
Browse files Browse the repository at this point in the history
  • Loading branch information
samgibsonmoj authored and carlsixsmith-moj committed Aug 7, 2024
1 parent 1f84d09 commit 701ae1e
Showing 1 changed file with 27 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
<CardHeaderContent>
Custody
</CardHeaderContent>
<CardHeaderActions>
<MudTooltip Text="Expand">
<MudIconButton OnClick="Expand" Icon="@Icons.Material.Filled.OpenInNew" />
</MudTooltip>
</CardHeaderActions>
<CardHeaderAvatar>
<MudAvatar Color="Color.Primary">
<MudIcon Icon="@Icons.Material.Filled.Person" />
Expand All @@ -27,6 +32,11 @@
<CardHeaderContent>
Sentence
</CardHeaderContent>
<CardHeaderActions>
<MudTooltip Text="Expand">
<MudIconButton OnClick="Expand" Icon="@Icons.Material.Filled.OpenInNew" />
</MudTooltip>
</CardHeaderActions>
</MudCardHeader>
<MudCardContent>
<MudGrid>
Expand Down Expand Up @@ -70,6 +80,11 @@
<CardHeaderContent>
Community
</CardHeaderContent>
<CardHeaderActions>
<MudTooltip Text="Expand">
<MudIconButton OnClick="Expand" Icon="@Icons.Material.Filled.OpenInNew" />
</MudTooltip>
</CardHeaderActions>
<CardHeaderAvatar>
<MudAvatar Color="Color.Primary">
<MudIcon Icon="@Icons.Material.Filled.Person" />
Expand All @@ -92,6 +107,11 @@
<CardHeaderContent>
Supervising Officer / Offender Manager
</CardHeaderContent>
<CardHeaderActions>
<MudTooltip Text="Expand">
<MudIconButton OnClick="Expand" Icon="@Icons.Material.Filled.OpenInNew" />
</MudTooltip>
</CardHeaderActions>
</MudCardHeader>
<MudCardContent>
<MudTextField Value="Model.OffenderManager.Name" Label="Name" />
Expand Down Expand Up @@ -170,6 +190,12 @@
)
);

base.OnInitialized();
base.OnInitialized();
}

private async Task Expand()
{
await DialogService.ShowMessageBox("Expanded Information", "More information...");
}

}

0 comments on commit 701ae1e

Please sign in to comment.