Modernize customer panel UI and add agent workflow rules
This commit is contained in:
@@ -12,15 +12,27 @@
|
||||
<Style TargetType="Button"
|
||||
x:Key="ButtonStyle">
|
||||
<Setter Property="Foreground"
|
||||
Value="{DynamicResource navForeground}" />
|
||||
Value="{DynamicResource buttonTextColor}" />
|
||||
<Setter Property="Background"
|
||||
Value="{DynamicResource inactiveButtonColor}" />
|
||||
<Setter Property="BorderBrush"
|
||||
Value="{DynamicResource panelBorderColor}" />
|
||||
<Setter Property="BorderThickness"
|
||||
Value="1" />
|
||||
<Setter Property="Padding"
|
||||
Value="12,6" />
|
||||
<Setter Property="Cursor"
|
||||
Value="Hand" />
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type Button}">
|
||||
<Border Background="{TemplateBinding Background}">
|
||||
<Border Background="{TemplateBinding Background}"
|
||||
BorderBrush="{TemplateBinding BorderBrush}"
|
||||
BorderThickness="{TemplateBinding BorderThickness}"
|
||||
CornerRadius="10">
|
||||
<ContentPresenter HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center" />
|
||||
VerticalAlignment="Center"
|
||||
Margin="{TemplateBinding Padding}" />
|
||||
</Border>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
@@ -30,6 +42,8 @@
|
||||
Value="True">
|
||||
<Setter Property="Background"
|
||||
Value="{DynamicResource activeButtonColor}" />
|
||||
<Setter Property="Foreground"
|
||||
Value="White" />
|
||||
</Trigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
@@ -57,16 +71,19 @@
|
||||
Grid.ColumnSpan="2"
|
||||
Grid.Row="0">
|
||||
<Image Source="{DynamicResource appbar_clipboard_variant_text}"
|
||||
Width="48"
|
||||
Width="36"
|
||||
Height="36"
|
||||
Margin="0,6,0,0"
|
||||
Tag="MAINICO" />
|
||||
<Label Foreground="{DynamicResource mainForeground}"
|
||||
<Label Foreground="{DynamicResource sectionTitleColor}"
|
||||
Content="{x:Static resx:Resources.incidents}"
|
||||
FontSize="16"
|
||||
Canvas.Top="10"
|
||||
FontSize="19"
|
||||
FontWeight="SemiBold"
|
||||
Canvas.Top="8"
|
||||
Canvas.Left="40" />
|
||||
<ScrollViewer x:Name="CanvasIncident"
|
||||
Canvas.Top="50"
|
||||
Canvas.Left="10"
|
||||
Canvas.Top="56"
|
||||
Canvas.Left="0"
|
||||
MaxHeight="460"
|
||||
MinHeight="60"
|
||||
HorizontalScrollBarVisibility="Disabled"
|
||||
@@ -74,16 +91,22 @@
|
||||
Width="{Binding ActualWidth, ElementName=Canvas2, Mode=OneWay}"
|
||||
Visibility="Visible" />
|
||||
<StackPanel x:Name="NoIncident"
|
||||
Background="White"
|
||||
Background="Transparent"
|
||||
Width="{Binding ActualWidth, ElementName=Canvas2, Mode=OneWay}"
|
||||
Height="50"
|
||||
Height="58"
|
||||
Canvas.Top="50"
|
||||
Canvas.Left="10">
|
||||
<TextBlock Text="{x:Static resx:Resources.noincidents}"
|
||||
Margin="25,5,10,0"
|
||||
Foreground="Black" />
|
||||
Canvas.Left="0">
|
||||
<Border Margin="2,6,2,0"
|
||||
BorderThickness="1"
|
||||
CornerRadius="10"
|
||||
BorderBrush="{DynamicResource cardBorderColor}"
|
||||
Background="{DynamicResource cardBackgroundColor}">
|
||||
<TextBlock Text="{x:Static resx:Resources.noincidents}"
|
||||
Margin="18,12,10,0"
|
||||
Foreground="{DynamicResource subtleTextColor}" />
|
||||
</Border>
|
||||
</StackPanel>
|
||||
<Button Foreground="{DynamicResource navForeground}"
|
||||
<Button Foreground="{DynamicResource buttonTextColor}"
|
||||
Style="{StaticResource ButtonStyle}"
|
||||
Canvas.Top="450"
|
||||
Canvas.Left="62"
|
||||
@@ -103,8 +126,8 @@
|
||||
Margin="153,10,0,8"
|
||||
PreviewMouseDown="ReadAll_PreviewMouseDown"
|
||||
RenderTransformOrigin="1.536,1.429"
|
||||
Height="32"
|
||||
Width="32"
|
||||
Height="24"
|
||||
Width="24"
|
||||
ToolTip="{x:Static resx:Resources.removeMarkups}" />
|
||||
</Grid>
|
||||
</UserControl>
|
||||
|
||||
Reference in New Issue
Block a user