Stunden serienweise aus dem Stundenplan erzeugen (4.2.5); Stundenraster (Uhrzeiten je Stunde) in den Einstellungen mit Zeitbedarf-Rückmeldung im Verlaufsplan-Editor; wiederkehrende Pausenaufsicht; neuer "Vertretung eintragen"-Dialog für einmalige Vertretungsaufsicht, Vertretungsstunde, Sondereinsätze (Ausflüge, Berufsmessen) und schlichten Stundenausfall. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
37 lines
1.9 KiB
XML
37 lines
1.9 KiB
XML
<Window xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:vm="clr-namespace:LehrerApp.Desktop.ViewModels.Groups"
|
|
x:Class="LehrerApp.Desktop.Views.Groups.GenerateLessonSeriesDialog"
|
|
x:DataType="vm:GenerateLessonSeriesDialogViewModel"
|
|
Title="Stunden aus Stundenplan erzeugen"
|
|
Width="420" Height="300" MinWidth="380" MinHeight="280"
|
|
CanResize="False" WindowStartupLocation="CenterOwner">
|
|
|
|
<Grid RowDefinitions="*,Auto" Margin="24">
|
|
<StackPanel Grid.Row="0" Spacing="14">
|
|
<TextBlock Text="Stunden aus Stundenplan erzeugen" Classes="dialogtitle"/>
|
|
<TextBlock FontSize="12" Opacity="0.6" TextWrapping="Wrap"
|
|
Text="Legt für jeden Wochentag/Stunde aus dem Stundenplan dieser Gruppe eine neue Stunde im gewählten Zeitraum an. Schulferien und Feiertage werden übersprungen, bereits vorhandene Termine nicht doppelt angelegt."/>
|
|
|
|
<Grid ColumnDefinitions="*,8,*">
|
|
<StackPanel Grid.Column="0" Spacing="4">
|
|
<TextBlock Text="Von *" FontSize="12" Opacity="0.7"/>
|
|
<TextBox Text="{Binding FromDateText}" PlaceholderText="TT.MM.JJJJ"/>
|
|
</StackPanel>
|
|
<StackPanel Grid.Column="2" Spacing="4">
|
|
<TextBlock Text="Bis *" FontSize="12" Opacity="0.7"/>
|
|
<TextBox Text="{Binding ToDateText}" PlaceholderText="TT.MM.JJJJ"/>
|
|
</StackPanel>
|
|
</Grid>
|
|
<TextBlock Text="{Binding DateError}" Foreground="Red" FontSize="11"
|
|
TextWrapping="Wrap"
|
|
IsVisible="{Binding DateError, Converter={x:Static StringConverters.IsNotNullOrEmpty}}"/>
|
|
</StackPanel>
|
|
|
|
<Grid Grid.Row="1" ColumnDefinitions="*,8,*" Margin="0,20,0,0">
|
|
<Button Grid.Column="0" Content="Abbrechen" HorizontalAlignment="Stretch" Click="OnCancel"/>
|
|
<Button Grid.Column="2" Content="Erzeugen" HorizontalAlignment="Stretch" Click="OnSave"/>
|
|
</Grid>
|
|
</Grid>
|
|
</Window>
|