Skip to content

Commit

Permalink
Student Database UI
Browse files Browse the repository at this point in the history
  • Loading branch information
PP-Namias committed May 25, 2024
1 parent 97913df commit d3a68d8
Show file tree
Hide file tree
Showing 36 changed files with 1,018 additions and 358 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,9 @@ private void btnConfirm_Click(object sender, RoutedEventArgs e)
var studentAttendance = new Students_Attendance()
{
Name = txtName.Text,
Course = txtClass.Text,
Year = txtClass.Text,
Section = txtClass.Text,
Course = txtCourse.Text,
Year = txtYear.Text,
Section = txtSection.Text,
StudentId = txtStudentId.Text,
Status = "Present",
Archived = false,
Expand Down
34 changes: 17 additions & 17 deletions StudentAttendanceManagementSystem/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
<Grid MouseDown="Border_MouseDown">
<Grid.Background>
<LinearGradientBrush StartPoint="0.1,0" EndPoint="0.9,1">
<GradientStop Color="#093A3E" Offset="1"/>
<GradientStop Color="#3AAFB9" Offset="0"/>
<GradientStop Color="#3C2A21" Offset="1"/>
<GradientStop Color="#D5CEA3" Offset="0"/>
</LinearGradientBrush>
</Grid.Background>
<Border Height="390" VerticalAlignment="Top" CornerRadius="0 0 180 0" Background="#001011" MouseDown="Border_MouseDown">
<Border Height="390" VerticalAlignment="Top" CornerRadius="0 0 180 0" Background="#1A120B" MouseDown="Border_MouseDown">
</Border>
<StackPanel Orientation="Horizontal">
<StackPanel Width="400">
Expand Down Expand Up @@ -62,56 +62,56 @@

<StackPanel Orientation="Horizontal" Margin="10" >
<materialDesign:PackIcon Kind="User" Width="25" Height="25" Foreground="White" />
<TextBox x:Name="txtUsername" Margin="10 0" materialDesign:HintAssist.Hint="Enter Username" Foreground="White" Width="250" BorderBrush="White" CaretBrush="#093A3E" SelectionBrush="#093A3E" Background="#00000000" FontFamily="Century" />
<TextBox x:Name="txtUsername" Margin="10 0" materialDesign:HintAssist.Hint="Enter Username" Foreground="White" Width="250" BorderBrush="White" CaretBrush="#3C2A21" SelectionBrush="#3C2A21" Background="#00000000" FontFamily="Century" />
</StackPanel>


<StackPanel Orientation="Horizontal" Margin="10" Width="380" >
<materialDesign:PackIcon Kind="Lock" Width="25" Height="25" Foreground="White" />

<TextBox x:Name="txtPasswordTextBox" Margin="10 0" Width="0" Visibility="Hidden" TabIndex="1" materialDesign:HintAssist.Hint="Enter Password" Foreground="White" BorderBrush="White" CaretBrush="#093A3E" SelectionBrush="#093A3E" Background="#00000000" FontFamily="Century" />
<TextBox x:Name="txtPasswordTextBox" Margin="10 0" Width="0" Visibility="Hidden" TabIndex="1" materialDesign:HintAssist.Hint="Enter Password" Foreground="White" BorderBrush="White" CaretBrush="#3C2A21" SelectionBrush="#3C2A21" Background="#00000000" FontFamily="Century" />

<PasswordBox x:Name="txtPassword" Margin="-10 0" Width="250" TabIndex="2" materialDesign:HintAssist.Hint="Enter Password" Foreground="White" BorderBrush="White" CaretBrush="#093A3E" SelectionBrush="#093A3E" Password="" FontFamily="Century"/>
<PasswordBox x:Name="txtPassword" Margin="-10 0" Width="250" TabIndex="2" materialDesign:HintAssist.Hint="Enter Password" Foreground="White" BorderBrush="White" CaretBrush="#3C2A21" SelectionBrush="#3C2A21" Password="" FontFamily="Century"/>


</StackPanel>

<Button Style="{StaticResource MaterialDesignFloatingActionButton}" Background="#FF001011"
ToolTip="Show/Hide Password" x:Name="btnShowPassword" Click="btnShowPassword_Click" BorderBrush="#FF3AAFB9" Width="30" Height="30" Margin="280,-50,0,0">
ToolTip="Show/Hide Password" x:Name="btnShowPassword" Click="btnShowPassword_Click" BorderBrush="#FFD5CEA3" Width="30" Height="30" Margin="280,-50,0,0">
<materialDesign:PackIcon x:Name="iconShowPassword" Kind="Hide" Foreground="White" Width="18" Height="18" />
</Button>

<!--Login page-->
<StackPanel Margin="20 35 150 40" HorizontalAlignment="Center" >
<Button Width="100" Height="35" Style="{StaticResource MaterialDesignRaisedButton}"
materialDesign:ButtonAssist.CornerRadius="10" BorderThickness="2" BorderBrush="#093A3E" FontFamily="Century"
Background="#093A3E" Foreground="White" ToolTip="Login" x:Name="btnLogin" Click="btnLogin_Click" Content="Login"/>
materialDesign:ButtonAssist.CornerRadius="10" BorderThickness="2" BorderBrush="#3C2A21" FontFamily="Century"
Background="#3C2A21" Foreground="White" ToolTip="Login" x:Name="btnLogin" Click="btnLogin_Click" Content="Login"/>
</StackPanel>


<!--Register-->
<StackPanel Margin="130 -74 0 34" HorizontalAlignment="Center">
<Button Width="100" Height="35" Style="{StaticResource MaterialDesignRaisedButton}"
materialDesign:ButtonAssist.CornerRadius="10" BorderThickness="2" BorderBrush="#093A3E" FontFamily="Century"
Background="#093A3E" Foreground="White" ToolTip="Registration" x:Name="btnRegister"
materialDesign:ButtonAssist.CornerRadius="10" BorderThickness="2" BorderBrush="#3C2A21" FontFamily="Century"
Background="#3C2A21" Foreground="White" ToolTip="Registration" x:Name="btnRegister"
Click="btnRegister_Click" Content="Register">
</Button>
</StackPanel>


<StackPanel Margin="0,0,0,10" HorizontalAlignment="Center">
<Button Width="125" Height="35" Style="{StaticResource MaterialDesignRaisedButton}"
materialDesign:ButtonAssist.CornerRadius="10" BorderThickness="2" BorderBrush="#093A3E" FontFamily="Century"
Background="#093A3E" Foreground="White" ToolTip="MainMenu1" x:Name="btnMainMenu1"
materialDesign:ButtonAssist.CornerRadius="10" BorderThickness="2" BorderBrush="#3C2A21" FontFamily="Century"
Background="#3C2A21" Foreground="White" ToolTip="MainMenu1" x:Name="btnMainMenu1"
Click="btnMainMenu1_Click" Content="Main Menu 1">
</Button>
</StackPanel>


<StackPanel Margin="0 0 0 0" HorizontalAlignment="Center">
<Button Width="125" Height="35" Style="{StaticResource MaterialDesignRaisedButton}"
materialDesign:ButtonAssist.CornerRadius="10" BorderThickness="2" BorderBrush="#093A3E" FontFamily="Century"
Background="#093A3E" Foreground="White" ToolTip="MainMenu2" x:Name="btnMainMenu2"
materialDesign:ButtonAssist.CornerRadius="10" BorderThickness="2" BorderBrush="#3C2A21" FontFamily="Century"
Background="#3C2A21" Foreground="White" ToolTip="MainMenu2" x:Name="btnMainMenu2"
Click="btnMainMenu2_Click" Content="Main Menu 2">

</Button>
Expand All @@ -122,11 +122,11 @@
</StackPanel>
<StackPanel Margin="-100,-380, 0, 0" Width="145" Orientation="Horizontal" VerticalAlignment="Center">
<Button Margin="20 30" Style="{StaticResource MaterialDesignFloatingActionButton}" Background="{x:Null}"
ToolTip="Minimize" x:Name="btnMinimize" Click="btnMinimize_Click" BorderBrush="#FF3AAFB9" Width="35" Height="35">
ToolTip="Minimize" x:Name="btnMinimize" Click="btnMinimize_Click" BorderBrush="#FFD5CEA3" Width="35" Height="35">
<materialDesign:PackIcon Kind="Minimize" Foreground="White" Width="20" Height="20" />
</Button>
<Button Margin="0 20" Style="{StaticResource MaterialDesignFloatingActionButton}" Background="{x:Null}"
ToolTip="Close" x:Name="btnExit" Click="btnExit_Click" BorderBrush="#FF3AAFB9" Width="35" Height="35">
ToolTip="Close" x:Name="btnExit" Click="btnExit_Click" BorderBrush="#FFD5CEA3" Width="35" Height="35">
<materialDesign:PackIcon Kind="Close" Foreground="White" Width="20" Height="20" />
</Button>
</StackPanel>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@
<Compile Include="StudentRecord.xaml.cs">
<DependentUpon>StudentRecord.xaml</DependentUpon>
</Compile>
<Compile Include="StudentsDatabase.xaml.cs">
<DependentUpon>StudentsDatabase.xaml</DependentUpon>
</Compile>
<Compile Include="SystemAdministration.xaml.cs">
<DependentUpon>SystemAdministration.xaml</DependentUpon>
</Compile>
Expand Down Expand Up @@ -228,6 +231,10 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="StudentsDatabase.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="SystemAdministration.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
Expand Down
Loading

0 comments on commit d3a68d8

Please sign in to comment.