48 lines
2.5 KiB
XML
48 lines
2.5 KiB
XML
<Window x:Class="ZeiterfassungMerz.MainWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
Title="Zeiterfassung MERZ" Height="600" Width="800"
|
|
Background="#1A1A2E" FontFamily="Segoe UI" Foreground="White">
|
|
|
|
<Grid Margin="20">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<!-- Logo und Maschinennummer -->
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
<Image Source="merz_logo.png" Width="80" Height="80" Margin="0,0,20,0"/>
|
|
<StackPanel Orientation="Vertical">
|
|
<TextBlock Text="Maschinennummer:" FontSize="14" Margin="0,10,0,0"/>
|
|
<TextBox x:Name="MaschinenNummerBox" Width="200" Height="25" Margin="0,5,0,0"/>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
|
<!-- Start Button -->
|
|
<Button Grid.Row="1" Content="Start" Width="120" Height="35" Margin="0,10,0,10"
|
|
HorizontalAlignment="Left" Background="#3A3A5D" BorderThickness="0"
|
|
Cursor="Hand"/>
|
|
|
|
<!-- Logs -->
|
|
<ScrollViewer Grid.Row="2" VerticalScrollBarVisibility="Auto" Margin="0,10,0,10">
|
|
<TextBlock x:Name="LogTextBlock" TextWrapping="Wrap" FontSize="13" FontFamily="Consolas"/>
|
|
</ScrollViewer>
|
|
|
|
<!-- Untere Buttons -->
|
|
<StackPanel Grid.Row="3" Orientation="Vertical" HorizontalAlignment="Center" Margin="0,20,0,0" >
|
|
<Button Content="Stop mit Kommentar" Width="180" Height="35" Margin="5" Background="#3A3A5D" BorderThickness="0" Cursor="Hand"/>
|
|
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
|
|
<Button Content="Exportieren als TXT" Width="160" Height="30" Margin="5" Background="#3A3A5D" BorderThickness="0" Cursor="Hand"/>
|
|
<Button Content="Exportieren als Excel" Width="160" Height="30" Margin="5" Background="#3A3A5D" BorderThickness="0" Cursor="Hand"/>
|
|
</StackPanel>
|
|
|
|
<Button Content="🌐 Theme wechseln" Width="180" Height="30" Margin="5" Background="#3A3A5D" BorderThickness="0" Cursor="Hand"/>
|
|
<Button Content="Zurücksetzen" Width="180" Height="30" Margin="5" Background="#3A3A5D" BorderThickness="0" Cursor="Hand"/>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Window>
|