Files
BeWoPlaner/BeWo/MainControl.xaml

583 lines
41 KiB
Plaintext
Raw Normal View History

2016-06-27 01:45:38 +02:00
<UserControl x:Class="BeWo.MainControl"
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:localView="clr-namespace:BeWo.View"
xmlns:r="clr-namespace:BeWo.Security"
xmlns:BeWo="clr-namespace:BeWo"
2017-11-06 10:30:25 +01:00
xmlns:t="clr-namespace:BeWo.MultiLanguage.Markup"
2016-06-27 01:45:38 +02:00
Background="{DynamicResource ApplicationBackground}"
SnapsToDevicePixels="True"
RenderTransformOrigin="0.5,0.5"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300">
<UserControl.Resources>
<Storyboard x:Key="OnLoadedStoryboard" Completed="OnLoadedStoryboard_Completed">
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="toolbarRoot"
Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="-5" KeySpline="0,1,1,1" />
<SplineDoubleKeyFrame KeyTime="00:00:01" Value="0" KeySpline="0.35,0.5,0.5,0.9" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="image"
Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0" KeySpline="0,1,1,1" />
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</UserControl.Resources>
<UserControl.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</UserControl.RenderTransform>
<UserControl.Triggers>
<EventTrigger RoutedEvent="FrameworkElement.Loaded">
<BeginStoryboard Storyboard="{StaticResource OnLoadedStoryboard}" x:Name="OnLoaded1_BeginStoryboard" />
</EventTrigger>
</UserControl.Triggers>
<Grid x:Name="grid_main" Width="Auto" Height="Auto" Margin="0,0,0,0" HorizontalAlignment="Stretch"
Grid.IsSharedSizeScope="True">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="150" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<!--<Frame x:Name="chatFrame" Grid.Column="2" Grid.Row="0" />-->
<TextBlock HorizontalAlignment="Center" Width="Auto" Margin="5,2,0,0">
2022-04-13 17:40:15 +02:00
<Hyperlink NavigateUri="https://www.bewoplaner.de" TargetName="newWindow" Foreground="Transparent" RequestNavigate="Hyperlink_OnRequestNavigate">
2016-06-27 01:45:38 +02:00
<InlineUIContainer>
2022-04-13 17:40:15 +02:00
<Image HorizontalAlignment="Left" Source="Ressources\Icons\bewoplaner_logo_small.png" Width="130"
2016-06-27 01:45:38 +02:00
Style="{StaticResource toolbarImageStyle}" RenderTransformOrigin="0.5,0.5" x:Name="image">
<Image.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="-200" Y="0" />
</TransformGroup>
</Image.RenderTransform>
</Image>
</InlineUIContainer>
</Hyperlink>
</TextBlock>
2017-02-01 13:53:59 +01:00
2017-02-10 11:08:38 +01:00
<!--<TextBlock HorizontalAlignment="Right" Width="Auto" Margin="0,2,5,0" Grid.Column="2">
2017-02-01 13:53:59 +01:00
<Hyperlink NavigateUri="http://www.bewoplaner.de" TargetName="newWindow" Foreground="Transparent" RequestNavigate="Hyperlink_OnRequestNavigate">
<InlineUIContainer>
<Image HorizontalAlignment="Left" Source="Ressources\Icons\bewoplaner_logo_small.png"
Style="{StaticResource toolbarImageStyle}" RenderTransformOrigin="0.5,0.5" x:Name="image2">
</Image>
</InlineUIContainer>
</Hyperlink>
2017-02-10 11:08:38 +01:00
</TextBlock>-->
2017-02-01 13:53:59 +01:00
2016-06-27 01:45:38 +02:00
<BeWo:BSLogoControl Grid.Column="0" Grid.ColumnSpan="3" Grid.Row="0" Grid.RowSpan="2" Width="1000" Height="1000"
VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="0,0,-300,-250" x:Name="bSLogoControl"
RenderTransformOrigin="0.5,0.5">
<BeWo:BSLogoControl.OpacityMask>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#29000000" Offset="0" />
<GradientStop Color="#29000000" Offset="1" />
</LinearGradientBrush>
</BeWo:BSLogoControl.OpacityMask>
</BeWo:BSLogoControl>
<Grid x:Name="DetailFrame" Grid.Column="0" Grid.ColumnSpan="3" Grid.Row="0" Grid.RowSpan="2"
RenderTransformOrigin="0.5,0.5" Margin="140,35,140,85">
<Grid.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</Grid.RenderTransform>
<Grid.OpacityMask>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FF000000" Offset="0" />
<GradientStop Color="#D8FFFFFF" Offset="1" />
</LinearGradientBrush>
</Grid.OpacityMask>
<!-- Border x:Name="detailPlaceHolder" Background="#FFB55252" CornerRadius="5,5,5,5"></Border-->
</Grid>
<Grid x:Name="toolbarRoot" Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="3" HorizontalAlignment="Stretch"
VerticalAlignment="Bottom" Width="Auto" RenderTransformOrigin="0.5,0.5" MouseEnter="toolbarRoot_MouseEnter"
MouseLeave="toolbarRoot_MouseLeave">
<Grid.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="100" />
</TransformGroup>
</Grid.RenderTransform>
<Border Name="toolbarBord" Height="80" RenderTransformOrigin="0.5,0.5">
<Border.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="20" />
</TransformGroup>
</Border.RenderTransform>
<Viewbox Stretch="Fill">
<Canvas Width="100" Height="100">
<Path Data="M0,100 L5,0 L95,0 L100,100 Z" StrokeThickness="1">
<Path.Fill>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#66000000" Offset="0" />
<GradientStop Color="#CC080808" Offset="1" />
</LinearGradientBrush>
</Path.Fill>
</Path>
<Rectangle Width="100" Height="132" Fill="#FF98C1FF" Canvas.Top="8">
<Rectangle.OpacityMask>
<RadialGradientBrush>
<GradientStop Color="#3FFFFFFF" Offset="0.29" />
<GradientStop Color="#00FFFFFF" Offset="0.875" />
</RadialGradientBrush>
</Rectangle.OpacityMask>
</Rectangle>
</Canvas>
</Viewbox>
</Border>
2020-12-05 15:47:00 +01:00
<Grid x:Name="toolbarContent" RenderTransformOrigin="0.5,0.5" Loaded="ToolbarContent_OnLoaded">
2016-06-27 01:45:38 +02:00
<Grid.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</Grid.RenderTransform>
<StackPanel x:Name="HomeButtonPanel" Orientation="Vertical" Grid.Row="1" HorizontalAlignment="Left"
VerticalAlignment="Top" Margin="10,0,0,0">
<Button Margin="0,9,0,0" Name="btn_home" Click="btn_home_Click" Width="40" Height="40">
<Image Source="Ressources\Icons\Home.png" Stretch="Fill" StretchDirection="Both"></Image>
</Button>
2017-11-17 22:24:00 +01:00
<Label Content="{t:Translate Home}" FontSize="12" Foreground="#FFDBDBDB"></Label>
2016-06-27 01:45:38 +02:00
</StackPanel>
<!--<StackPanel x:Name="HomeButtonPanel" Orientation="Vertical" Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,0,0,0" >
<Button Margin="0,10,0,0" Click="button_Home" Width="40" Height="40">
<Image Source="Ressources\Icons\HomeDisabled.png" Stretch="Fill" StretchDirection="Both"></Image>
</Button>
<Label Content="Startseite" FontSize="12" Foreground="#FFDBDBDB"></Label>
</StackPanel>
<StackPanel x:Name="LogoutButtonPanel" Orientation="Vertical" Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="90,0,0,0" >
<Button Margin="0,10,0,0" Click="button_Logout" Width="40" Height="40">
<Image Source="Ressources\Icons\LogoutDisabled.png" Stretch="Fill" StretchDirection="Both"></Image>
</Button>
<Label Content="Abmelden" FontSize="12" Foreground="#FFDBDBDB"></Label>
</StackPanel>-->
<ScrollViewer x:Name="toolbarScrollViewer" ScrollChanged="toolbarScrollViewer_ScrollChanged"
HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Disabled"
HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="80,0,80,0" Height="80">
<ScrollViewer.Template>
<ControlTemplate TargetType="{x:Type ScrollViewer}">
<Grid Margin="3 0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="17" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="17" />
</Grid.ColumnDefinitions>
<Button Content="3" FontFamily="Webdings" Command="ScrollBar.PageLeftCommand"
Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" />
<ScrollContentPresenter VerticalAlignment="Bottom" Margin="20 0" Grid.Column="1"
Content="{TemplateBinding Content}" />
<Button Content="4" FontFamily="Webdings" Grid.Column="2"
Command="ScrollBar.PageRightCommand"
Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" />
</Grid>
</ControlTemplate>
</ScrollViewer.Template>
<Grid Margin="0,0,0,0" VerticalAlignment="Stretch" Height="80">
<StackPanel x:Name="toolbarMainButtonPanel" VerticalAlignment="Center" HorizontalAlignment="Center"
Width="Auto" Margin="0,0,0,0" Orientation="Horizontal">
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, ServiceRecordView_View"
ImageSource="Ressources\Icons\HistoryDisabled.png" x:Name="button_serviceRecord"
Click="button_serviceRecord_Click" Style="{StaticResource NavBarButton}"
2017-11-17 22:24:00 +01:00
Content="{t:Translate ZeiterfassungMenuItem}" Background="{StaticResource ServiceRecordContentBrush}"
2016-06-27 01:45:38 +02:00
RenderTransformOrigin="0.5,0.5"
Tag="" Width="90" Height="Auto">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</Button.RenderTransform>
</localView:ImageButton>
<localView:ImageButton r:DemandUserRight.VisibleDemands="AdditionalService_View"
ImageSource="Ressources\Icons\HistoryDisabled.png" x:Name="button_additionalService"
Click="button_additionalService_Click" Style="{StaticResource NavBarButton}"
2017-11-17 22:24:00 +01:00
Content="{t:Translate Ergänzende DiensteMenuItem}" Background="{StaticResource AdditionalServiceContentBrush}"
2016-06-27 01:45:38 +02:00
RenderTransformOrigin="0.5,0.5"
Tag="" Width="120" Height="Auto">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</Button.RenderTransform>
</localView:ImageButton>
2017-05-22 11:14:48 +02:00
<localView:ImageButton r:DemandUserRight.VisibleDemands="VertretungenView_View"
2019-08-29 15:43:23 +02:00
ImageSource="Ressources\Icons\CalendarDisabled.png" x:Name="button_SchulbegleitenderDienst"
Click="Button_Vertretungen_OnClick" Style="{StaticResource NavBarButton}"
2017-11-17 22:24:00 +01:00
Content="{t:Translate VertretungenMenuItem}" Background="{StaticResource SchulbegleitenderDienstContentBrush}"
2017-05-22 11:14:48 +02:00
RenderTransformOrigin="0.5,0.5"
Width="90" >
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</Button.RenderTransform>
</localView:ImageButton>
2022-02-22 11:58:42 +01:00
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, AccountingTransactionView_View, BargeldverwaltungFinanzenAnsehen, DokumenteFinanzen"
2016-06-27 01:45:38 +02:00
ImageSource="Ressources\Icons\CoinsDisabled.png" x:Name="button_AccountingTransacation"
Click="button_AccountingTransacation_Click" Style="{StaticResource NavBarButton}"
2017-11-17 22:24:00 +01:00
Content="{t:Translate FinanzenMenuItem}" Background="{StaticResource AccountingContentBrush}"
2016-06-27 01:45:38 +02:00
RenderTransformOrigin="0.5,0.5"
Width="90">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</Button.RenderTransform>
</localView:ImageButton>
2017-05-22 11:14:48 +02:00
2016-06-27 01:45:38 +02:00
<Grid>
<localView:ImageButton r:DemandUserRight.VisibleDemands="KalenderAnsehen"
ImageSource="Ressources\Icons\CalendarDisabled.png" x:Name="button_Scheduler"
Click="button_Scheduler_Click" Style="{StaticResource NavBarButton}"
2017-11-17 22:24:00 +01:00
Content="{t:Translate KalenderMenuItem}" Background="{StaticResource ResourceContentBrush}"
2016-06-27 01:45:38 +02:00
RenderTransformOrigin="0.5,0.5"
Width="90">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</Button.RenderTransform>
</localView:ImageButton>
<BeWo:OutlinedTextBlock Visibility="Collapsed" x:Name="NewAppointmentsOutlinedTextBlock" Margin="25,0,0,0" FontFamily="Verdana" FontSize="25" FontWeight="ExtraBold" TextWrapping="Wrap" StrokeThickness="1" Stroke="White" Fill="OrangeRed" SnapsToDevicePixels="True" Text="!" HorizontalAlignment="Left" VerticalAlignment="Top">
<BeWo:OutlinedTextBlock.Triggers>
<EventTrigger RoutedEvent="BeWo:OutlinedTextBlock.Loaded">
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetName="NewAppointmentsOutlinedTextBlock"
Storyboard.TargetProperty="(BeWo:OutlinedTextBlock.FontSize)"
To="30.0" Duration="0:0:0.3"
AutoReverse="True" RepeatBehavior="Forever" />
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</BeWo:OutlinedTextBlock.Triggers>
</BeWo:OutlinedTextBlock>
</Grid>
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, ResourceBookingView_View"
ImageSource="Ressources\Icons\CalendarDisabled.png" x:Name="button_ResourceBooking"
Click="button_ResourceBooking_Click" Style="{StaticResource NavBarButton}"
2017-11-17 22:24:00 +01:00
Content="{t:Translate RessourcenMenuItem}" Background="{StaticResource ResourceContentBrush}"
2016-06-27 01:45:38 +02:00
RenderTransformOrigin="0.5,0.5"
Width="90">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</Button.RenderTransform>
</localView:ImageButton>
2023-06-22 09:35:51 +02:00
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, QueryView_View, Analysis_ServiceOverview_View, Analysis_Auslastung_View, Analysis_AuslastungAllEmployee_View, Analysis_AuslastungTeam_View, Kilometerauswertung_View, KilometerauswertungEigene_View, BewertungAuswertung_View, PivotTabelleAnsehen, DienstplanungAnsehen, AbwesenheitsPlanungAnsehen, Mitarbeiterstundenkonto_ViewAll, Mitarbeiterstundenkonto_ViewSelf, Mitarbeiterstundenkonto_ViewTeams, Jahresbericht, Auswertungen_BerichteAnsehen, Auswertungen_StundenuebersichtAnsehen, Auswertungen_HilfeplanuebersichtAnsehen"
2016-06-27 01:45:38 +02:00
x:Name="button_Reports" Click="button_Reports_Click"
Style="{StaticResource NavBarButton}"
2017-11-17 22:24:00 +01:00
Content="{t:Translate AuswertungenMenuItem}"
2016-06-27 01:45:38 +02:00
Background="{StaticResource ReportContentBrush}" RenderTransformOrigin="0.5,0.5"
ImageSource="Ressources\Icons\ChartBarDisabled.png" Width="90">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</Button.RenderTransform>
</localView:ImageButton>
2017-11-17 22:24:00 +01:00
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, SupportConceptView_View, SupportConcept_ViewAllSupportConcepts, SupportConcept_ViewMyTeams"
2016-06-27 01:45:38 +02:00
x:Name="button_SupportConcept" Click="button_SupportConcept_Click"
Style="{StaticResource NavBarButton}"
2017-11-17 22:24:00 +01:00
Content="{t:Translate HilfepläneMenuItem}"
2016-06-27 01:45:38 +02:00
Background="{StaticResource SupportConceptContentBrush}" RenderTransformOrigin="0.5,0.5"
ImageSource="Ressources\Icons\IDBadgeDisabled.png" Width="90">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</Button.RenderTransform>
</localView:ImageButton>
2017-11-17 22:24:00 +01:00
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, CustomerView_View, Customer_ViewMyCustomers, Customer_ViewMyTeams"
2016-06-27 01:45:38 +02:00
x:Name="button_Customer" Click="button_Customer_Click"
Style="{StaticResource NavBarButton}"
2017-11-17 22:24:00 +01:00
Content="{t:Translate KlientenMenuItem}"
2016-06-27 01:45:38 +02:00
Background="{StaticResource CustomerContentBrush}" RenderTransformOrigin="0.5,0.5"
ImageSource="Ressources\Icons\UserHomeMaleDisabled.png" Width="90">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
2017-08-18 14:43:33 +02:00
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</Button.RenderTransform>
</localView:ImageButton>
<!-- r:DemandUserRight.VisibleDemands="ViewAll, CustomerTeam_View" -->
<localView:ImageButton Visibility="Collapsed"
2017-08-18 14:43:33 +02:00
Click="button_CustomerTeam_Click"
x:Name="button_CustomerTeam"
Style="{StaticResource NavBarButton}"
2017-11-17 22:24:00 +01:00
Content="{t:Translate KliententeamsMenuItem}"
2017-08-18 14:43:33 +02:00
Background="{StaticResource CustomerTeamContentBrush}" RenderTransformOrigin="0.5, 0.5"
ImageSource="Ressources/Icons/UserGroupBusinessDisabled.png" Width="90">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
2016-06-27 01:45:38 +02:00
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</Button.RenderTransform>
</localView:ImageButton>
2017-11-07 13:46:55 +01:00
<localView:ImageButton r:DemandUserRight.VisibleDemands="WohnheimView_View"
2016-06-27 01:45:38 +02:00
x:Name="button_Wohnheim" Click="button_Wohnheim_Click"
Style="{StaticResource NavBarButton}"
2017-11-17 22:24:00 +01:00
Content="{t:Translate WohnheimeMenuItem}"
2016-06-27 01:45:38 +02:00
Background="{StaticResource WohnheimContentBrush}" RenderTransformOrigin="0.5,0.5"
ImageSource="Ressources\Icons\OfficeBulidingBlackDisabled.png" Width="90">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</Button.RenderTransform>
2017-11-07 13:46:55 +01:00
</localView:ImageButton>
2016-06-27 01:45:38 +02:00
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, OrganisationView_View"
x:Name="button_Organisation" Click="button_Organisation_Click"
Style="{StaticResource NavBarButton}"
2017-11-17 22:24:00 +01:00
Content="{t:Translate OrganisationenMenuItem}"
2016-06-27 01:45:38 +02:00
Background="{StaticResource OrganisationContentBrush}" RenderTransformOrigin="0.5,0.5"
ImageSource="Ressources\Icons\OfficeBulidingBlackDisabled.png" Width="90">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</Button.RenderTransform>
</localView:ImageButton>
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, PersonView_View"
x:Name="button_Person" Click="button_Person_Click" Style="{StaticResource NavBarButton}"
2017-11-17 22:24:00 +01:00
Content="{t:Translate PersonenMenuItem}" Background="{StaticResource PersonContentBrush}"
2016-06-27 01:45:38 +02:00
RenderTransformOrigin="0.5,0.5"
ImageSource="Ressources\Icons\AnonymousUserDisabled.png"
Width="90">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</Button.RenderTransform>
</localView:ImageButton>
2017-03-24 10:30:18 +01:00
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, EmployeeView_View, Employee_AllowViewOwnEmployees, Employee_AllowViewOwnTeam"
2016-06-27 01:45:38 +02:00
x:Name="button_Employee" Click="button_Employee_Click"
Style="{StaticResource NavBarButton}"
2017-11-17 22:24:00 +01:00
Content="{t:Translate MitarbeiterMenuItem}"
2016-06-27 01:45:38 +02:00
Background="{StaticResource EmployeeContentBrush}" RenderTransformOrigin="0.5,0.5"
ImageSource="Ressources\Icons\UserBusinessMaleDisabled.png" Width="90">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</Button.RenderTransform>
</localView:ImageButton>
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, TeamView_ViewAll, TeamView_ViewMyTeams"
x:Name="button_Team" Click="button_Team_Click" Style="{StaticResource NavBarButton}"
2017-11-17 22:24:00 +01:00
Content="{t:Translate TeamsMenuItem}" Background="{StaticResource TeamContentBrush}"
2016-06-27 01:45:38 +02:00
RenderTransformOrigin="0.5,0.5"
ImageSource="Ressources\Icons\UserGroupBusinessDisabled.png" Width="90">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</Button.RenderTransform>
</localView:ImageButton>
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, TeamView_ViewAll, TeamView_ViewMyTeams"
x:Name="button_Dokumente" Click="button_Dokumente_Click" Style="{StaticResource NavBarButton}"
Content="{t:Translate DokumenteMenuItem}" Background="{StaticResource DokumenteContentBrush}"
RenderTransformOrigin="0.5,0.5"
ImageSource="Ressources\Icons\Folder.png" Width="90">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</Button.RenderTransform>
</localView:ImageButton>
2016-06-27 01:45:38 +02:00
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, UserView_View"
x:Name="button_User" Click="button_User_Click" Style="{StaticResource NavBarButton}"
2017-11-17 22:24:00 +01:00
Content="{t:Translate BenutzerMenuItem}" Background="{StaticResource UserContentBrush}"
2016-06-27 01:45:38 +02:00
RenderTransformOrigin="0.5,0.5"
ImageSource="Ressources\Icons\UserBusinessMaleDisabled.png" Width="90">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</Button.RenderTransform>
</localView:ImageButton>
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, UserGroupView_View"
x:Name="button_UserGroup" Click="button_UserGroup_Click"
Style="{StaticResource NavBarButton}"
2017-11-17 22:24:00 +01:00
Content="{t:Translate BenutzergruppenMenuItem}"
2016-06-27 01:45:38 +02:00
Background="{StaticResource UserGroupContentBrush}" RenderTransformOrigin="0.5,0.5"
ImageSource="Ressources\Icons\UserGroupBusinessDisabled.png" Width="Auto">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</Button.RenderTransform>
</localView:ImageButton>
<!--<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, AdministrationView_View"
x:Name="button_Template" Click="button_Template_Click"
HorizontalAlignment="Stretch" Style="{StaticResource NavBarButton}"
2017-11-06 10:30:25 +01:00
Content="{t:Translate Vorlagen}"
2016-06-27 01:45:38 +02:00
Background="#FF0045e0" RenderTransformOrigin="0.5,0.5"
ImageSource="Ressources\Icons\MenuDisabled.png" Width="90">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</Button.RenderTransform>
</localView:ImageButton>-->
<localView:ImageButton r:DemandUserRight.VisibleDemands="ViewAll, AdministrationView_View"
x:Name="button_Administration" Click="button_Administration_Click"
HorizontalAlignment="Stretch" Style="{StaticResource NavBarButton}"
2017-11-17 22:24:00 +01:00
Content="{t:Translate VerwaltungMenuItem}"
2016-06-27 01:45:38 +02:00
Background="{StaticResource AdministrationContentBrush}" RenderTransformOrigin="0.5,0.5"
ImageSource="Ressources\Icons\ConfigurationDisabled.png" Width="90">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</Button.RenderTransform>
</localView:ImageButton>
<localView:ImageButton r:DemandUserRight.VisibleDemands="Support_View"
x:Name="button_Support" Click="button_Support_Click"
HorizontalAlignment="Stretch" Style="{StaticResource NavBarButton}"
2017-11-17 22:24:00 +01:00
Content="{t:Translate SupportMenuItem}"
2016-06-27 01:45:38 +02:00
Background="#FFD4FFCF" RenderTransformOrigin="0.5,0.5"
ImageSource="Ressources\Icons\TechSupportWhiteDisabled.png" Width="90">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="0" />
</TransformGroup>
</Button.RenderTransform>
</localView:ImageButton>
</StackPanel>
</Grid>
</ScrollViewer>
<StackPanel x:Name="LogoutButtonPanel" Orientation="Vertical" Grid.Row="1" HorizontalAlignment="Right"
VerticalAlignment="Top" Margin="0,0,0,0">
<Button Margin="0,9,0,0" Click="button_Logout" Width="40" Height="40">
<Image Source="Ressources\Icons\LogoutDisabled.png" Stretch="Fill" StretchDirection="Both"></Image>
</Button>
<Label Content="Abmelden" FontSize="12" Foreground="#FFDBDBDB"></Label>
</StackPanel>
<!--<Rectangle Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="1" RenderTransformOrigin="0.5,0.5" Height="55" Width="1175" StrokeThickness="0" VerticalAlignment="Top">
<Rectangle.OpacityMask>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#0C000000" Offset="0"/>
<GradientStop Color="#4CFFFFFF" Offset="1"/>
</LinearGradientBrush>
</Rectangle.OpacityMask>
<Rectangle.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="-1"/>
<SkewTransform AngleX="0" AngleY="0"/>
<RotateTransform Angle="0"/>
<TranslateTransform X="-3" Y="49"/>
</TransformGroup>
</Rectangle.RenderTransform>
<Rectangle.Fill>
<VisualBrush Visual="{Binding ElementName=toolbar}"/>
</Rectangle.Fill>
</Rectangle>-->
</Grid>
</Grid>
<!--<GroupBox Visibility="Hidden" Header="Home" Grid.Column="1" Grid.Row="1" Grid.RowSpan="1" Margin="10,0,10,10" Style="{DynamicResource MainContentGroupBoxStyle}" >
<Border>
<Border.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FFFFFFFF" Offset="0"/>
<GradientStop Color="#FFFFF2CF" Offset="1"/>
</LinearGradientBrush>
</Border.Background>
</Border>
</GroupBox>-->
</Grid>
</UserControl>