Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Quantumzhao committed Oct 13, 2019
1 parent c7527fa commit 577cf2b
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 16 deletions.
4 changes: 2 additions & 2 deletions CourseSelection/CourseSelection.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
<WebPage>publish.htm</WebPage>
<TrustUrlParameters>true</TrustUrlParameters>
<ApplicationRevision>1</ApplicationRevision>
<ApplicationVersion>2.0.0.%2a</ApplicationVersion>
<ApplicationRevision>3</ApplicationRevision>
<ApplicationVersion>2.0.1.%2a</ApplicationVersion>
<UseApplicationTrust>true</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
<BootstrapperEnabled>true</BootstrapperEnabled>
Expand Down
9 changes: 6 additions & 3 deletions CourseSelection/Pages/About.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,21 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:CourseSelection.Pages"
mc:Ignorable="d"
xmlns:mui="http://firstfloorsoftware.com/ModernUI"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid VerticalAlignment="Top">
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
</Grid.RowDefinitions>
<TextBlock Text="About" Style="{StaticResource ResourceKey=Heading1}" Grid.Row="0" Margin="0,0,0,5"/>
<TextBlock Text="Contact Information" Style="{StaticResource ResourceKey=Heading2}" Grid.Row="1" Margin="0,0,0,5"/>
<TextBlock Text="Email: " Style="{StaticResource ResourceKey=Emphasis}" Grid.Row="2" HorizontalAlignment="Left" VerticalAlignment="Center"/>
<TextBlock Text="yishanzh@terpmail.umd.edu" Grid.Row="1" HorizontalAlignment="Left" Margin="34,27,0,0.5" Grid.RowSpan="2" VerticalAlignment="Center"/>
<mui:BBCodeBlock BBCode="[b]Email: [/b]yishanzh@terpmail.umd.edu" Grid.Row="2" HorizontalAlignment="Left" VerticalAlignment="Center"/>
<mui:BBCodeBlock BBCode="[b]Github: [/b][url=https://github.com/Quantumzhao/CourseSelection]Course Selection[/url]" Grid.Row="3" HorizontalAlignment="Left" VerticalAlignment="Center"/>
<mui:BBCodeBlock BBCode="Feel free to give any feedback on GitHub [i]issue[/i] page" Grid.Row="4"/>
</Grid>
</UserControl>
20 changes: 10 additions & 10 deletions CourseSelection/Pages/MainUI.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,26 +102,26 @@
<mui:ModernToggleButton
x:Name="MUIB_NoInstructors"
Grid.Column="0"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Margin="0"
Grid.Row="4"
HorizontalAlignment="Left"
VerticalAlignment="Top"
IconData="{StaticResource ResourceKey=Person}"
IsEnabled="True"
Content="Exclude These Instructors:"
Checked="MUIB_NoInstructors_Checked"
Unchecked="MUIB_NoInstructors_Unchecked"
IsVisibleChanged="MUIB_NoInstructors_IsVisibleChanged">
</mui:ModernToggleButton>
<mui:ModernToggleButton x:Name="MUIB_NoTime"
Grid.Row="4"
<mui:ModernToggleButton
x:Name="MUIB_NoTime"
Grid.Column="1"
Grid.Row="4"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Margin="0"
VerticalAlignment="Top"
IconData="{StaticResource ResourceKey=Clock}"
IsEnabled="True"
Content="Exclude These Time Periods:" Unchecked="MUIB_NoTime_Unchecked" Checked="MUIB_NoTime_Checked" IsVisibleChanged="MUIB_NoTime_IsVisibleChanged"/>
Content="Exclude These Time Periods:"
Checked="MUIB_NoTime_Checked"
Unchecked="MUIB_NoTime_Unchecked"
IsVisibleChanged="MUIB_NoTime_IsVisibleChanged"/>
<StackPanel x:Name="AcademicYearPanel"
Orientation="Horizontal"
Grid.Column="0"
Expand Down
2 changes: 1 addition & 1 deletion CourseSelection/Pages/MainUI.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ private void MUIB_NoTime_IsVisibleChanged(object sender, DependencyPropertyChang
{
if (!(bool)e.NewValue)
{
MUIB_NoTime.Visibility = Visibility.Collapsed;
LB_NoTime.Visibility = Visibility.Collapsed;
}
}

Expand Down

0 comments on commit 577cf2b

Please sign in to comment.