Change all icons to <Path>'s with google material icons; finish navigation bar styling and function

This commit is contained in:
Rene Schwarz
2021-08-10 22:41:27 +02:00
parent 910383775b
commit c86b1bc7c4
72 changed files with 914 additions and 716 deletions

View File

@@ -0,0 +1,12 @@
<UserControl x:Class="Server_Dashboard.Views.Dashboard.AnalyticsPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:Server_Dashboard.Views.Dashboard"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid>
</Grid>
</UserControl>

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace Server_Dashboard.Views.Dashboard {
/// <summary>
/// Interaction logic for AnalyticsPage.xaml
/// </summary>
public partial class AnalyticsPage : UserControl {
public AnalyticsPage() {
InitializeComponent();
}
}
}

View File

@@ -98,7 +98,7 @@
</TextBlock>
</Grid>
</StackPanel>
<!--IP Adress-->
<!--IP Address-->
<StackPanel VerticalAlignment="Center" Grid.Row="2" Margin="20 0 20 0">
<StackPanel Orientation="Horizontal">
<TextBlock Text="IP Address" FontSize="24" Margin="0 0 0 5">
@@ -112,7 +112,7 @@
<Grid.Effect>
<DropShadowEffect Direction="0" BlurRadius="5" ShadowDepth="0" />
</Grid.Effect>
<TextBox Text="{Binding IpAddress}" Height="40" FontSize="20" />
<TextBox Text="{Binding IpAddress}" Height="40" FontSize="20" x:Name="IpAddress" />
<TextBlock VerticalAlignment="Center" HorizontalAlignment="Left" Text="sample.ssh.com" FontSize="20" Visibility="{Binding ElementName=IpAddress, Path=Text.IsEmpty, Converter={StaticResource UserNameVisibillity}}" IsHitTestVisible="False" Margin="5 0 0 0">
<TextBlock.Foreground>
<SolidColorBrush Color="White" Opacity="0.12" />
@@ -162,7 +162,7 @@
</Rectangle.Fill>
</Rectangle>
<Border CornerRadius="100" Background="{StaticResource BackgroundSurface_04dp}" Width="20" Height="20" VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="2">
<svgc:SvgViewbox IsHitTestVisible="False" Source="../../../Assets/Images/AddIcon.svg" Opacity="1" />
<svgc:SvgViewbox IsHitTestVisible="False" Source="../../../Assets/Images/AddIcon.svg" Opacity="0.87" />
</Border>
</Grid>
</Border>

View File

@@ -0,0 +1,13 @@
<UserControl
x:Class="Server_Dashboard.Views.Dashboard.SettingsPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:Server_Dashboard.Views.Dashboard"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid>
</Grid>
</UserControl>

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace Server_Dashboard.Views.Dashboard {
/// <summary>
/// Interaction logic for SettingsPage.xaml
/// </summary>
public partial class SettingsPage : UserControl {
public SettingsPage() {
InitializeComponent();
}
}
}