Dritter Tab "Auswertung": Zeitraum wahlweise Monat oder Schuljahr, Balken je Kategorie und Gruppe. Neuer WorkloadSettingsService (gleiches JSON-Muster wie PeriodScheduleService) für die Pflichtstundenzahl pro Woche, bewusst direkt im Auswertungs-Tab editierbar statt in den Einstellungen, da das Feld nur dort gebraucht wird. Export (6.3.3) bleibt offen, da er an das noch fehlende Kapitel 11 (Export-Infrastruktur) hängt.
28 lines
1.3 KiB
XML
28 lines
1.3 KiB
XML
<UserControl xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:vm="clr-namespace:LehrerApp.Desktop.ViewModels.Workload"
|
|
xmlns:views="clr-namespace:LehrerApp.Desktop.Views.Workload"
|
|
xmlns:shared="clr-namespace:LehrerApp.Desktop.Views.Shared"
|
|
x:Class="LehrerApp.Desktop.Views.Workload.WorkloadView"
|
|
x:DataType="vm:WorkloadViewModel">
|
|
<Grid RowDefinitions="Auto,*">
|
|
<Border Grid.Row="0" Padding="20,16"
|
|
BorderBrush="{DynamicResource SystemControlForegroundBaseLowBrush}"
|
|
BorderThickness="0,0,0,1">
|
|
<shared:PageHeader Title="Arbeitszeit" Subtitle="{Binding Tasks.CountSummary}"/>
|
|
</Border>
|
|
|
|
<TabbedPage Grid.Row="1" TabPlacement="Top" SelectedIndex="{Binding ActiveTabIndex}">
|
|
<ContentPage Header="Aufgaben">
|
|
<views:WorkTaskListView DataContext="{Binding Tasks}"/>
|
|
</ContentPage>
|
|
<ContentPage Header="Zeiterfassung">
|
|
<views:TimeTrackingView DataContext="{Binding TimeTracking}"/>
|
|
</ContentPage>
|
|
<ContentPage Header="Auswertung">
|
|
<views:WorkloadEvaluationView DataContext="{Binding Evaluation}"/>
|
|
</ContentPage>
|
|
</TabbedPage>
|
|
</Grid>
|
|
</UserControl>
|