feat: expand teaching mode with live timeline and seating quick checks
CI / build-and-test (push) Canceled after 0s
CI / build-and-test (push) Canceled after 0s
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<UserControl xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:models="clr-namespace:LehrerApp.Core.Models;assembly=LehrerApp.Core"
|
||||
xmlns:vm="clr-namespace:LehrerApp.Desktop.ViewModels.Groups"
|
||||
xmlns:vmRoot="clr-namespace:LehrerApp.Desktop.ViewModels"
|
||||
x:Class="LehrerApp.Desktop.Views.Groups.GroupOverviewTabView"
|
||||
@@ -42,6 +43,19 @@
|
||||
<StackPanel Spacing="0">
|
||||
<WrapPanel>
|
||||
|
||||
<Border Classes="card" IsVisible="{Binding HasTodayLessons}">
|
||||
<StackPanel Spacing="8">
|
||||
<TextBlock Text="UNTERRICHT HEUTE" Classes="cardTitle"/>
|
||||
<ComboBox ItemsSource="{Binding TodayLessons}" SelectedItem="{Binding SelectedTeachingLesson}" HorizontalAlignment="Stretch">
|
||||
<ComboBox.ItemTemplate>
|
||||
<DataTemplate x:DataType="models:Lesson">
|
||||
<TextBlock><Run Text="{Binding StartTime}"/><Run Text=" · "/><Run Text="{Binding Topic}"/></TextBlock>
|
||||
</DataTemplate>
|
||||
</ComboBox.ItemTemplate>
|
||||
</ComboBox>
|
||||
<Button Content="Unterrichtsansicht öffnen" Command="{Binding StartTeachingModeCommand}"/>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
<!-- Nächste Stunde -->
|
||||
<Border Classes="card">
|
||||
<StackPanel>
|
||||
|
||||
Reference in New Issue
Block a user