Files
IT-Nexus/agent-cs/UI/AdminLoginDialog.xaml

29 lines
1.7 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<Window x:Class="ITNexusAgent.UI.AdminLoginDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="IT Nexus Admin-Login"
Width="360" Height="230"
WindowStartupLocation="CenterOwner"
ResizeMode="NoResize" Background="White" FontFamily="Segoe UI">
<StackPanel Margin="24">
<TextBlock Text="Admin-Anmeldung" FontSize="14" FontWeight="Bold"
Foreground="#1F2937" Margin="0,0,0,16"/>
<TextBlock Text="Benutzername" FontSize="11" Foreground="#6B7280" Margin="0,0,0,4"/>
<TextBox x:Name="UsernameBox" Height="32" Padding="8,4" FontSize="12"
BorderBrush="#D1D5DB" Margin="0,0,0,10"/>
<TextBlock Text="Passwort" FontSize="11" Foreground="#6B7280" Margin="0,0,0,4"/>
<PasswordBox x:Name="PasswordBox" Height="32" Padding="8,4" FontSize="12"
BorderBrush="#D1D5DB" Margin="0,0,0,4"
KeyDown="PasswordBox_KeyDown"/>
<TextBlock x:Name="ErrorLabel" FontSize="11" Foreground="#EF4444"
Margin="0,4,0,0" Visibility="Collapsed"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,14,0,0">
<Button Content="Abbrechen" Width="80" Height="32" Margin="0,0,8,0"
Click="Cancel_Click" Background="#F9FAFB" BorderBrush="#D1D5DB" FontSize="12"/>
<Button x:Name="LoginButton" Content="Anmelden" Width="90" Height="32"
Click="Login_Click" Background="#0078D4" Foreground="White"
BorderThickness="0" FontSize="12" FontWeight="SemiBold"/>
</StackPanel>
</StackPanel>
</Window>