mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-08-21 01:52:57 +00:00
Refactor PandocDialog layout to move buttons into DialogActions
This commit is contained in:
parent
08bd735ea9
commit
8455450b51
@ -112,9 +112,6 @@
|
|||||||
</MudExpansionPanels>
|
</MudExpansionPanels>
|
||||||
</ExpansionPanel>
|
</ExpansionPanel>
|
||||||
</MudExpansionPanels>
|
</MudExpansionPanels>
|
||||||
<div class="mt-2">
|
|
||||||
<MudButton OnClick="@this.RejectLicense" Variant="Variant.Text" Color="Color.Default">Reject GPL licence</MudButton>
|
|
||||||
</div>
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -140,11 +137,22 @@
|
|||||||
<MudText Class="mb-6" Typo="Typo.subtitle1" Align="Align.Center">
|
<MudText Class="mb-6" Typo="Typo.subtitle1" Align="Align.Center">
|
||||||
Pandoc ist auf Ihrem System nicht verfügbar
|
Pandoc ist auf Ihrem System nicht verfügbar
|
||||||
</MudText>
|
</MudText>
|
||||||
<MudButton Color="Color.Primary" OnClick="@this.ProceedToInstallation" Variant="Variant.Filled">
|
|
||||||
Proceed to installation
|
|
||||||
</MudButton>
|
|
||||||
}
|
}
|
||||||
</MudItem>
|
</MudItem>
|
||||||
}
|
}
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
|
<DialogActions>
|
||||||
|
@if (this.showInstallPage)
|
||||||
|
{
|
||||||
|
<MudButton Color="Color.Warning" OnClick="@this.RejectLicense" Variant="Variant.Filled">
|
||||||
|
Reject GPL licence
|
||||||
|
</MudButton>
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
<MudButton Color="Color.Primary" OnClick="@this.ProceedToInstallation" Variant="Variant.Filled">
|
||||||
|
Proceed to installation
|
||||||
|
</MudButton>
|
||||||
|
}
|
||||||
|
</DialogActions>
|
||||||
</MudDialog>
|
</MudDialog>
|
Loading…
Reference in New Issue
Block a user