ChronoFlow/ChronoFlow.View/Mitarbeiter/MitarbeiterMainView.axaml
2025-06-12 13:41:27 +02:00

35 lines
1.7 KiB
XML

<UserControl xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="ChronoFlow.View.Mitarbeiter.MitarbeiterMainView">
<StackPanel Margin="20">
<TextBlock Text="👋 Willkommen im Mitarbeiter-Dashboard" FontSize="24" Margin="0,0,0,20"/>
<Border Background="#FFEFEFEF" CornerRadius="8" Padding="10" Margin="0,0,0,20">
<StackPanel>
<TextBlock Text="📢 Letzte Benachrichtigungen:" FontWeight="Bold" Margin="0,0,0,10"/>
<ItemsControl Name="NotificationList">
<ItemsControl.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding}" Foreground="DarkBlue"/>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</StackPanel>
</Border>
<TextBlock Text="🕒 Letzte eigene Projekte:" FontWeight="Bold" Margin="0,0,0,10"/>
<ItemsControl Name="LetzteProjekteListe">
<ItemsControl.ItemTemplate>
<DataTemplate>
<Border BorderBrush="Gray" BorderThickness="1" CornerRadius="4" Margin="0,0,0,10" Padding="10">
<StackPanel>
<TextBlock Text="{Binding Projekt}" FontSize="16" FontWeight="Bold"/>
<TextBlock Text="{Binding Kommentar}" FontStyle="Italic"/>
<TextBlock Text="{Binding Startzeit}" FontSize="12"/>
</StackPanel>
</Border>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</StackPanel>
</UserControl>