Compare commits
3 Commits
d5ff2aeee0
...
e27a6b88d4
| Author | SHA1 | Date | |
|---|---|---|---|
| e27a6b88d4 | |||
| 70c028aee7 | |||
| bbfe6299b5 |
@@ -3,7 +3,7 @@
|
|||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
x:Class="spplus.MainWindow"
|
x:Class="spplus.MainWindow" WindowState="Maximized"
|
||||||
Title="SP+">
|
Title="SP+">
|
||||||
<Border>
|
<Border>
|
||||||
<Grid RowDefinitions="30,*">
|
<Grid RowDefinitions="30,*">
|
||||||
@@ -28,7 +28,52 @@
|
|||||||
<Label FontSize="20" Content="Planung" VerticalContentAlignment="Center" />
|
<Label FontSize="20" Content="Planung" VerticalContentAlignment="Center" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</TabItem.Header>
|
</TabItem.Header>
|
||||||
<Grid RowDefinitions="2*,*,*">
|
<Grid ColumnDefinitions="*,2*">
|
||||||
|
<Button Margin="0,10,0,0" x:Name="BtnImport" VerticalAlignment="Top" Height="50" HorizontalAlignment="Stretch" Click="BtnImport_OnClick" HorizontalContentAlignment="Center">
|
||||||
|
<StackPanel Orientation="Horizontal">
|
||||||
|
<LucideIcon Kind="Import" Width="36" Height="36" />
|
||||||
|
<Label Content="Importieren..." VerticalContentAlignment="Center" FontSize="15"
|
||||||
|
FontWeight="Bold" />
|
||||||
|
</StackPanel>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button Margin="0,00,0,10" x:Name="BtnCraftCourses" VerticalAlignment="Bottom" Height="50" HorizontalAlignment="Stretch" Click="BtnCraftCourses_OnClick" HorizontalContentAlignment="Center">
|
||||||
|
<StackPanel Orientation="Horizontal">
|
||||||
|
<LucideIcon Kind="Pickaxe" Width="36" Height="36" />
|
||||||
|
<Label Content="Kurse basteln" VerticalContentAlignment="Center" FontSize="15"
|
||||||
|
FontWeight="Bold" />
|
||||||
|
</StackPanel>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<ListBox Margin="0,70,0,70" Background="MintCream" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"></ListBox>
|
||||||
|
|
||||||
|
<StackPanel Grid.Column="1" Margin="10,10,10,10" Orientation="Vertical" Spacing="10">
|
||||||
|
<Grid ColumnDefinitions="*,3*">
|
||||||
|
<Label Content="Name"></Label>
|
||||||
|
<TextBox Grid.Column="1" x:Name="TbStudentName"></TextBox>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
<Grid ColumnDefinitions="*,2*">
|
||||||
|
<Label Content="Sport 1"></Label>
|
||||||
|
<Label Grid.Column="1" x:Name="LblSport1"></Label>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
<Grid ColumnDefinitions="*,2*">
|
||||||
|
<Label Content="Sport 2"></Label>
|
||||||
|
<Label Grid.Column="1" x:Name="LblSport2"></Label>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
<Grid ColumnDefinitions="*,2*">
|
||||||
|
<Label Content="Sport 3"></Label>
|
||||||
|
<Label Grid.Column="1" x:Name="LblSport3"></Label>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
<Grid ColumnDefinitions="*,2*">
|
||||||
|
<Label Content="Sport 4"></Label>
|
||||||
|
<Label Grid.Column="1" x:Name="LblSport4"></Label>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|||||||
@@ -64,4 +64,14 @@ public partial class MainWindow : Window
|
|||||||
w.Content = g;
|
w.Content = g;
|
||||||
w.Show();
|
w.Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void BtnImport_OnClick(object? sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
// CSV Import
|
||||||
|
}
|
||||||
|
|
||||||
|
private void BtnCraftCourses_OnClick(object? sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
// Craft courses here / call course-crafter
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user