mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-08-20 22:32:56 +00:00
Enhanced About page layout and formatting for improved consistency and readability
This commit is contained in:
parent
0e9b9770b3
commit
10cea3d1bd
@ -27,52 +27,68 @@
|
|||||||
@switch (this.currentEnvironment.IsActive)
|
@switch (this.currentEnvironment.IsActive)
|
||||||
{
|
{
|
||||||
case false when this.configPlug is null:
|
case false when this.configPlug is null:
|
||||||
<MudText>
|
<MudText Typo="Typo.body1">
|
||||||
@T("AI Studio runs without an enterprise configuration.")
|
@T("AI Studio runs without an enterprise configuration.")
|
||||||
</MudText>
|
</MudText>
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case false:
|
case false:
|
||||||
<MudText>
|
<MudText Typo="Typo.body1">
|
||||||
@T("AI Studio runs with an enterprise configuration using the configuration plugin, without central configuration management.")
|
@T("AI Studio runs with an enterprise configuration using a configuration plugin, without central configuration management.")
|
||||||
</MudText>
|
</MudText>
|
||||||
<MudCollapse Expanded="@this.showConfigDetails">
|
<MudCollapse Expanded="@this.showEnterpriseConfigDetails">
|
||||||
<MudText>
|
<MudText Typo="Typo.body1" Class="ms-3 mt-2 mb-2">
|
||||||
@T("Configuration Plugin ID:") @this.configPlug!.Id
|
<div style="display: flex; align-items: center; gap: 8px;">
|
||||||
<MudCopyClipboardButton StringContent=@this.configPlug!.Id.ToString()/>
|
<MudIcon Icon="@Icons.Material.Filled.ArrowRightAlt"/>
|
||||||
|
<span>@T("Configuration plugin ID:") @this.configPlug!.Id</span>
|
||||||
|
<MudCopyClipboardButton StringContent=@this.configPlug!.Id.ToString()/>
|
||||||
|
</div>
|
||||||
</MudText>
|
</MudText>
|
||||||
</MudCollapse>
|
</MudCollapse>
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case true when this.configPlug is null:
|
case true when this.configPlug is null:
|
||||||
<MudText>
|
<MudText Typo="Typo.body1">
|
||||||
@T("AI Studio runs with an enterprise configuration and a configuration server. The configuration plugin is not yet available.")
|
@T("AI Studio runs with an enterprise configuration and a configuration server. The configuration plugin is not yet available.")
|
||||||
</MudText>
|
</MudText>
|
||||||
<MudCollapse Expanded="@this.showConfigDetails">
|
<MudCollapse Expanded="@this.showEnterpriseConfigDetails">
|
||||||
<MudText>
|
<MudText Typo="Typo.body1" Class="ms-3 mt-2 mb-2">
|
||||||
@T("Enterprise configuration ID:") @this.currentEnvironment.ConfigurationId
|
<div style="display: flex; align-items: center; gap: 8px;">
|
||||||
<MudCopyClipboardButton ToolTipMessage="@T("Copies the config ID to the clipboard")" StringContent=@this.currentEnvironment.ConfigurationId.ToString()/>
|
<MudIcon Icon="@Icons.Material.Filled.ArrowRightAlt"/>
|
||||||
|
<span>@T("Enterprise configuration ID:") @this.currentEnvironment.ConfigurationId</span>
|
||||||
|
<MudCopyClipboardButton TooltipMessage="@T("Copies the config ID to the clipboard")" StringContent=@this.currentEnvironment.ConfigurationId.ToString()/>
|
||||||
|
</div>
|
||||||
</MudText>
|
</MudText>
|
||||||
|
|
||||||
<MudText>
|
<MudText Typo="Typo.body1" Class="ms-3 mt-2 mb-2">
|
||||||
@T("Configuration server:") @this.currentEnvironment.ConfigurationServerUrl
|
<div style="display: flex; align-items: center; gap: 8px;">
|
||||||
<MudCopyClipboardButton ToolTipMessage="@T("Copies the server URL to the clipboard")" StringContent=@this.currentEnvironment.ConfigurationServerUrl/>
|
<MudIcon Icon="@Icons.Material.Filled.ArrowRightAlt"/>
|
||||||
|
<span>@T("Configuration server:") @this.currentEnvironment.ConfigurationServerUrl</span>
|
||||||
|
<MudCopyClipboardButton TooltipMessage="@T("Copies the server URL to the clipboard")" StringContent=@this.currentEnvironment.ConfigurationServerUrl/>
|
||||||
|
</div>
|
||||||
</MudText>
|
</MudText>
|
||||||
</MudCollapse>
|
</MudCollapse>
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case true:
|
case true:
|
||||||
<MudText>
|
<MudText Typo="Typo.body1">
|
||||||
@T("AI Studio runs with an enterprise configuration and a configuration server. The configuration plugin is active.")
|
@T("AI Studio runs with an enterprise configuration and a configuration server. The configuration plugin is active.")
|
||||||
</MudText>
|
</MudText>
|
||||||
<MudCollapse Expanded="@this.showConfigDetails">
|
<MudCollapse Expanded="@this.showEnterpriseConfigDetails">
|
||||||
<MudText Class="ml-4">@T("Enterprise Configuration ID:") @this.currentEnvironment.ConfigurationId
|
<MudText Typo="Typo.body1" Class="ms-3 mt-2 mb-2 ml-4">
|
||||||
<MudCopyClipboardButton ToolTipMessage="@T("Copies the config ID to the clipboard")" StringContent=@this.currentEnvironment.ConfigurationId.ToString()/>
|
<div style="display: flex; align-items: center; gap: 8px;">
|
||||||
|
<MudIcon Icon="@Icons.Material.Filled.ArrowRightAlt"/>
|
||||||
|
<span>@T("Enterprise configuration ID:") @this.currentEnvironment.ConfigurationId</span>
|
||||||
|
<MudCopyClipboardButton TooltipMessage="@T("Copies the config ID to the clipboard")" StringContent=@this.currentEnvironment.ConfigurationId.ToString()/>
|
||||||
|
</div>
|
||||||
</MudText>
|
</MudText>
|
||||||
|
|
||||||
<MudText Class="ml-4">
|
<MudText Typo="Typo.body1" Class="ms-3 mt-2 mb-2 ml-4">
|
||||||
@T("Configuration Server:") @this.currentEnvironment.ConfigurationServerUrl
|
<div style="display: flex; align-items: center; gap: 8px;">
|
||||||
<MudCopyClipboardButton ToolTipMessage="@T("Copies the server URL to the clipboard")" StringContent=@this.currentEnvironment.ConfigurationServerUrl/>
|
<MudIcon Icon="@Icons.Material.Filled.ArrowRightAlt"/>
|
||||||
|
<span>@T("Configuration server:") @this.currentEnvironment.ConfigurationServerUrl</span>
|
||||||
|
<MudCopyClipboardButton TooltipMessage="@T("Copies the server URL to the clipboard")" StringContent=@this.currentEnvironment.ConfigurationServerUrl/>
|
||||||
|
</div>
|
||||||
</MudText>
|
</MudText>
|
||||||
</MudCollapse>
|
</MudCollapse>
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user