CollabVMDesktopClient/CollabVMClient/Views/MainWindow.axaml
Elijah 08e5821df4 - add turns and vm control
- remove vlc since it doesnt work and takes up like 200mb
- enforce light mode temporarily since dark mode breaks everything
2023-08-29 13:39:51 -04:00

39 lines
1.5 KiB
XML

<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vm="using:CollabVMClient.ViewModels"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:av="clr-namespace:TheArtOfDev.HtmlRenderer.Avalonia;assembly=Avalonia.HtmlRenderer"
xmlns:views="clr-namespace:CollabVMClient.Views"
mc:Ignorable="d" d:DesignWidth="400" d:DesignHeight="800"
x:Class="CollabVMClient.Views.MainWindow"
Icon="/Assets/avalonia-logo.ico"
Title="CollabVM - Server List"
Width="400" Height="800" CanResize="False"
Foreground="Black" Background="White">
<Window.Styles>
</Window.Styles>
<StackPanel Orientation="Vertical">
<DockPanel>
<Menu DockPanel.Dock="Top">
<MenuItem Header="_CollabVM">
<MenuItem Name="refresh" Header="Refresh" Command="{Binding RefreshList}"/>
<MenuItem Name="addServer" Header="Add Server" Command="{Binding AddServer}"/>
<MenuItem Name="directConnect" Header="Direct Connect"/>
<MenuItem Name="settings" Header="Settings"/>
<MenuItem Header="Exit" Name="exit"/>
</MenuItem>
</Menu>
</DockPanel>
<ScrollViewer Height="750">
<ItemsControl ItemsSource="{Binding Nodes}" Classes="nodelist">
<ItemsControl.ItemTemplate>
<DataTemplate>
<views:CVMNode/>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</ScrollViewer>
</StackPanel>
</Window>