Mitarbeits Wizzard und neue Statuslabels für Anwesenheit und Hausaufgaben
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
<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.AttendanceHomeworkQuickInputDialog"
|
||||
x:DataType="vm:AttendanceHomeworkQuickInputViewModel"
|
||||
Title="Schnelleingabe Anwesenheit und Hausaufgaben"
|
||||
Width="820" Height="620" MinWidth="680" MinHeight="460"
|
||||
CanResize="True" WindowStartupLocation="CenterOwner">
|
||||
|
||||
<Grid RowDefinitions="Auto,*,Auto" Margin="20">
|
||||
<Grid Grid.Row="0" ColumnDefinitions="*,Auto" Margin="0,0,0,12">
|
||||
<StackPanel>
|
||||
<TextBlock Text="Anwesenheit und Hausaufgaben" FontSize="20" FontWeight="SemiBold"/>
|
||||
<TextBlock Text="{Binding SessionLabel}" FontSize="12" Opacity="0.55"/>
|
||||
</StackPanel>
|
||||
<CheckBox Grid.Column="1" Content="Nach Eingabe nächste Zeile"
|
||||
IsChecked="{Binding AdvanceAfterInput}" VerticalAlignment="Center"/>
|
||||
</Grid>
|
||||
|
||||
<DataGrid Grid.Row="1" x:Name="StatusGrid"
|
||||
ItemsSource="{Binding Rows}"
|
||||
SelectedItem="{Binding SelectedRow}"
|
||||
AutoGenerateColumns="False" IsReadOnly="True"
|
||||
GridLinesVisibility="Horizontal"
|
||||
CanUserReorderColumns="False" CanUserResizeColumns="True"
|
||||
SelectionMode="Single"/>
|
||||
|
||||
<Grid Grid.Row="2" RowDefinitions="Auto,Auto" ColumnDefinitions="*,Auto" Margin="0,12,0,0">
|
||||
<StackPanel Grid.Row="0" Grid.Column="0" Spacing="3">
|
||||
<TextBlock FontSize="10" Opacity="0.55" TextWrapping="Wrap"
|
||||
Text="Anwesenheit: A anwesend · K Entschuldigung offen · E entschuldigt · U unentschuldigt · G geschwänzt · V Schulveranstaltung · 0 nicht kontrolliert"/>
|
||||
<TextBlock FontSize="10" Opacity="0.55" TextWrapping="Wrap"
|
||||
Text="Hausaufgaben mit Alt/⌥: M gemacht · T teilweise · R Rest nachgereicht · X Rest nicht nachgereicht · O Nachreichen offen · F endgültig nicht nachgereicht · S nachgereicht · 0 keine"/>
|
||||
<TextBlock FontSize="10" Opacity="0.55"
|
||||
Text="↑/↓ Zeile wählen · Enter nächste Zeile · Esc schließen"/>
|
||||
</StackPanel>
|
||||
<Button Grid.RowSpan="2" Grid.Column="1" Content="Schließen" Click="OnClose"
|
||||
VerticalAlignment="Bottom" Margin="18,0,0,0" Padding="16,6"/>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user