mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-04-14 15:41:38 +00:00
25 lines
1007 B
Plaintext
25 lines
1007 B
Plaintext
|
|
@inherits MSGComponentBase
|
||
|
|
|
||
|
|
<MudDialog>
|
||
|
|
<DialogContent>
|
||
|
|
<div class="pt-6" style="max-height: calc(100vh - 11rem); overflow-y: auto; overflow-x: hidden; padding-right: 0.5rem;">
|
||
|
|
<MandatoryInfoDisplay Info="@this.Info" Acceptance="@this.Acceptance" ShowAcceptanceMetadata="@true" />
|
||
|
|
</div>
|
||
|
|
</DialogContent>
|
||
|
|
<DialogActions>
|
||
|
|
<MudStack Row="true" Justify="Justify.SpaceBetween" Class="pa-4" Style="width: 100%;">
|
||
|
|
<MudButton OnClick="@this.Reject"
|
||
|
|
Variant="Variant.Filled"
|
||
|
|
Color="Color.Error"
|
||
|
|
Size="Size.Large">
|
||
|
|
@this.Info.RejectButtonText
|
||
|
|
</MudButton>
|
||
|
|
<MudButton OnClick="@this.Accept"
|
||
|
|
Variant="Variant.Filled"
|
||
|
|
Color="Color.Success"
|
||
|
|
Size="Size.Large">
|
||
|
|
@this.Info.AcceptButtonText
|
||
|
|
</MudButton>
|
||
|
|
</MudStack>
|
||
|
|
</DialogActions>
|
||
|
|
</MudDialog>
|