Added links to about page
This commit is contained in:
parent
3bc1107b0f
commit
6f5d87fb18
@ -55,6 +55,9 @@
|
|||||||
<Reference Include="MahApps.Metro, Version=1.6.5.1, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="MahApps.Metro, Version=1.6.5.1, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\MahApps.Metro.1.6.5\lib\net46\MahApps.Metro.dll</HintPath>
|
<HintPath>..\packages\MahApps.Metro.1.6.5\lib\net46\MahApps.Metro.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="MahApps.Metro.IconPacks.FontAwesome, Version=2.3.0.4, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\MahApps.Metro.IconPacks.FontAwesome.2.3.0\lib\net46\MahApps.Metro.IconPacks.FontAwesome.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="Markdig, Version=0.15.4.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Markdig, Version=0.15.4.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Markdig.0.15.4\lib\net40\Markdig.dll</HintPath>
|
<HintPath>..\packages\Markdig.0.15.4\lib\net40\Markdig.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:local="clr-namespace:DerpingDrivers"
|
xmlns:local="clr-namespace:DerpingDrivers"
|
||||||
xmlns:controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
|
xmlns:controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
|
||||||
|
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Title="Derping Drivers - Windows driver compatibility detection tool"
|
Title="Derping Drivers - Windows driver compatibility detection tool"
|
||||||
Height="400" Width="700"
|
Height="400" Width="700"
|
||||||
@ -76,17 +77,44 @@
|
|||||||
<TabItem Header="About">
|
<TabItem Header="About">
|
||||||
<Grid>
|
<Grid>
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition Height="Auto" />
|
||||||
<RowDefinition Height="Auto" />
|
<RowDefinition Height="Auto" />
|
||||||
<RowDefinition Height="*" />
|
<RowDefinition Height="*" />
|
||||||
</Grid.RowDefinitions>
|
</Grid.RowDefinitions>
|
||||||
|
|
||||||
<Label Grid.Row="0">Made by Benjamin Höglinger-Stelzer</Label>
|
<Label Grid.Row="0">Made by Benjamin Höglinger-Stelzer</Label>
|
||||||
<DockPanel Grid.Row="1">
|
<Grid Grid.Row="1">
|
||||||
<Label>Web:</Label>
|
<Grid.ColumnDefinitions>
|
||||||
<Label><Hyperlink
|
<ColumnDefinition Width="Auto" />
|
||||||
RequestNavigate="Web_OnRequestNavigate"
|
<ColumnDefinition Width="Auto" />
|
||||||
NavigateUri="https://vigem.org">https://vigem.org</Hyperlink></Label>
|
<ColumnDefinition Width="Auto" />
|
||||||
</DockPanel>
|
<ColumnDefinition Width="*" />
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
|
||||||
|
<Button Grid.Column="0"
|
||||||
|
Margin="10"
|
||||||
|
Width="64" Height="64"
|
||||||
|
Style="{DynamicResource MetroCircleButtonStyle}"
|
||||||
|
Content="{iconPacks:FontAwesome Kind=WordpressBrands, Width=32, Height=32}"
|
||||||
|
ToolTip="Visit home page"
|
||||||
|
Click="Web_OnClick"/>
|
||||||
|
|
||||||
|
<Button Grid.Column="1"
|
||||||
|
Margin="10"
|
||||||
|
Width="64" Height="64"
|
||||||
|
Style="{DynamicResource MetroCircleButtonStyle}"
|
||||||
|
Content="{iconPacks:FontAwesome Kind=DiscordBrands, Width=32, Height=32}"
|
||||||
|
ToolTip="Join Discord server"
|
||||||
|
Click="Discord_OnClick"/>
|
||||||
|
|
||||||
|
<Button Grid.Column="2"
|
||||||
|
Margin="10"
|
||||||
|
Width="64" Height="64"
|
||||||
|
Style="{DynamicResource MetroCircleButtonStyle}"
|
||||||
|
Content="{iconPacks:FontAwesome Kind=NodeJsBrands, Width=32, Height=32}"
|
||||||
|
ToolTip="Visit community forums"
|
||||||
|
Click="Forums_OnClick"/>
|
||||||
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
</TabItem>
|
</TabItem>
|
||||||
</TabControl>
|
</TabControl>
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using System.Windows;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Navigation;
|
|
||||||
using System.Xaml;
|
using System.Xaml;
|
||||||
using DerpingDrivers.Util;
|
using DerpingDrivers.Util;
|
||||||
using MahApps.Metro.Controls;
|
using MahApps.Metro.Controls;
|
||||||
@ -58,16 +58,16 @@ namespace DerpingDrivers
|
|||||||
public string OsUpgradeStatus =>
|
public string OsUpgradeStatus =>
|
||||||
OsUpgradeDetection.IsGrandfathered ? "In-place upgraded" : "Clean installation";
|
OsUpgradeDetection.IsGrandfathered ? "In-place upgraded" : "Clean installation";
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets test-mode status.
|
||||||
|
/// </summary>
|
||||||
public string TestSigningStatus => CodeIntegrityHelper.IsTestSignEnabled ? "Enabled" : "Disabled";
|
public string TestSigningStatus => CodeIntegrityHelper.IsTestSignEnabled ? "Enabled" : "Disabled";
|
||||||
|
|
||||||
public string SummaryText =>
|
|
||||||
"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.";
|
|
||||||
|
|
||||||
public FlowDocument SummaryDocument
|
public FlowDocument SummaryDocument
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
var markdown = "*None available*";
|
var markdown = "🔥 *None available*";
|
||||||
|
|
||||||
// Convert Markdown to XAML
|
// Convert Markdown to XAML
|
||||||
var xaml = Markdown.ToXaml(markdown, BuildPipeline());
|
var xaml = Markdown.ToXaml(markdown, BuildPipeline());
|
||||||
@ -91,9 +91,19 @@ namespace DerpingDrivers
|
|||||||
.Build();
|
.Build();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Web_OnRequestNavigate(object sender, RequestNavigateEventArgs e)
|
private void Web_OnClick(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
Process.Start(e.Uri.ToString());
|
Process.Start("https://vigem.org");
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Discord_OnClick(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
Process.Start("https://discord.vigem.org");
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Forums_OnClick(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
Process.Start("https://forums.vigem.org");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
<package id="Costura.Fody" version="3.1.6" targetFramework="net461" />
|
<package id="Costura.Fody" version="3.1.6" targetFramework="net461" />
|
||||||
<package id="Fody" version="3.2.13" targetFramework="net461" developmentDependency="true" />
|
<package id="Fody" version="3.2.13" targetFramework="net461" developmentDependency="true" />
|
||||||
<package id="MahApps.Metro" version="1.6.5" targetFramework="net461" />
|
<package id="MahApps.Metro" version="1.6.5" targetFramework="net461" />
|
||||||
|
<package id="MahApps.Metro.IconPacks.FontAwesome" version="2.3.0" targetFramework="net461" />
|
||||||
<package id="Markdig" version="0.15.4" targetFramework="net461" />
|
<package id="Markdig" version="0.15.4" targetFramework="net461" />
|
||||||
<package id="Markdig.Wpf" version="0.2.5" targetFramework="net461" />
|
<package id="Markdig.Wpf" version="0.2.5" targetFramework="net461" />
|
||||||
<package id="PInvoke.Kernel32" version="0.5.155" targetFramework="net461" />
|
<package id="PInvoke.Kernel32" version="0.5.155" targetFramework="net461" />
|
||||||
|
Loading…
Reference in New Issue
Block a user