This commit is contained in:
Meik
2026-03-05 09:56:57 +01:00
parent 838e6b1ee1
commit 4013fa8e32
827 changed files with 743038 additions and 0 deletions

View File

@@ -0,0 +1,328 @@
<UserControl x:Class="C4IT_CustomerPanel.UserControls.Navigation"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:C4IT_CustomerPanel.UserControls"
xmlns:resx="clr-namespace:C4IT_CustomerPanel.Properties"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Canvas ClipToBounds="false"
Panel.ZIndex="1000"
Margin="0,0,0,0"
VerticalAlignment="Top"
HorizontalAlignment="Left"
Height="620"
Width="75">
<Button Visibility="Hidden"
x:Name="BtnBack"
Tag="100"
Canvas.Top="0"
Canvas.Left="-1"
Width="70"
Height="50"
BorderThickness="0"
Style="{StaticResource FlatButtonStyle2}"
Panel.ZIndex="1000">
<Button.Template>
<ControlTemplate TargetType="{x:Type Button}">
<Canvas ClipToBounds="False"
Background="{Binding Background, ElementName=BtnBack}">
<ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center" />
</Canvas>
</ControlTemplate>
</Button.Template>
<StackPanel Orientation="Horizontal"
Background="Transparent"
ClipToBounds="false"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Width="70">
<Image Source="Resources/icons/dark/appbar.home.gps.png"
Panel.ZIndex="18"
Style="{StaticResource ImageStyle}"
Tag="ICO"
Stretch="Fill"
Width="60"
Height="50"
HorizontalAlignment="Left"
VerticalAlignment="top"
Margin="5,0,0,0" />
</StackPanel>
</Button>
<Button Tag="0"
x:Uid="1"
x:Name="BtnAnnouncements"
Visibility="Visible"
Style="{StaticResource FlatButtonStyle2}"
ToolTip="{x:Static resx:Resources.mo_announcement}"
BorderThickness="0"
Panel.ZIndex="1000"
Width="70"
Height="70"
Canvas.Left="0"
Canvas.Top="0">
<Button.Template>
<ControlTemplate TargetType="{x:Type Button}">
<Canvas ClipToBounds="False"
Background="{Binding Background, ElementName=BtnAnnouncements}">
<Canvas Panel.ZIndex="1000"
Height="70"
Width="80"
Margin="70,0,0,0">
<Polygon Visibility="Hidden"
x:Name="poly_main1"
Panel.ZIndex="900"
Points="0,0 10,0 10,70 0,70"
Fill="{Binding Background, ElementName=BtnAnnouncements}" />
</Canvas>
<ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center" />
</Canvas>
</ControlTemplate>
</Button.Template>
<StackPanel Orientation="Horizontal"
Background="Transparent"
ClipToBounds="False"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<Image Source="{DynamicResource nav_appbar_newspaper}"
Panel.ZIndex="18"
Tag="ICO"
Style="{StaticResource ImageStyle}"
x:Name="icoAnn"
Stretch="Fill"
Width="60"
Height="60"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Margin="5" />
<Image Source="Resources/StateOverlays/OverlayNewContentButton.png"
Visibility="Collapsed"
Panel.ZIndex="18"
Style="{StaticResource ImageStyle}"
Tag="Signal"
Stretch="None"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Margin="-29,-29,0,0" />
</StackPanel>
</Button>
<Button x:Uid="2"
Panel.ZIndex="1000"
x:Name="BtnIncident"
Visibility="Hidden"
Style="{StaticResource FlatButtonStyle2}"
ToolTip="{x:Static resx:Resources.mo_incidents }"
BorderThickness="0"
Canvas.Top="0"
Width="70"
Height="70"
Canvas.Left="0">
<Button.Template>
<ControlTemplate TargetType="{x:Type Button}">
<Canvas ClipToBounds="False"
Background="{Binding Background, ElementName=BtnIncident}">
<Canvas Panel.ZIndex="1000"
Height="70"
Width="80"
Margin="70,0,0,0">
<Polygon Visibility="Hidden"
x:Name="poly_main2"
Panel.ZIndex="1000"
Points="0,0 10,0 10,70 0,70"
Fill="{Binding Background, ElementName=BtnIncident}" />
</Canvas>
<ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center" />
</Canvas>
</ControlTemplate>
</Button.Template>
<StackPanel x:Name="StackPanel"
Orientation="Horizontal"
Background="Transparent">
<Image Source="{DynamicResource nav_appbar_clipboard_variant_text}"
x:Name="icoInc"
Tag="ICO"
Stretch="fill"
Panel.ZIndex="18"
Style="{StaticResource ImageStyle}"
Width="60"
Height="60"
Margin="5" />
<Image Source="Resources/StateOverlays/OverlayNewContentButton.png"
Visibility="Collapsed"
Panel.ZIndex="18"
Style="{StaticResource ImageStyle}"
Tag="Signal"
Stretch="None"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Margin="-29,-29,0,0" />
</StackPanel>
</Button>
<Button Panel.ZIndex="1000"
x:Uid="3"
x:Name="BtnSsp"
Visibility="Hidden"
Style="{StaticResource FlatButtonStyle2}"
ToolTip="{x:Static resx:Resources.mo_ssp}"
BorderThickness="0"
Canvas.Top="0"
Width="70"
Height="70"
Canvas.Left="0">
<Button.Template>
<ControlTemplate TargetType="{x:Type Button}">
<Canvas ClipToBounds="false"
Background="{Binding Background, ElementName=BtnSsp}">
<Canvas Panel.ZIndex="1000"
Height="70"
Width="80"
Margin="70,0,0,0">
<Polygon Visibility="Hidden"
x:Name="poly_main3"
Panel.ZIndex="1000"
Points="0,0 10,0 10,70 0,70"
Fill="{Binding Background, ElementName=BtnSsp}" />
</Canvas>
<ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center" />
</Canvas>
</ControlTemplate>
</Button.Template>
<StackPanel Orientation="Horizontal"
Background="Transparent">
<Image Source="{DynamicResource nav_appbar_cart}"
x:Name="icoSSP"
Stretch="fill"
Panel.ZIndex="18"
Style="{StaticResource ImageStyle}"
Width="60"
Height="60"
Margin="5"
Tag="ICO" />
<Image Source="Resources/StateOverlays/OverlayNewContentButton.png"
Visibility="Collapsed"
Panel.ZIndex="18"
Style="{StaticResource ImageStyle}"
Tag="Signal"
Stretch="None"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Margin="-29,-29,0,0" />
</StackPanel>
</Button>
<Button x:Name="BtnCustomLink"
x:Uid="4"
Margin="0,0,0,0"
Visibility="Hidden"
Style="{StaticResource FlatButtonStyle2}"
ToolTip="{x:Static resx:Resources.CustomLink}"
BorderThickness="0"
Canvas.Top="0"
Width="70"
Height="70"
Canvas.Left="0"
Panel.ZIndex="1000">
<Button.Template>
<ControlTemplate TargetType="{x:Type Button}">
<Canvas ClipToBounds="False"
Background="{Binding Background, ElementName=BtnCustomLink}">
<Canvas Panel.ZIndex="1000"
Height="70"
Width="80"
Margin="70,0,0,0">
<Polygon Visibility="Hidden"
x:Name="poly_main4"
Panel.ZIndex="90"
Points="0,0 10,0 10,70 0,70"
Fill="{Binding Background, ElementName=BtnCustomLink}" />
</Canvas>
<ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center" />
</Canvas>
</ControlTemplate>
</Button.Template>
<StackPanel Orientation="Horizontal"
Background="Transparent">
<Image Source="{DynamicResource nav_appbar_star}"
x:Name="icoCustomLinks"
Tag="ICO"
Stretch="fill"
Panel.ZIndex="18"
Style="{StaticResource ImageStyle}"
Width="60"
Height="60"
Margin="5" />
<Image Source="Resources/StateOverlays/OverlayNewContentButton.png"
Visibility="Collapsed"
Panel.ZIndex="18"
Style="{StaticResource ImageStyle}"
Tag="Signal"
Stretch="None"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Margin="-29,-29,0,0" />
</StackPanel>
</Button>
<Button x:Name="BtnInfo"
x:Uid="5"
Margin="0,0,0,0"
Visibility="Hidden"
Style="{StaticResource FlatButtonStyle2}"
ToolTip="{x:Static resx:Resources.mo_information}"
BorderThickness="0"
Canvas.Top="0"
Width="70"
Height="70"
Canvas.Left="0"
Panel.ZIndex="1000">
<Button.Template>
<ControlTemplate TargetType="{x:Type Button}">
<Canvas ClipToBounds="False"
Background="{Binding Background, ElementName=BtnInfo}">
<Canvas Panel.ZIndex="1000"
Height="70"
Width="80"
Margin="70,0,0,0">
<Polygon Visibility="Hidden"
x:Name="poly_main4"
Panel.ZIndex="90"
Points="0,0 10,0 10,70 0,70"
Fill="{Binding Background, ElementName=BtnInfo}" />
</Canvas>
<ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center" />
</Canvas>
</ControlTemplate>
</Button.Template>
<StackPanel Orientation="Horizontal"
Background="Transparent">
<Image Source="{DynamicResource nav_appbar_information}"
x:Name="icoInfo"
Tag="ICO"
Stretch="fill"
Panel.ZIndex="18"
Style="{StaticResource ImageStyle}"
Width="60"
Height="60"
Margin="5" />
<Image Source="Resources/StateOverlays/OverlayNewContentButton.png"
Visibility="Collapsed"
Panel.ZIndex="18"
Style="{StaticResource ImageStyle}"
Tag="Signal"
Stretch="None"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Margin="-29,-29,0,0" />
</StackPanel>
</Button>
</Canvas>
</UserControl>