<?xml version="1.0" encoding="utf-8"?>
<Page
    x:Class="AppControlManager.Pages.SystemInformation"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:AppControlManager.Pages"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:ui="using:CommunityToolkit.WinUI"
    xmlns:win="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:controls="using:CommunityToolkit.WinUI.Controls"
    mc:Ignorable="d">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <controls:WrapPanel Grid.Row="0" VerticalSpacing="4" HorizontalSpacing="4" Orientation="Horizontal" Margin="5,0,0,5">

            <TextBlock
TextWrapping="WrapWholeWords"
Style="{StaticResource BodyTextBlockStyle}">

<Span>
    View detailed information about
        <Run Foreground="{ThemeResource SystemAccentColor}">the Deployed policies</Run>
   and <Bold>Code Integrity</Bold> on the system.

</Span>
            </TextBlock>

            <HyperlinkButton Margin="0,-6,0,0" Content="Guide" NavigateUri="https://github.com/HotCakeX/Harden-Windows-Security/wiki/System-Information" />

        </controls:WrapPanel>

        <NavigationView Grid.Row="1" x:Name="SystemInformationNavigation"
                        PaneDisplayMode="Top"
                        IsTabStop="True"
                        SelectionChanged="NavigationView_SelectionChanged"
                        IsSettingsVisible="False"
                        IsBackButtonVisible="Collapsed">


            <!-- Prevent the NavigationView from setting a default background for the content in the frame -->
            <NavigationView.Resources>
                <SolidColorBrush x:Key="NavigationViewContentBackground" Color="Transparent" />
            </NavigationView.Resources>

            <NavigationView.MenuItems>
                <NavigationViewItem Content="Currently Deployed Policies" ToolTipService.ToolTip="View the currently deployed policies on the system" Tag="ViewCurrentPolicies" >
                    <NavigationViewItem.Icon>
                        <FontIcon Glyph="&#xE83D;" />
                    </NavigationViewItem.Icon>
                </NavigationViewItem>


                <NavigationViewItem Content="Code Integrity Information" ToolTipService.ToolTip="View Code Integrity Informaton of the syste," Tag="CodeIntegrityInfo" >
                <NavigationViewItem.Icon>
                        <FontIcon Glyph="&#xE964;" />
                </NavigationViewItem.Icon>
                </NavigationViewItem>

            </NavigationView.MenuItems>

            <!-- Global margin settings for every page -->
            <Frame x:Name="ContentFrame" Margin="15,5,15,10"/>
        </NavigationView>

    </Grid>
</Page>
