mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-11 21:52:11 +00:00
Some checks are pending
Build and Release / Determine run mode (push) Waiting to run
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-apple-darwin, osx-arm64, macos-latest, aarch64-apple-darwin, dmg,app,updater, dmg) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-unknown-linux-gnu, linux-arm64, ubuntu-22.04-arm, aarch64-unknown-linux-gnu, appimage,updater, appimage) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-apple-darwin, osx-x64, macos-latest, x86_64-apple-darwin, dmg,app,updater, dmg) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-pc-windows-msvc.exe, win-x64, windows-latest, x86_64-pc-windows-msvc, nsis,updater, nsis) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-unknown-linux-gnu, linux-x64, ubuntu-22.04, x86_64-unknown-linux-gnu, appimage,updater, appimage) (push) Blocked by required conditions
Build and Release / Prepare & create release (push) Blocked by required conditions
Build and Release / Publish release (push) Blocked by required conditions
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
60 lines
2.6 KiB
Plaintext
60 lines
2.6 KiB
Plaintext
@inherits MSGComponentBase
|
|
<MudDialog>
|
|
<DialogContent>
|
|
<MudJustifiedText Typo="Typo.body1" Class="mb-3">
|
|
@this.IntroductionText @T("Plugins contain code that runs inside AI Studio. Install plugins only when you trust their source.")
|
|
</MudJustifiedText>
|
|
|
|
<MudPaper Class="pa-3 mb-3 border-dashed border rounded-lg">
|
|
<MudText Typo="Typo.h6">
|
|
@this.Preview.Plugin.Name
|
|
</MudText>
|
|
<MudText Typo="Typo.body2" Class="mb-2">
|
|
@this.Preview.Plugin.Description
|
|
</MudText>
|
|
<MudText Typo="Typo.body2">
|
|
@T("Type"): <strong>@this.TypeLabel</strong>
|
|
</MudText>
|
|
<MudText Typo="Typo.body2">
|
|
@T("Version"): <strong>@this.Preview.Plugin.Version</strong>
|
|
</MudText>
|
|
<MudText Typo="Typo.body2">
|
|
@T("Authors"): <strong>@this.AuthorsLabel</strong>
|
|
</MudText>
|
|
@if (!string.IsNullOrWhiteSpace(this.Preview.Plugin.SourceURL))
|
|
{
|
|
<MudText Typo="Typo.body2">
|
|
@T("Source"): <strong>@this.Preview.Plugin.SourceURL</strong>
|
|
</MudText>
|
|
}
|
|
@if (!string.IsNullOrWhiteSpace(this.Preview.Plugin.SupportContact))
|
|
{
|
|
<MudText Typo="Typo.body2">
|
|
@T("Support contact"): <strong>@this.Preview.Plugin.SupportContact</strong>
|
|
</MudText>
|
|
}
|
|
</MudPaper>
|
|
|
|
@if (!string.IsNullOrWhiteSpace(this.Preview.Plugin.DeprecationMessage))
|
|
{
|
|
<MudAlert Severity="Severity.Warning" Variant="Variant.Outlined" Class="mb-3">
|
|
@string.Format(T("The authors marked this plugin as deprecated: {0}"), this.Preview.Plugin.DeprecationMessage)
|
|
</MudAlert>
|
|
}
|
|
|
|
@if (this.Preview.ExistingPlugin is { } existingPlugin)
|
|
{
|
|
<MudAlert Severity="Severity.Warning" Variant="Variant.Outlined" Class="mb-3">
|
|
@string.Format(T("This replaces the already installed plugin '{0}'. Version {1} gets replaced by version {2}."), existingPlugin.Name, existingPlugin.Version, this.Preview.Plugin.Version)
|
|
</MudAlert>
|
|
}
|
|
</DialogContent>
|
|
<DialogActions>
|
|
<MudButton OnClick="@this.Cancel" Variant="Variant.Filled">
|
|
@T("Cancel")
|
|
</MudButton>
|
|
<MudButton OnClick="@this.Confirm" Variant="Variant.Filled" Color="Color.Warning">
|
|
@(this.Preview.ReplacesExisting ? T("Replace plugin") : T("Install plugin"))
|
|
</MudButton>
|
|
</DialogActions>
|
|
</MudDialog> |