mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-21 08:52:10 +00:00
Improved info panel
This commit is contained in:
parent
755d72d424
commit
330bae6f3f
@ -6256,6 +6256,9 @@ UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T2989678330"] = "Copies the root
|
|||||||
-- Changelog
|
-- Changelog
|
||||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3017574265"] = "Changelog"
|
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3017574265"] = "Changelog"
|
||||||
|
|
||||||
|
-- External HTTPS custom root certificates are configured but not active.
|
||||||
|
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3021325354"] = "External HTTPS custom root certificates are configured but not active."
|
||||||
|
|
||||||
-- Enterprise configuration ID:
|
-- Enterprise configuration ID:
|
||||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3092349641"] = "Enterprise configuration ID:"
|
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3092349641"] = "Enterprise configuration ID:"
|
||||||
|
|
||||||
@ -6268,6 +6271,9 @@ UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3178730036"] = "Have feature ide
|
|||||||
-- Hide Details
|
-- Hide Details
|
||||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3183837919"] = "Hide Details"
|
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3183837919"] = "Hide Details"
|
||||||
|
|
||||||
|
-- External HTTPS custom root certificates are active.
|
||||||
|
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3208455732"] = "External HTTPS custom root certificates are active."
|
||||||
|
|
||||||
-- Axum server runs the internal axum service over a secure local connection. This helps AI Studio protect the communication between the Rust runtime and the user interface.
|
-- Axum server runs the internal axum service over a secure local connection. This helps AI Studio protect the communication between the Rust runtime and the user interface.
|
||||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3208719461"] = "Axum server runs the internal axum service over a secure local connection. This helps AI Studio protect the communication between the Rust runtime and the user interface."
|
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3208719461"] = "Axum server runs the internal axum service over a secure local connection. This helps AI Studio protect the communication between the Rust runtime and the user interface."
|
||||||
|
|
||||||
|
|||||||
@ -150,11 +150,24 @@
|
|||||||
@if (ExternalHttpClientTimeout.CustomRootCertificateState.IsEnabled)
|
@if (ExternalHttpClientTimeout.CustomRootCertificateState.IsEnabled)
|
||||||
{
|
{
|
||||||
<MudListItem T="string" Icon="@Icons.Material.Outlined.Security">
|
<MudListItem T="string" Icon="@Icons.Material.Outlined.Security">
|
||||||
<ConfigPluginInfoCard HeaderIcon="@Icons.Material.Filled.Security"
|
<MudText Typo="Typo.body1">
|
||||||
HeaderText="@T("External HTTPS custom root certificates")"
|
@(ExternalHttpClientTimeout.CustomRootCertificateState.IsUsable
|
||||||
Items="@this.BuildExternalHttpCustomRootCertificateItems()"
|
? T("External HTTPS custom root certificates are active.")
|
||||||
ShowWarning="@(!ExternalHttpClientTimeout.CustomRootCertificateState.IsUsable)"
|
: T("External HTTPS custom root certificates are configured but not active."))
|
||||||
WarningText="@this.ExternalHttpCustomRootCertificateWarningText"/>
|
</MudText>
|
||||||
|
<MudCollapse Expanded="@this.showExternalHttpCustomRootCertificateDetails">
|
||||||
|
<ConfigPluginInfoCard HeaderIcon="@Icons.Material.Filled.Security"
|
||||||
|
HeaderText="@T("External HTTPS custom root certificates")"
|
||||||
|
Items="@this.BuildExternalHttpCustomRootCertificateItems()"
|
||||||
|
ShowWarning="@(!ExternalHttpClientTimeout.CustomRootCertificateState.IsUsable)"
|
||||||
|
WarningText="@this.ExternalHttpCustomRootCertificateWarningText"/>
|
||||||
|
</MudCollapse>
|
||||||
|
<MudButton StartIcon="@(this.showExternalHttpCustomRootCertificateDetails ? Icons.Material.Filled.ExpandLess : Icons.Material.Filled.ExpandMore)"
|
||||||
|
Size="Size.Small"
|
||||||
|
Variant="Variant.Text"
|
||||||
|
OnClick="@this.ToggleExternalHttpCustomRootCertificateDetails">
|
||||||
|
@(this.showExternalHttpCustomRootCertificateDetails ? T("Hide Details") : T("Show Details"))
|
||||||
|
</MudButton>
|
||||||
</MudListItem>
|
</MudListItem>
|
||||||
}
|
}
|
||||||
</MudList>
|
</MudList>
|
||||||
|
|||||||
@ -85,6 +85,8 @@ public partial class Information : MSGComponentBase
|
|||||||
|
|
||||||
private bool showEnterpriseConfigDetails;
|
private bool showEnterpriseConfigDetails;
|
||||||
|
|
||||||
|
private bool showExternalHttpCustomRootCertificateDetails;
|
||||||
|
|
||||||
private bool showDatabaseDetails;
|
private bool showDatabaseDetails;
|
||||||
|
|
||||||
private List<IAvailablePlugin> configPlugins = PluginFactory.AvailablePlugins
|
private List<IAvailablePlugin> configPlugins = PluginFactory.AvailablePlugins
|
||||||
@ -249,6 +251,11 @@ public partial class Information : MSGComponentBase
|
|||||||
this.showEnterpriseConfigDetails = !this.showEnterpriseConfigDetails;
|
this.showEnterpriseConfigDetails = !this.showEnterpriseConfigDetails;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void ToggleExternalHttpCustomRootCertificateDetails()
|
||||||
|
{
|
||||||
|
this.showExternalHttpCustomRootCertificateDetails = !this.showExternalHttpCustomRootCertificateDetails;
|
||||||
|
}
|
||||||
|
|
||||||
private void ToggleDatabaseDetails()
|
private void ToggleDatabaseDetails()
|
||||||
{
|
{
|
||||||
this.showDatabaseDetails = !this.showDatabaseDetails;
|
this.showDatabaseDetails = !this.showDatabaseDetails;
|
||||||
|
|||||||
@ -6258,6 +6258,9 @@ UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T2989678330"] = "Kopiert den Fing
|
|||||||
-- Changelog
|
-- Changelog
|
||||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3017574265"] = "Änderungsprotokoll"
|
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3017574265"] = "Änderungsprotokoll"
|
||||||
|
|
||||||
|
-- External HTTPS custom root certificates are configured but not active.
|
||||||
|
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3021325354"] = "Externe benutzerdefinierte Stammzertifikate sind konfiguriert, aber nicht aktiv."
|
||||||
|
|
||||||
-- Enterprise configuration ID:
|
-- Enterprise configuration ID:
|
||||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3092349641"] = "Unternehmenskonfigurations-ID:"
|
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3092349641"] = "Unternehmenskonfigurations-ID:"
|
||||||
|
|
||||||
@ -6270,6 +6273,9 @@ UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3178730036"] = "Haben Sie Ideen
|
|||||||
-- Hide Details
|
-- Hide Details
|
||||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3183837919"] = "Details ausblenden"
|
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3183837919"] = "Details ausblenden"
|
||||||
|
|
||||||
|
-- External HTTPS custom root certificates are active.
|
||||||
|
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3208455732"] = "Externe Stammzertifikate sind aktiv."
|
||||||
|
|
||||||
-- Axum server runs the internal axum service over a secure local connection. This helps AI Studio protect the communication between the Rust runtime and the user interface.
|
-- Axum server runs the internal axum service over a secure local connection. This helps AI Studio protect the communication between the Rust runtime and the user interface.
|
||||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3208719461"] = "Der Axum-Server führt den internen Axum-Dienst über eine sichere lokale Verbindung aus. Dadurch kann AI Studio die Kommunikation zwischen der Rust-Laufzeitumgebung und der Benutzeroberfläche schützen."
|
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3208719461"] = "Der Axum-Server führt den internen Axum-Dienst über eine sichere lokale Verbindung aus. Dadurch kann AI Studio die Kommunikation zwischen der Rust-Laufzeitumgebung und der Benutzeroberfläche schützen."
|
||||||
|
|
||||||
|
|||||||
@ -6258,6 +6258,9 @@ UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T2989678330"] = "Copies the root
|
|||||||
-- Changelog
|
-- Changelog
|
||||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3017574265"] = "Changelog"
|
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3017574265"] = "Changelog"
|
||||||
|
|
||||||
|
-- External HTTPS custom root certificates are configured but not active.
|
||||||
|
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3021325354"] = "External HTTPS custom root certificates are configured but not active."
|
||||||
|
|
||||||
-- Enterprise configuration ID:
|
-- Enterprise configuration ID:
|
||||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3092349641"] = "Enterprise configuration ID:"
|
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3092349641"] = "Enterprise configuration ID:"
|
||||||
|
|
||||||
@ -6270,6 +6273,9 @@ UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3178730036"] = "Have feature ide
|
|||||||
-- Hide Details
|
-- Hide Details
|
||||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3183837919"] = "Hide Details"
|
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3183837919"] = "Hide Details"
|
||||||
|
|
||||||
|
-- External HTTPS custom root certificates are active.
|
||||||
|
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3208455732"] = "External HTTPS custom root certificates are active."
|
||||||
|
|
||||||
-- Axum server runs the internal axum service over a secure local connection. This helps AI Studio protect the communication between the Rust runtime and the user interface.
|
-- Axum server runs the internal axum service over a secure local connection. This helps AI Studio protect the communication between the Rust runtime and the user interface.
|
||||||
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3208719461"] = "Axum server runs the internal axum service over a secure local connection. This helps AI Studio protect the communication between the Rust runtime and the user interface."
|
UI_TEXT_CONTENT["AISTUDIO::PAGES::INFORMATION::T3208719461"] = "Axum server runs the internal axum service over a secure local connection. This helps AI Studio protect the communication between the Rust runtime and the user interface."
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user