feat/Log-Information #1

Merged
alexhoang merged 2 commits from feat/Log-Information into dev 2024-10-25 04:53:50 +00:00
5 changed files with 44 additions and 1 deletions
Showing only changes of commit 535451e59b - Show all commits

View File

@ -194,6 +194,9 @@
<Compile Include="Pages\CategoriesManagement\CategoriesViewPage.xaml.cs">
<DependentUpon>CategoriesViewPage.xaml</DependentUpon>
</Compile>
<Compile Include="Pages\Logs\LogInformationPage.xaml.cs">
<DependentUpon>LogInformationPage.xaml</DependentUpon>
</Compile>
<Compile Include="Pages\UserGuide\UserGuidePage.xaml.cs">
<DependentUpon>UserGuidePage.xaml</DependentUpon>
</Compile>
@ -361,6 +364,10 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Pages\Logs\LogInformationPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Pages\UserGuide\UserGuidePage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>

View File

@ -29,6 +29,7 @@
<NavigationViewItem Icon="Document" Content="Categories" x:Name="Categories" Tag="Categories" Background="{ThemeResource SystemAccentColor}"/>
<NavigationViewItem Icon="Folder" Content="Files" x:Name="Files" Tag="Files" Background="{ThemeResource SystemAccentColor}"/>
<NavigationViewItem Icon="People" Content="Users" x:Name="Users" Tag="Users" Background="{ThemeResource SystemAccentColor}"/>
<NavigationViewItem Icon="Folder" Content="Logs" x:Name="Logs" Tag="Logs" Background="{ThemeResource SystemAccentColor}"/>
</NavigationView.MenuItems>
<Frame x:Name="ContentFrame"/>

View File

@ -1,4 +1,5 @@
using System;
using PCUT.Pages.Logs;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
@ -53,6 +54,9 @@ namespace PCUT.Pages
case "Users":
ContentFrame.Navigate(typeof(UserListPage));
break;
case "Logs":
ContentFrame.Navigate(typeof(LogInformationPage));
break;
}
sender.IsPaneOpen = true;
}

View File

@ -0,0 +1,14 @@
<Page
x:Class="PCUT.Pages.Logs.LogInformationPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:PCUT.Pages.UserGuide"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Grid>
</Grid>
</Page>

View File

@ -0,0 +1,17 @@
using Windows.UI.Xaml.Controls;
// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238
namespace PCUT.Pages.Logs
{
/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
/// </summary>
public sealed partial class LogInformationPage : Page
{
public LogInformationPage()
{
this.InitializeComponent();
}
}
}