1234567891011121314151617181920212223242526272829303132333435363738 |
- <Window x:Class="NBAManagment.Login"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:NBAManagment"
- mc:Ignorable="d"
- Title="Login" Height="600" Width="1200" ResizeMode="NoResize" WindowStartupLocation="CenterScreen">
- <Grid>
- <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Margin="30, 30" Name="mainPanel">
- <TextBlock Text="Users can login into the system using their jobnumber and password." Style="{StaticResource NormalText}" Margin="10, 10, 10, 60"/>
- <DockPanel>
- <TextBlock Text="LoginName" Width="80" Style="{StaticResource NormalText}" Foreground="{StaticResource DarkGray}" Margin="5" VerticalAlignment="Center"/>
- <TextBox x:Name="LoginNameBox" Padding="4" Margin="5" Height="28"/>
- </DockPanel>
- <DockPanel>
- <TextBlock Text="Password" Width="80" Style="{StaticResource NormalText}" Foreground="{StaticResource DarkGray}" Margin="5" VerticalAlignment="Center"/>
- <PasswordBox x:Name="passwordBox" Padding="4" Margin="5" Height="28"/>
- </DockPanel>
- <CheckBox Name="rememberMeComboBox" Content="Remember me" Margin="30" Foreground="{StaticResource DarkGray}"/>
- <Grid>
- <Button x:Name="loginButton" Style="{StaticResource ModernButton}" Content="Login" HorizontalAlignment="Left" Width="80" Height="30" Margin="10" Click="loginButton_Click"/>
- <Button x:Name="cancelButton" Style="{StaticResource ModernButton}" Click="cancelButton_Click" Content="Cancel" HorizontalAlignment="Right" Width="80" Height="30" Margin="10"/>
- </Grid>
- <Popup x:Name="chooseAdminTypePoput" AllowsTransparency="True" Focusable="True" PopupAnimation="Fade" Placement="Center" PlacementTarget="{Binding ElementName=mainPanel}">
- <Border Width="400" HorizontalAlignment="Center" VerticalAlignment="Center" BorderThickness="3" BorderBrush="{StaticResource DarkGray}" Background="White">
- <StackPanel>
-
- <TextBlock Text="FOR TESTING ONLY!" FontWeight="Bold" FontStyle="Italic" Foreground="#FFBF9000" TextAlignment="Center" FontSize="22px" Margin="10"/>
- <TextBlock Text="Which type of user would you like to log in to the system as?" Style="{StaticResource NormalText}" Margin="40, 20, 40, 5" TextAlignment="Center" TextWrapping="Wrap"/>
- <!--<Button x:Name="evnetAdminButton" Click="evnetAdminButton_Click" Content="Event Administarator" HorizontalAlignment="Center" Width="200" Height="40" Template="{StaticResource RoundButtonTemplate}" Foreground="Black" Margin="10"/>
- <Button x:Name="technicalAdminButton" Click="technicalAdminButton_Click" Content="Technical Administarator" HorizontalAlignment="Center" Width="200" Height="40" Template="{StaticResource RoundButtonTemplate}" Foreground="Black" Margin="10"/>-->
- </StackPanel>
- </Border>
- </Popup>
- </StackPanel>
- </Grid>
- </Window>
|