Neuer Stundenplan mit "Heute"-Standardansicht (Tagesliste unten angedockt, gruppenübergreifendes Wochenraster mit Fach/Klasse/Raum/Thema, Vor-/Zurück- Navigation zwischen Kalenderwochen) und separatem Bearbeiten-Raster für die wöchentliche Zuordnung. Badges für Ferien-/Klausur-Nähe und ausgegraute Ferientage direkt im Plan statt einer separaten Liste. Ferien-/Feiertage- Pflege (Bundesland, Schulferien) sitzt jetzt in den Einstellungen statt im Stundenplan selbst. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
35 lines
1.6 KiB
XML
35 lines
1.6 KiB
XML
<Window xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:vm="clr-namespace:LehrerApp.Desktop.ViewModels.Planning"
|
|
x:Class="LehrerApp.Desktop.Views.Planning.TimetableSlotDialog"
|
|
x:DataType="vm:TimetableSlotDialogViewModel"
|
|
Title="{Binding DialogTitle}"
|
|
Width="360" SizeToContent="Height"
|
|
CanResize="False" WindowStartupLocation="CenterOwner">
|
|
|
|
<StackPanel Margin="24" Spacing="12">
|
|
<TextBlock Text="{Binding DialogTitle}" Classes="dialogtitle"/>
|
|
|
|
<StackPanel Spacing="4">
|
|
<TextBlock Text="Lerngruppe *" FontSize="12" Opacity="0.7"/>
|
|
<ComboBox ItemsSource="{Binding GroupOptions}" SelectedItem="{Binding SelectedGroupName}"
|
|
HorizontalAlignment="Stretch"/>
|
|
<TextBlock Text="{Binding GroupError}" Foreground="Red" FontSize="11"
|
|
IsVisible="{Binding GroupError, Converter={x:Static StringConverters.IsNotNullOrEmpty}}"/>
|
|
</StackPanel>
|
|
|
|
<StackPanel Spacing="4">
|
|
<TextBlock Text="Raum (optional)" FontSize="12" Opacity="0.7"/>
|
|
<TextBox Text="{Binding Room}"/>
|
|
</StackPanel>
|
|
|
|
<Button Content="Eintrag entfernen" HorizontalAlignment="Stretch" Margin="0,10,0,0"
|
|
IsVisible="{Binding IsEditing}" Click="OnDelete"/>
|
|
|
|
<Grid ColumnDefinitions="*,8,*" Margin="0,4,0,0">
|
|
<Button Grid.Column="0" Content="Abbrechen" HorizontalAlignment="Stretch" Click="OnCancel"/>
|
|
<Button Grid.Column="2" Content="Speichern" HorizontalAlignment="Stretch" Click="OnSave"/>
|
|
</Grid>
|
|
</StackPanel>
|
|
</Window>
|