Modernize customer panel UI and add agent workflow rules

This commit is contained in:
Meik
2026-03-05 10:17:33 +01:00
parent 4013fa8e32
commit d954f26686
16 changed files with 581 additions and 309 deletions

View File

@@ -167,12 +167,18 @@ namespace C4IT_CustomerPanel.UserControls
private void OnIncidentMouseEnter(object sender, MouseEventArgs e)
{
HighlightIncidentBorder.BorderBrush = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#2d45fb"));
if (Application.Current.TryFindResource("itemHoverBorderColor") is SolidColorBrush hoverBrush)
{
HighlightIncidentBorder.BorderBrush = hoverBrush;
}
}
private void OnIncidentMouseLeave(object sender, MouseEventArgs e)
{
HighlightIncidentBorder.BorderBrush = new SolidColorBrush(Colors.White);
if (Application.Current.TryFindResource("cardBorderColor") is SolidColorBrush defaultBrush)
{
HighlightIncidentBorder.BorderBrush = defaultBrush;
}
}
}