wabbajack/Wabbajack.App/Screens/SettingsView.axaml

57 lines
3.2 KiB
Plaintext
Raw Normal View History

2021-09-27 12:42:46 +00:00
<UserControl xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
2021-10-21 12:57:02 +00:00
xmlns:controls="clr-namespace:Wabbajack.App.Controls"
2021-09-27 12:42:46 +00:00
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="Wabbajack.App.Screens.SettingsView">
<WrapPanel Margin="40">
2021-09-27 12:42:46 +00:00
<Border x:Name="LoginBorder" Margin="5" BorderThickness="1">
<Grid RowDefinitions="Auto, Auto, Auto, Auto" ColumnDefinitions="20, 100, Auto, Auto">
<TextBlock FontSize="20" Grid.ColumnSpan="4">Logins</TextBlock>
2021-10-23 16:51:17 +00:00
<Image Grid.Row="1" Grid.Column="0" Width="16" Height="16" Margin="4"
Source="../Assets/Downloaders/nexus.ico" HorizontalAlignment="Right" />
<TextBlock Grid.Row="1" Grid.Column="1" Text="Nexus" VerticalAlignment="Center"
HorizontalAlignment="Left" />
2021-09-27 12:42:46 +00:00
<Button Grid.Row="1" Grid.Column="2" x:Name="NexusLogIn">Log In</Button>
<Button Grid.Row="1" Grid.Column="3" x:Name="NexusLogOut">Log Out</Button>
2021-10-23 16:51:17 +00:00
<Image Grid.Row="2" Grid.Column="0" Width="16" Height="16" Margin="4"
Source="../Assets/Downloaders/loverslab.ico" HorizontalAlignment="Right" />
<TextBlock Grid.Row="2" Grid.Column="1" Text="Lovers Lab" VerticalAlignment="Center"
HorizontalAlignment="Left" />
2021-09-27 12:42:46 +00:00
<Button Grid.Row="2" Grid.Column="2" x:Name="LoversLabLogIn">Log In</Button>
<Button Grid.Row="2" Grid.Column="3" x:Name="LoversLabLogOut">Log Out</Button>
2021-10-23 16:51:17 +00:00
<Image Grid.Row="3" Grid.Column="0" Width="16" Height="16" Margin="4"
Source="../Assets/Downloaders/vectorplexus.ico" HorizontalAlignment="Right" />
<TextBlock Grid.Row="3" Grid.Column="1" Text="Vector Plexus" VerticalAlignment="Center"
HorizontalAlignment="Left" />
2021-09-27 12:42:46 +00:00
<Button Grid.Row="3" Grid.Column="2" x:Name="VectorPlexusLogIn">Log In</Button>
<Button Grid.Row="3" Grid.Column="3" x:Name="VectorPlexusLogOut">Log Out</Button>
2021-10-23 16:51:17 +00:00
2021-09-27 12:42:46 +00:00
</Grid>
</Border>
2021-10-23 16:51:17 +00:00
2021-10-21 12:57:02 +00:00
<Border x:Name="ResourcesBorder" Margin="5" BorderThickness="1">
<Grid RowDefinitions="Auto, Auto">
<TextBlock FontSize="20" Grid.ColumnSpan="4">Resource Limits</TextBlock>
2021-10-23 16:51:17 +00:00
2021-10-21 12:57:02 +00:00
<ItemsControl Grid.Row="1" x:Name="ResourceList">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
2021-10-23 16:51:17 +00:00
<StackPanel Orientation="Vertical" />
2021-10-21 12:57:02 +00:00
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
<ItemsControl.ItemTemplate>
<DataTemplate>
2021-10-23 16:51:17 +00:00
<controls:ResourceView />
2021-10-21 12:57:02 +00:00
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
2021-10-23 16:51:17 +00:00
2021-10-21 12:57:02 +00:00
</Grid>
</Border>
2021-09-27 12:42:46 +00:00
</WrapPanel>
2021-10-23 16:51:17 +00:00
</UserControl>