Enlarge header connection status badge and add localized tooltips
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
- `isDraggable` aus Web-Konfiguration wird korrekt berücksichtigt.
|
||||
- Mehrdeutigkeitsfehler (`Brushes`) behoben.
|
||||
- Vor erfolgreichem Konfig-Ladevorgang wird die Oberfläche analog Offline-Zustand eingeschränkt (nur Info-Navigation und Info-Panel sichtbar).
|
||||
- Header-Verbindungsindikator für Offline/Verbindungsaufbau als farbiger Status-Badge (rot/orange) sichtbarer umgesetzt und so positioniert, dass er nicht von Action-Buttons überdeckt wird.
|
||||
- Header-Verbindungsindikator für Offline/Verbindungsaufbau als größerer farbiger Status-Badge (rot/orange) sichtbarer umgesetzt, mit Tooltip versehen und so positioniert, dass er nicht von Action-Buttons überdeckt wird.
|
||||
|
||||
### Lokalisierung
|
||||
- DE/EN-Ressourcen sprachlich bereinigt und vereinheitlicht.
|
||||
|
||||
@@ -419,40 +419,42 @@
|
||||
<!--<TextBlock MouseDown="OnCloseClicked" HorizontalAlignment="Right" FontSize="20" FontWeight="Bold" Margin="0,-5,5,0" Cursor="Hand" Panel.ZIndex="500" >X</TextBlock>-->
|
||||
<Border HorizontalAlignment="Right"
|
||||
VerticalAlignment="Top"
|
||||
Margin="0,12,96,0"
|
||||
Width="28"
|
||||
Height="28"
|
||||
Margin="0,10,102,0"
|
||||
Width="36"
|
||||
Height="36"
|
||||
Panel.ZIndex="505"
|
||||
CornerRadius="14"
|
||||
BorderThickness="1"
|
||||
CornerRadius="18"
|
||||
BorderThickness="2"
|
||||
BorderBrush="#FFD92D20"
|
||||
Background="#33D92D20"
|
||||
Background="#66D92D20"
|
||||
ToolTip="{x:Static resx:Resources.connectionStatusOffline}"
|
||||
Visibility="{Binding Visibility, ElementName=ConnProblem}">
|
||||
<Image Source="{DynamicResource nav_appbar_network_server_disconnect}"
|
||||
Tag="ICO"
|
||||
x:Name="ConnProblem"
|
||||
Width="18"
|
||||
Height="18"
|
||||
Width="24"
|
||||
Height="24"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Visibility="Visible" />
|
||||
</Border>
|
||||
<Border HorizontalAlignment="Right"
|
||||
VerticalAlignment="Top"
|
||||
Margin="0,12,96,0"
|
||||
Width="28"
|
||||
Height="28"
|
||||
Margin="0,10,102,0"
|
||||
Width="36"
|
||||
Height="36"
|
||||
Panel.ZIndex="505"
|
||||
CornerRadius="14"
|
||||
BorderThickness="1"
|
||||
CornerRadius="18"
|
||||
BorderThickness="2"
|
||||
BorderBrush="#FFD97706"
|
||||
Background="#33F59E0B"
|
||||
Background="#66F59E0B"
|
||||
ToolTip="{x:Static resx:Resources.connectionStatusConnecting}"
|
||||
Visibility="{Binding Visibility, ElementName=Connecting}">
|
||||
<Image Source="{DynamicResource nav_appbar_network_server_connecting}"
|
||||
Tag="ICO"
|
||||
x:Name="Connecting"
|
||||
Width="18"
|
||||
Height="18"
|
||||
Width="24"
|
||||
Height="24"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Visibility="Visible">
|
||||
|
||||
18
Properties/Resources.Designer.cs
generated
18
Properties/Resources.Designer.cs
generated
@@ -285,6 +285,24 @@ namespace C4IT_CustomerPanel.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Connecting to server....
|
||||
/// </summary>
|
||||
public static string connectionStatusConnecting {
|
||||
get {
|
||||
return ResourceManager.GetString("connectionStatusConnecting", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Server connection unavailable.
|
||||
/// </summary>
|
||||
public static string connectionStatusOffline {
|
||||
get {
|
||||
return ResourceManager.GetString("connectionStatusOffline", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
||||
@@ -259,6 +259,12 @@
|
||||
<data name="ConnectionFailed" xml:space="preserve">
|
||||
<value>Verbindung fehlgeschlagen: {0:dd/MM/yy H:mm:ss}</value>
|
||||
</data>
|
||||
<data name="connectionStatusOffline" xml:space="preserve">
|
||||
<value>Keine Verbindung zum Server</value>
|
||||
</data>
|
||||
<data name="connectionStatusConnecting" xml:space="preserve">
|
||||
<value>Verbindung zum Server wird aufgebaut...</value>
|
||||
</data>
|
||||
<data name="ticketAccepted" xml:space="preserve">
|
||||
<value>Ticket angenommen</value>
|
||||
</data>
|
||||
|
||||
@@ -346,6 +346,12 @@
|
||||
<data name="ConnectionFailed" xml:space="preserve">
|
||||
<value>Connection failed: {0:MM/dd/yy h:mm:ss tt}</value>
|
||||
</data>
|
||||
<data name="connectionStatusOffline" xml:space="preserve">
|
||||
<value>Server connection unavailable</value>
|
||||
</data>
|
||||
<data name="connectionStatusConnecting" xml:space="preserve">
|
||||
<value>Connecting to server...</value>
|
||||
</data>
|
||||
<data name="ticketAccepted" xml:space="preserve">
|
||||
<value>Ticket accepted</value>
|
||||
</data>
|
||||
|
||||
Reference in New Issue
Block a user