2020-02-02 12:36:22 +00:00
|
|
|
<reactiveUi:ReactiveUserControl x:TypeArguments="local:ManifestVM" x:Class="Wabbajack.ManifestView"
|
2020-02-01 13:42:31 +00:00
|
|
|
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:Wabbajack"
|
|
|
|
xmlns:reactiveUi="http://reactiveui.net"
|
|
|
|
mc:Ignorable="d"
|
|
|
|
d:DesignHeight="450" d:DesignWidth="800">
|
2020-02-15 14:23:30 +00:00
|
|
|
<Grid>
|
|
|
|
<ScrollViewer MouseDown="ScrollViewer_MouseDown" MouseUp="ScrollViewer_MouseUp" MouseMove="ScrollViewer_MouseMove">
|
2020-02-02 12:36:22 +00:00
|
|
|
<ScrollViewer.Resources>
|
|
|
|
<Style x:Key="HeaderStyle" TargetType="{x:Type TextBlock}">
|
|
|
|
<Setter Property="Foreground" Value="#03DAC6"/>
|
|
|
|
</Style>
|
|
|
|
<Style x:Key="HyperlinkStyle" TargetType="{x:Type Hyperlink}">
|
|
|
|
<Setter Property="Foreground" Value="#BB76FC"/>
|
|
|
|
</Style>
|
2020-02-15 15:00:39 +00:00
|
|
|
<Style x:Key="ModTitleStyle" TargetType="{x:Type TextBox}">
|
2020-02-02 12:36:22 +00:00
|
|
|
<Setter Property="Foreground" Value="#C7FC86"/>
|
2020-02-15 15:00:39 +00:00
|
|
|
<Setter Property="Background" Value="Transparent"/>
|
2020-02-02 12:36:22 +00:00
|
|
|
</Style>
|
2020-02-15 15:14:49 +00:00
|
|
|
<SolidColorBrush x:Key="SearchBarBrush" Color="White" Opacity="50"/>
|
2020-02-02 12:36:22 +00:00
|
|
|
</ScrollViewer.Resources>
|
2020-02-15 14:23:30 +00:00
|
|
|
<StackPanel Margin="8" x:Name="DynamicStackPanel">
|
2020-02-02 12:36:22 +00:00
|
|
|
<TextBlock x:Name="Name" FontSize="32" HorizontalAlignment="Center" Style="{StaticResource HeaderStyle}"/>
|
2020-02-15 15:00:39 +00:00
|
|
|
<TextBlock x:Name="Author" FontSize="14" Padding="0 12 0 3"/>
|
|
|
|
<TextBlock x:Name="Description" FontSize="18" TextWrapping="Wrap"/>
|
2020-02-01 13:42:31 +00:00
|
|
|
|
2020-02-15 15:00:39 +00:00
|
|
|
<TextBlock x:Name="InstallSize" Padding="0 24 0 0" FontSize="24"/>
|
|
|
|
<TextBlock x:Name="DownloadSize" FontSize="24" Padding="0 0 0 12"/>
|
2020-02-01 13:42:31 +00:00
|
|
|
|
2020-02-15 15:14:49 +00:00
|
|
|
<TextBlock Padding="6 0 0 0" FontSize="20" Text="Search:"/>
|
|
|
|
<TextBox x:Name="SearchBar" BorderThickness="2" BorderBrush="{StaticResource SearchBarBrush}" FontSize="16" MaxLength="100"/>
|
|
|
|
|
2020-02-19 15:43:42 +00:00
|
|
|
<StackPanel Margin="6 6 0 0" Orientation="Horizontal">
|
|
|
|
<TextBlock Padding="0 1 0 0" FontSize="14">Order by: </TextBlock>
|
|
|
|
<Button x:Name="OrderByNameButton" Padding="4 0 4 0">
|
|
|
|
<TextBlock FontSize="14">Name</TextBlock>
|
|
|
|
</Button>
|
|
|
|
<Button x:Name="OrderBySizeButton">
|
|
|
|
<TextBlock FontSize="14">Size</TextBlock>
|
|
|
|
</Button>
|
|
|
|
</StackPanel>
|
|
|
|
|
2020-02-02 12:36:22 +00:00
|
|
|
<ItemsControl Padding="0 3 0 6" x:Name="ModsList">
|
|
|
|
<ItemsControl.ItemsPanel>
|
|
|
|
<ItemsPanelTemplate>
|
|
|
|
<StackPanel/>
|
|
|
|
</ItemsPanelTemplate>
|
|
|
|
</ItemsControl.ItemsPanel>
|
2020-02-01 13:42:31 +00:00
|
|
|
|
2020-02-02 12:36:22 +00:00
|
|
|
<ItemsControl.ItemTemplate>
|
|
|
|
<DataTemplate>
|
2020-02-15 15:00:39 +00:00
|
|
|
<Grid Margin="0 6 0 6">
|
2020-02-02 12:36:22 +00:00
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="Auto"/>
|
|
|
|
<ColumnDefinition Width="Auto"/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
</Grid.RowDefinitions>
|
2020-02-15 15:00:39 +00:00
|
|
|
<TextBox Padding="6 0 0 0" Grid.Column="0" Grid.Row="0" FontSize="18" Text="{Binding Path=Name}" Style="{StaticResource ModTitleStyle}" IsReadOnly="True" BorderThickness="0"/>
|
|
|
|
<TextBlock Padding="3 0 0 0" Grid.Column="1" Grid.Row="0" FontSize="18">
|
2020-02-02 12:36:22 +00:00
|
|
|
<Hyperlink NavigateUri="{Binding Path=Name}" Style="{StaticResource HyperlinkStyle}" RequestNavigate="Hyperlink_OnRequestNavigate">Link</Hyperlink>
|
|
|
|
</TextBlock>
|
2020-02-15 15:00:39 +00:00
|
|
|
<TextBox Padding="6 0 0 0" Grid.Column="0" Grid.Row="1" FontSize="15" Text="{Binding Path=Hash}" IsReadOnly="True"/>
|
2020-02-02 12:36:22 +00:00
|
|
|
</Grid>
|
|
|
|
</DataTemplate>
|
|
|
|
</ItemsControl.ItemTemplate>
|
|
|
|
</ItemsControl>
|
|
|
|
</StackPanel>
|
2020-02-01 13:42:31 +00:00
|
|
|
</ScrollViewer>
|
2020-02-15 14:23:30 +00:00
|
|
|
<Canvas x:Name="TopLayer" IsHitTestVisible="False"/>
|
|
|
|
</Grid>
|
2020-02-01 13:42:31 +00:00
|
|
|
</reactiveUi:ReactiveUserControl>
|