diff --git a/.vs/Server Dashboard/DesignTimeBuild/.dtbcache.v2 b/.vs/Server Dashboard/DesignTimeBuild/.dtbcache.v2 index c888bd6..c62a0d1 100644 Binary files a/.vs/Server Dashboard/DesignTimeBuild/.dtbcache.v2 and b/.vs/Server Dashboard/DesignTimeBuild/.dtbcache.v2 differ diff --git a/.vs/Server Dashboard/v16/.suo b/.vs/Server Dashboard/v16/.suo index 2fb4c50..5b84373 100644 Binary files a/.vs/Server Dashboard/v16/.suo and b/.vs/Server Dashboard/v16/.suo differ diff --git a/Mockup/DashboardWindow.drawio b/Mockup/DashboardWindow.drawio new file mode 100644 index 0000000..97c896e --- /dev/null +++ b/Mockup/DashboardWindow.drawio @@ -0,0 +1 @@ +7Vpdb6M4FP01eWwENgT6mM+Zh5mdlbLS7lvlgBOsEszYziTtr18bTMKHySQpNJU6jVTg2hhzzvG9vjcZwOn28IWhNPpOQxwPgBUeBnA2AABYIyAPyvKSW2x75OSWDSOhtp0MS/KKtdHS1h0JMa90FJTGgqRVY0CTBAeiYkOM0X2125rG1aemaIMbhmWA4qb1XxKKKLf6wDvZv2KyicTx/R7zli0qOus34REK6b5kgvMBnDJKRX62PUxxrNArcMnvW7S0HifGcCIuueHXjyc+8fZ/OZ6foh+WReHr/kGP8gvFO/3CerLipUCA0V0SYjWINYCTfUQEXqYoUK17Sbq0RWIbyytbnq5pIqY0piy7F66zP2UncVyyO647lkKAEy4YfcalFsuaLMbusaXAXKI12cSIcz0N/oxFEBUXBbLqQr8QZgIfWpGyj/hL5WK6xYK9yC76BkczpjULCwb3JwHYwNLGqMS+XxiRVt3mOPaJGHmiubmCJ9AxT1XcE5pgBTBDIcG/J1B37wDpOtSOZYDaMkHtgb6ghgaoR7HQ4s5cTQHP6OdOrV6JBFz56lM2lbgpjGqAB575uLHsIJE6lO8YbdTxv+Jxcvb5E3P7Gxfm2QVYLDPVM8WMSCQxU4ORZFMsMpNiOpDAaSWdWW6OQQGwLwE4HQmgoC2/l6couV0UTyVR5CNVR/8kWrG9D6YVtxe/XIbYiGWNIdcZzb1xP8HPNQY/u4mx2xfGow+BMRhBAP1eMDZFPeP+or+g593k8yxrtUZu01tNGUYCy7sSvJf/Z4hHK4pYeL23sq+lE5xhrn2z2QGnbo1T27BufAOnvS0bv1NKZzjGGaXosxLq3ZvQx04JnYdEfFIqXXhvKgvn0M7lb/eJtl/dJ7bsStfq02R/iZlE9Bb+JQviglwSxWSTyMsYr1V3RR8JUDzW5i0JQzWiUUDVaN49/xC4l/HfW7gFJv5rQPMIpeqUbLMSVRnxOpqCpiXrN7TC8d+UE0Goal1RIehWdohVwwQFz5sMYVOanz1szNO8lKbgR8XFmhwUJxM9n1kkhKrBjRUSYBGEiTUkAU3WRHLHhoF8IliESMh4sVB2Lo+Yc8kYQTFXzmxhAxmjFk9PSyyETB74gzQMU5VF1CRQKfC0l4GuqCX1U86o68xt6syUnTi9ycxU3rslZFyYtmb+peZpJjjZiVfMErTF7xRj2oVgoL1wVCznoyqvsu4qWlPT18Vq0JGTsq1RTT4jQ5jy3jO7Bab09p31M6MB/8i6CSS9MpLeUTiP9aKI6w+9pucxBTgIhm5f2rkgbTeEtNbg1cD7gmhmjpMXEe9biwaRodwrlWNSFp63h4366mtIKPeyAMiHO55NsBrDWsOWQVv38i7wXZ1LVzWHW2uqX4j4ulv98S3nZOP7H9K3mGobb+Lrig1mZRtZQ7y+mWiyDh8n8zrrHVdwQS0eOIZ097j6K+lOfxvRZu3iH8zVGj8mot9puJPcvTHdPK6YNyScl4mhTn3tm++Jrz7tYUrPO2+lTKZM58vP0HM8Z3FngdygD3l5+olD1lb6pQic/w8= \ No newline at end of file diff --git a/Server Dashboard/App.xaml b/Server Dashboard/App.xaml index e4da259..fd68c7c 100644 --- a/Server Dashboard/App.xaml +++ b/Server Dashboard/App.xaml @@ -2,9 +2,14 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:Server_Dashboard" + xmlns:views="clr-namespace:Server_Dashboard.Views.DashboardPages" StartupUri="LoginWindow.xaml"> + + + + @@ -14,12 +19,21 @@ - + + + + + + + + + + @@ -148,5 +162,35 @@ + + + diff --git a/Server Dashboard/Assets/Images/Docs.png b/Server Dashboard/Assets/Images/Docs.png new file mode 100644 index 0000000..0828a73 Binary files /dev/null and b/Server Dashboard/Assets/Images/Docs.png differ diff --git a/Server Dashboard/Assets/Images/DocsLight.png b/Server Dashboard/Assets/Images/DocsLight.png new file mode 100644 index 0000000..5c4570c Binary files /dev/null and b/Server Dashboard/Assets/Images/DocsLight.png differ diff --git a/Server Dashboard/Assets/Images/GitHub-Mark.zip b/Server Dashboard/Assets/Images/GitHub-Mark.zip new file mode 100644 index 0000000..2edd9b5 Binary files /dev/null and b/Server Dashboard/Assets/Images/GitHub-Mark.zip differ diff --git a/Server Dashboard/Assets/Images/GitHub.png b/Server Dashboard/Assets/Images/GitHub.png new file mode 100644 index 0000000..ea6ff54 Binary files /dev/null and b/Server Dashboard/Assets/Images/GitHub.png differ diff --git a/Server Dashboard/Assets/Images/GitHubLight.png b/Server Dashboard/Assets/Images/GitHubLight.png new file mode 100644 index 0000000..192846a Binary files /dev/null and b/Server Dashboard/Assets/Images/GitHubLight.png differ diff --git a/Server Dashboard/Assets/Images/GreenSettings.png b/Server Dashboard/Assets/Images/GreenSettings.png new file mode 100644 index 0000000..d89bd5f Binary files /dev/null and b/Server Dashboard/Assets/Images/GreenSettings.png differ diff --git a/Server Dashboard/Assets/Images/Settings.png b/Server Dashboard/Assets/Images/Settings.png new file mode 100644 index 0000000..ed5e077 Binary files /dev/null and b/Server Dashboard/Assets/Images/Settings.png differ diff --git a/Server Dashboard/Assets/Images/Settings.svg b/Server Dashboard/Assets/Images/Settings.svg new file mode 100644 index 0000000..1094280 --- /dev/null +++ b/Server Dashboard/Assets/Images/Settings.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Server Dashboard/Assets/Images/SettingsLight.png b/Server Dashboard/Assets/Images/SettingsLight.png new file mode 100644 index 0000000..e536b33 Binary files /dev/null and b/Server Dashboard/Assets/Images/SettingsLight.png differ diff --git a/Server Dashboard/Assets/Images/User.png b/Server Dashboard/Assets/Images/User.png new file mode 100644 index 0000000..387ecbf Binary files /dev/null and b/Server Dashboard/Assets/Images/User.png differ diff --git a/Server Dashboard/Assets/Images/UserLight.png b/Server Dashboard/Assets/Images/UserLight.png new file mode 100644 index 0000000..2065464 Binary files /dev/null and b/Server Dashboard/Assets/Images/UserLight.png differ diff --git a/Server Dashboard/AttachedProperty/BaseAttachedProperty.cs b/Server Dashboard/AttachedProperty/BaseAttachedProperty.cs index 55ae5e3..da0b4b1 100644 --- a/Server Dashboard/AttachedProperty/BaseAttachedProperty.cs +++ b/Server Dashboard/AttachedProperty/BaseAttachedProperty.cs @@ -16,5 +16,6 @@ namespace Server_Dashboard { public static Property GetValue(DependencyObject d) => (Property)d.GetValue(ValueProperty); public static void SetValue(DependencyObject d, Property value) => d.SetValue(ValueProperty, value); public virtual void OnValueChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) { } + public virtual void OnClose(DependencyObject sender, DependencyPropertyChangedEventArgs e) { } } } diff --git a/Server Dashboard/AttachedProperty/PasswordBoxProperties.cs b/Server Dashboard/AttachedProperty/PasswordBoxProperties.cs index c564c2d..ea9c7ef 100644 --- a/Server Dashboard/AttachedProperty/PasswordBoxProperties.cs +++ b/Server Dashboard/AttachedProperty/PasswordBoxProperties.cs @@ -27,4 +27,17 @@ namespace Server_Dashboard { SetValue(sender, ((PasswordBox)sender).SecurePassword.Length < 1); } } + public class CloseProperty : BaseAttachedProperty { + public override void OnValueChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) { + if(sender is Window window) { + window.Loaded += (s, e) => { + if(window.DataContext is IWindowHelper wh) { + wh.Close += () => { + window.Close(); + }; + } + }; + } + } + } } diff --git a/Server Dashboard/LoginWindow.xaml b/Server Dashboard/LoginWindow.xaml index 827960b..29b87ad 100644 --- a/Server Dashboard/LoginWindow.xaml +++ b/Server Dashboard/LoginWindow.xaml @@ -7,7 +7,7 @@ xmlns:local="clr-namespace:Server_Dashboard" x:Name="Login" mc:Ignorable="d" - Title="Server Dashboard" Height="700" Width="500" WindowStyle="None" ResizeMode="NoResize" Background="Transparent" AllowsTransparency="True"> + Title="Server Dashboard" Height="700" Width="500" WindowStyle="None" ResizeMode="NoResize" Background="Transparent" AllowsTransparency="True" local:CloseProperty.Value="True"> diff --git a/Server Dashboard/Server Dashboard.csproj b/Server Dashboard/Server Dashboard.csproj index b6f17d8..f170ea0 100644 --- a/Server Dashboard/Server Dashboard.csproj +++ b/Server Dashboard/Server Dashboard.csproj @@ -8,6 +8,17 @@ + + + + + + + + + + + @@ -18,12 +29,19 @@ + + + + + + + + + + + - - - - diff --git a/Server Dashboard/Server Dashboard.csproj.user b/Server Dashboard/Server Dashboard.csproj.user index 7011a87..909262d 100644 --- a/Server Dashboard/Server Dashboard.csproj.user +++ b/Server Dashboard/Server Dashboard.csproj.user @@ -6,9 +6,23 @@ Designer + + + Code + + + Code + + Designer + + Designer + + + Designer + \ No newline at end of file diff --git a/Server Dashboard/ViewModels/MainViewModel.cs b/Server Dashboard/ViewModels/DashboardViewModel.cs similarity index 69% rename from Server Dashboard/ViewModels/MainViewModel.cs rename to Server Dashboard/ViewModels/DashboardViewModel.cs index 275e1dd..df387d6 100644 --- a/Server Dashboard/ViewModels/MainViewModel.cs +++ b/Server Dashboard/ViewModels/DashboardViewModel.cs @@ -3,6 +3,6 @@ using System.Collections.Generic; using System.Text; namespace Server_Dashboard { - class MainViewModel : BaseViewModel { + class DashboardViewModel : BaseViewModel { } } diff --git a/Server Dashboard/ViewModels/Interfaces/IWindowHelper.cs b/Server Dashboard/ViewModels/Interfaces/IWindowHelper.cs new file mode 100644 index 0000000..15cf65a --- /dev/null +++ b/Server Dashboard/ViewModels/Interfaces/IWindowHelper.cs @@ -0,0 +1,9 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Server_Dashboard { + interface IWindowHelper { + Action Close { get; set; } + } +} diff --git a/Server Dashboard/ViewModels/LoginViewModel.cs b/Server Dashboard/ViewModels/LoginViewModel.cs index 752146c..bd34dec 100644 --- a/Server Dashboard/ViewModels/LoginViewModel.cs +++ b/Server Dashboard/ViewModels/LoginViewModel.cs @@ -1,11 +1,12 @@ -using System; +using Server_Dashboard.Views; +using System; using System.Collections.Generic; using System.Security; using System.Text; using System.Windows.Input; namespace Server_Dashboard { - class LoginViewModel : BaseViewModel { + class LoginViewModel : BaseViewModel, IWindowHelper { private string username; @@ -28,7 +29,7 @@ namespace Server_Dashboard { OnPropertyChanged(nameof(errorText)); } } - + public Action Close { get ; set; } public LoginViewModel() { LoginCommand = new RelayCommand(Login); @@ -39,7 +40,10 @@ namespace Server_Dashboard { private void Login(object parameter) { if (!String.IsNullOrWhiteSpace(Username) && !String.IsNullOrWhiteSpace((parameter as IHavePassword).SecurePassword.Unsecure())) { if (DatabaseHandler.CheckLogin(Username, (parameter as IHavePassword).SecurePassword.Unsecure())) { - Console.WriteLine(); + DashboardWindow window = new DashboardWindow(); + window.DataContext = new DashboardViewModel(); + window.Show(); + Close?.Invoke(); } else { ErrorText = "Username or password is wrong."; return; diff --git a/Server Dashboard/Views/DashboardPages/MainDashboardPage.xaml b/Server Dashboard/Views/DashboardPages/MainDashboardPage.xaml new file mode 100644 index 0000000..cf7ebff --- /dev/null +++ b/Server Dashboard/Views/DashboardPages/MainDashboardPage.xaml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/Server Dashboard/Views/DashboardPages/MainDashboardPage.xaml.cs b/Server Dashboard/Views/DashboardPages/MainDashboardPage.xaml.cs new file mode 100644 index 0000000..e5c3780 --- /dev/null +++ b/Server Dashboard/Views/DashboardPages/MainDashboardPage.xaml.cs @@ -0,0 +1,23 @@ +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.DashboardPages { + /// + /// Interaktionslogik für MainDashboardPage.xaml + /// + public partial class MainDashboardPage : UserControl { + public MainDashboardPage() { + InitializeComponent(); + } + } +} diff --git a/Server Dashboard/Views/DashboardWindow.xaml b/Server Dashboard/Views/DashboardWindow.xaml new file mode 100644 index 0000000..0f110d6 --- /dev/null +++ b/Server Dashboard/Views/DashboardWindow.xaml @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Server Dashboard/Views/DashboardWindow.xaml.cs b/Server Dashboard/Views/DashboardWindow.xaml.cs new file mode 100644 index 0000000..2a143f8 --- /dev/null +++ b/Server Dashboard/Views/DashboardWindow.xaml.cs @@ -0,0 +1,28 @@ +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.Shapes; + +namespace Server_Dashboard.Views { + /// + /// Interaktionslogik für DashboardWindow.xaml + /// + public partial class DashboardWindow : Window { + public DashboardWindow() { + InitializeComponent(); + } + + private void Grid_Loaded(object sender, RoutedEventArgs e) { + foreach(Button b in TopBarGrid.Children) { + //b.Template.FindName("TopBarButtonImage") + } + } + } +} diff --git a/Server Dashboard/bin/Debug/netcoreapp3.1/Server Dashboard.dll b/Server Dashboard/bin/Debug/netcoreapp3.1/Server Dashboard.dll index f985fb4..c035c7c 100644 Binary files a/Server Dashboard/bin/Debug/netcoreapp3.1/Server Dashboard.dll and b/Server Dashboard/bin/Debug/netcoreapp3.1/Server Dashboard.dll differ diff --git a/Server Dashboard/bin/Debug/netcoreapp3.1/Server Dashboard.pdb b/Server Dashboard/bin/Debug/netcoreapp3.1/Server Dashboard.pdb index 4a22dd2..0a92b24 100644 Binary files a/Server Dashboard/bin/Debug/netcoreapp3.1/Server Dashboard.pdb and b/Server Dashboard/bin/Debug/netcoreapp3.1/Server Dashboard.pdb differ diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/App.baml b/Server Dashboard/obj/Debug/netcoreapp3.1/App.baml index 5b0e056..907c040 100644 Binary files a/Server Dashboard/obj/Debug/netcoreapp3.1/App.baml and b/Server Dashboard/obj/Debug/netcoreapp3.1/App.baml differ diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/App.g.cs b/Server Dashboard/obj/Debug/netcoreapp3.1/App.g.cs index d5a0004..172d0be 100644 --- a/Server Dashboard/obj/Debug/netcoreapp3.1/App.g.cs +++ b/Server Dashboard/obj/Debug/netcoreapp3.1/App.g.cs @@ -1,4 +1,4 @@ -#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "74B190EC288932EF98E3D09F645AFA4D89DB749F" +#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3790BF7AC1FEBCA7C1BFE24826CAAF97064FFBB9" //------------------------------------------------------------------------------ // // Dieser Code wurde von einem Tool generiert. @@ -10,6 +10,7 @@ //------------------------------------------------------------------------------ using Server_Dashboard; +using Server_Dashboard.Views.DashboardPages; using System; using System.Diagnostics; using System.Windows; @@ -54,7 +55,7 @@ namespace Server_Dashboard { } _contentLoaded = true; - #line 5 "..\..\..\App.xaml" + #line 6 "..\..\..\App.xaml" this.StartupUri = new System.Uri("LoginWindow.xaml", System.UriKind.Relative); #line default diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/App.g.i.cs b/Server Dashboard/obj/Debug/netcoreapp3.1/App.g.i.cs index d5a0004..172d0be 100644 --- a/Server Dashboard/obj/Debug/netcoreapp3.1/App.g.i.cs +++ b/Server Dashboard/obj/Debug/netcoreapp3.1/App.g.i.cs @@ -1,4 +1,4 @@ -#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "74B190EC288932EF98E3D09F645AFA4D89DB749F" +#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3790BF7AC1FEBCA7C1BFE24826CAAF97064FFBB9" //------------------------------------------------------------------------------ // // Dieser Code wurde von einem Tool generiert. @@ -10,6 +10,7 @@ //------------------------------------------------------------------------------ using Server_Dashboard; +using Server_Dashboard.Views.DashboardPages; using System; using System.Diagnostics; using System.Windows; @@ -54,7 +55,7 @@ namespace Server_Dashboard { } _contentLoaded = true; - #line 5 "..\..\..\App.xaml" + #line 6 "..\..\..\App.xaml" this.StartupUri = new System.Uri("LoginWindow.xaml", System.UriKind.Relative); #line default diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/LoginWindow.baml b/Server Dashboard/obj/Debug/netcoreapp3.1/LoginWindow.baml index e95a321..9781c99 100644 Binary files a/Server Dashboard/obj/Debug/netcoreapp3.1/LoginWindow.baml and b/Server Dashboard/obj/Debug/netcoreapp3.1/LoginWindow.baml differ diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/LoginWindow.g.cs b/Server Dashboard/obj/Debug/netcoreapp3.1/LoginWindow.g.cs index ac3aca8..e70a9fe 100644 --- a/Server Dashboard/obj/Debug/netcoreapp3.1/LoginWindow.g.cs +++ b/Server Dashboard/obj/Debug/netcoreapp3.1/LoginWindow.g.cs @@ -1,4 +1,4 @@ -#pragma checksum "..\..\..\LoginWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "DF7FEA542AE21C1D71DCD21AA55E8BDD50DAC57A" +#pragma checksum "..\..\..\LoginWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "74C5CF69344AA8A08D7DBBF27D061122BEA1AF03" //------------------------------------------------------------------------------ // // Dieser Code wurde von einem Tool generiert. diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/LoginWindow.g.i.cs b/Server Dashboard/obj/Debug/netcoreapp3.1/LoginWindow.g.i.cs index ac3aca8..e70a9fe 100644 --- a/Server Dashboard/obj/Debug/netcoreapp3.1/LoginWindow.g.i.cs +++ b/Server Dashboard/obj/Debug/netcoreapp3.1/LoginWindow.g.i.cs @@ -1,4 +1,4 @@ -#pragma checksum "..\..\..\LoginWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "DF7FEA542AE21C1D71DCD21AA55E8BDD50DAC57A" +#pragma checksum "..\..\..\LoginWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "74C5CF69344AA8A08D7DBBF27D061122BEA1AF03" //------------------------------------------------------------------------------ // // Dieser Code wurde von einem Tool generiert. diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.csproj.CoreCompileInputs.cache b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.csproj.CoreCompileInputs.cache index 6aca5f1..5794e51 100644 --- a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.csproj.CoreCompileInputs.cache +++ b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -f1717d53be58eb9a59391431391201bfbf17cc09 +ece89445e697cb1e50fd0317657da76f7cb79821 diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.csproj.FileListAbsolute.txt b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.csproj.FileListAbsolute.txt index b0c5963..d04b338 100644 --- a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.csproj.FileListAbsolute.txt +++ b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.csproj.FileListAbsolute.txt @@ -28,3 +28,7 @@ C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\obj\Debug\netcor C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\bin\Debug\netcoreapp3.1\Microsoft.Xaml.Behaviors.dll C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\obj\Debug\netcoreapp3.1\GeneratedInternalTypeHelper.g.cs C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\bin\Debug\netcoreapp3.1\Server Dashboard.dll.config +C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\obj\Debug\netcoreapp3.1\Views\DashboardPages\MainDashboardPage.g.cs +C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\obj\Debug\netcoreapp3.1\Views\DashboardWindow.g.cs +C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\obj\Debug\netcoreapp3.1\Views\DashboardPages\MainDashboardPage.baml +C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\obj\Debug\netcoreapp3.1\Views\DashboardWindow.baml diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.dll b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.dll index f985fb4..c035c7c 100644 Binary files a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.dll and b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.dll differ diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.g.resources b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.g.resources index 047bf85..2db4516 100644 Binary files a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.g.resources and b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.g.resources differ diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.pdb b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.pdb index 4a22dd2..0a92b24 100644 Binary files a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.pdb and b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard.pdb differ diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.cache b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.cache index 9e79acf..85c9a6c 100644 --- a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.cache +++ b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.cache @@ -10,11 +10,11 @@ none false TRACE;DEBUG;NETCOREAPP;NETCOREAPP3_1; C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\App.xaml -1-1623698816 +3-1865200846 -151761447773 +18-516599902 194-1159729825 -LoginWindow.xaml; +LoginWindow.xaml;Views\DashboardPages\MainDashboardPage.xaml;Views\DashboardWindow.xaml; False diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.i.cache b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.i.cache index 45bcbc1..c966032 100644 --- a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.i.cache +++ b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.i.cache @@ -10,11 +10,11 @@ none false TRACE;DEBUG;NETCOREAPP;NETCOREAPP3_1; C:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\App.xaml -1-1623698816 +3-1865200846 -17162120503 +20-2115927172 194-1159729825 -LoginWindow.xaml; +LoginWindow.xaml;Views\DashboardPages\MainDashboardPage.xaml;Views\DashboardWindow.xaml; False diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.lref b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.lref index d65a5fc..b03792e 100644 --- a/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.lref +++ b/Server Dashboard/obj/Debug/netcoreapp3.1/Server Dashboard_MarkupCompile.lref @@ -1,4 +1,6 @@  FC:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\App.xaml;; FC:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\LoginWindow.xaml;; +FC:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\Views\DashboardPages\MainDashboardPage.xaml;; +FC:\Users\Crylia\Documents\Git\Server Dashboard\Server Dashboard\Views\DashboardWindow.xaml;; diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Views/DashboardPages/MainDashboardPage.baml b/Server Dashboard/obj/Debug/netcoreapp3.1/Views/DashboardPages/MainDashboardPage.baml new file mode 100644 index 0000000..91a30ec Binary files /dev/null and b/Server Dashboard/obj/Debug/netcoreapp3.1/Views/DashboardPages/MainDashboardPage.baml differ diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Views/DashboardPages/MainDashboardPage.g.cs b/Server Dashboard/obj/Debug/netcoreapp3.1/Views/DashboardPages/MainDashboardPage.g.cs new file mode 100644 index 0000000..e98acf5 --- /dev/null +++ b/Server Dashboard/obj/Debug/netcoreapp3.1/Views/DashboardPages/MainDashboardPage.g.cs @@ -0,0 +1,81 @@ +#pragma checksum "..\..\..\..\..\Views\DashboardPages\MainDashboardPage.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4DCD8A1EBF9A7C22FF951DCD1B8475DB5518FEB1" +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using Microsoft.Xaml.Behaviors; +using Microsoft.Xaml.Behaviors.Core; +using Microsoft.Xaml.Behaviors.Input; +using Microsoft.Xaml.Behaviors.Layout; +using Microsoft.Xaml.Behaviors.Media; +using Server_Dashboard.Views.DashboardPages; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace Server_Dashboard.Views.DashboardPages { + + + /// + /// MainDashboardPage + /// + public partial class MainDashboardPage : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.4.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/Server Dashboard;component/views/dashboardpages/maindashboardpage.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\..\Views\DashboardPages\MainDashboardPage.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.4.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + this._contentLoaded = true; + } + } +} + diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Views/DashboardPages/MainDashboardPage.g.i.cs b/Server Dashboard/obj/Debug/netcoreapp3.1/Views/DashboardPages/MainDashboardPage.g.i.cs new file mode 100644 index 0000000..e98acf5 --- /dev/null +++ b/Server Dashboard/obj/Debug/netcoreapp3.1/Views/DashboardPages/MainDashboardPage.g.i.cs @@ -0,0 +1,81 @@ +#pragma checksum "..\..\..\..\..\Views\DashboardPages\MainDashboardPage.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4DCD8A1EBF9A7C22FF951DCD1B8475DB5518FEB1" +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using Microsoft.Xaml.Behaviors; +using Microsoft.Xaml.Behaviors.Core; +using Microsoft.Xaml.Behaviors.Input; +using Microsoft.Xaml.Behaviors.Layout; +using Microsoft.Xaml.Behaviors.Media; +using Server_Dashboard.Views.DashboardPages; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace Server_Dashboard.Views.DashboardPages { + + + /// + /// MainDashboardPage + /// + public partial class MainDashboardPage : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.4.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/Server Dashboard;component/views/dashboardpages/maindashboardpage.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\..\Views\DashboardPages\MainDashboardPage.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.4.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + this._contentLoaded = true; + } + } +} + diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Views/DashboardWindow.baml b/Server Dashboard/obj/Debug/netcoreapp3.1/Views/DashboardWindow.baml new file mode 100644 index 0000000..3327fec Binary files /dev/null and b/Server Dashboard/obj/Debug/netcoreapp3.1/Views/DashboardWindow.baml differ diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Views/DashboardWindow.g.cs b/Server Dashboard/obj/Debug/netcoreapp3.1/Views/DashboardWindow.g.cs new file mode 100644 index 0000000..dc7332f --- /dev/null +++ b/Server Dashboard/obj/Debug/netcoreapp3.1/Views/DashboardWindow.g.cs @@ -0,0 +1,103 @@ +#pragma checksum "..\..\..\..\Views\DashboardWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "CC63E1C662A7F2A9701079FC72F6D396960480BA" +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using Microsoft.Xaml.Behaviors; +using Microsoft.Xaml.Behaviors.Core; +using Microsoft.Xaml.Behaviors.Input; +using Microsoft.Xaml.Behaviors.Layout; +using Microsoft.Xaml.Behaviors.Media; +using Server_Dashboard; +using Server_Dashboard.Views; +using Server_Dashboard.Views.DashboardPages; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace Server_Dashboard.Views { + + + /// + /// DashboardWindow + /// + public partial class DashboardWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 38 "..\..\..\..\Views\DashboardWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Grid TopBarGrid; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.4.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/Server Dashboard;component/views/dashboardwindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\Views\DashboardWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.4.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.TopBarGrid = ((System.Windows.Controls.Grid)(target)); + + #line 38 "..\..\..\..\Views\DashboardWindow.xaml" + this.TopBarGrid.Loaded += new System.Windows.RoutedEventHandler(this.Grid_Loaded); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/Server Dashboard/obj/Debug/netcoreapp3.1/Views/DashboardWindow.g.i.cs b/Server Dashboard/obj/Debug/netcoreapp3.1/Views/DashboardWindow.g.i.cs new file mode 100644 index 0000000..dc7332f --- /dev/null +++ b/Server Dashboard/obj/Debug/netcoreapp3.1/Views/DashboardWindow.g.i.cs @@ -0,0 +1,103 @@ +#pragma checksum "..\..\..\..\Views\DashboardWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "CC63E1C662A7F2A9701079FC72F6D396960480BA" +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using Microsoft.Xaml.Behaviors; +using Microsoft.Xaml.Behaviors.Core; +using Microsoft.Xaml.Behaviors.Input; +using Microsoft.Xaml.Behaviors.Layout; +using Microsoft.Xaml.Behaviors.Media; +using Server_Dashboard; +using Server_Dashboard.Views; +using Server_Dashboard.Views.DashboardPages; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Controls.Ribbon; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace Server_Dashboard.Views { + + + /// + /// DashboardWindow + /// + public partial class DashboardWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 38 "..\..\..\..\Views\DashboardWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Grid TopBarGrid; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.4.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/Server Dashboard;component/views/dashboardwindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\..\Views\DashboardWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "5.0.4.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.TopBarGrid = ((System.Windows.Controls.Grid)(target)); + + #line 38 "..\..\..\..\Views\DashboardWindow.xaml" + this.TopBarGrid.Loaded += new System.Windows.RoutedEventHandler(this.Grid_Loaded); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} +