23 lines
1.2 KiB
XML
23 lines
1.2 KiB
XML
<UserControl xmlns="https://github.com/avaloniaui"
|
||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
x:Class="ChronoFlow.View.MitarbeiterHinzufuegenView">
|
||
|
||
<StackPanel Margin="20" Spacing="10">
|
||
<TextBlock Text="➕ Mitarbeiter hinzufügen" FontWeight="Bold" FontSize="20" HorizontalAlignment="Center"/>
|
||
|
||
<TextBox x:Name="UsernameBox" Watermark="Benutzername"/>
|
||
<TextBox x:Name="PasswordBox" Watermark="Passwort"/>
|
||
|
||
<ComboBox x:Name="RoleBox" PlaceholderText="Rolle auswählen">
|
||
<ComboBoxItem Content="Mitarbeiter"/>
|
||
<ComboBoxItem Content="Admin"/>
|
||
</ComboBox>
|
||
|
||
<TextBox x:Name="MitarbeiternummerBox" Watermark="Mitarbeiternummer"/>
|
||
<TextBox x:Name="AbteilungBox" Watermark="Abteilung"/>
|
||
|
||
<Button Content="💾 Speichern" Click="SpeichernButton_Click" HorizontalAlignment="Center"/>
|
||
<Button Content="⬅ Zurück zum Dashboard" Click="ZurueckZumDashboard_Click" HorizontalAlignment="Center" Margin="0,10,0,0"/>
|
||
<TextBlock x:Name="FeedbackText" Foreground="Green" IsVisible="False" TextAlignment="Center"/>
|
||
</StackPanel>
|
||
</UserControl> |