mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-05-19 09:12:15 +00:00
26 lines
1.1 KiB
Plaintext
26 lines
1.1 KiB
Plaintext
|
|
@inherits MSGComponentBase
|
||
|
|
|
||
|
|
<MudDialog>
|
||
|
|
<DialogContent>
|
||
|
|
<MudText Typo="Typo.body1" Class="mb-3">
|
||
|
|
@string.Format(T("How should AI Studio export the username and password configuration for the ERI v1 data source '{0}'?"), this.DataSource.Name)
|
||
|
|
</MudText>
|
||
|
|
|
||
|
|
<MudSelect @bind-Value="@this.usernamePasswordMode" Text="@this.GetUsernamePasswordModeText()" Label="@T("Username and password mode")" Class="mt-3 mb-3" OpenIcon="@Icons.Material.Filled.ExpandMore" AdornmentColor="Color.Info" Adornment="Adornment.Start">
|
||
|
|
@foreach (var mode in this.availableUsernamePasswordModes)
|
||
|
|
{
|
||
|
|
<MudSelectItem Value="@mode">
|
||
|
|
@this.GetUsernamePasswordModeText(mode)
|
||
|
|
</MudSelectItem>
|
||
|
|
}
|
||
|
|
</MudSelect>
|
||
|
|
</DialogContent>
|
||
|
|
<DialogActions>
|
||
|
|
<MudButton OnClick="@this.Cancel" Variant="Variant.Filled">
|
||
|
|
@T("Cancel")
|
||
|
|
</MudButton>
|
||
|
|
<MudButton OnClick="@this.Export" Variant="Variant.Filled" Color="Color.Primary">
|
||
|
|
@T("Export")
|
||
|
|
</MudButton>
|
||
|
|
</DialogActions>
|
||
|
|
</MudDialog>
|