94 lines
6.1 KiB
XML
94 lines
6.1 KiB
XML
<local:MyPageRight
|
|||
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
|
|
xmlns:local="clr-namespace:PCL" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||
|
|
mc:Ignorable="d" x:Class="PCL.PageInstanceSaves"
|
||
|
|
PanScroll="{Binding ElementName=PanBack}" Grid.IsSharedSizeScope="True">
|
||
|
|
<local:MyScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled" x:Name="PanBack">
|
||
|
|
<Grid>
|
||
|
|
<local:MyCard HorizontalAlignment="Center" VerticalAlignment="Center" Margin="40" x:Name="PanNoWorld">
|
||
|
|
<Grid Margin="20,17">
|
||
|
|
<Grid.RowDefinitions>
|
||
|
|
<RowDefinition Height="Auto" />
|
||
|
|
<RowDefinition Height="Auto" />
|
||
|
|
<RowDefinition Height="Auto" />
|
||
|
|
<RowDefinition Height="Auto" />
|
||
|
|
</Grid.RowDefinitions>
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition Width="1*" />
|
||
|
|
<ColumnDefinition Width="Auto" />
|
||
|
|
<ColumnDefinition Width="Auto" />
|
||
|
|
<ColumnDefinition Width="Auto" />
|
||
|
|
<ColumnDefinition Width="1*" />
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
<TextBlock Grid.Row="0" Grid.ColumnSpan="4" Margin="0,0,0,9" HorizontalAlignment="Center"
|
||
|
|
Text="{DynamicResource Instance.Saves.Empty.Title}" FontSize="19"
|
||
|
|
UseLayoutRounding="True" SnapsToDevicePixels="True"
|
||
|
|
Foreground="{DynamicResource ColorBrush3}" />
|
||
|
|
<Rectangle Grid.Row="1" Grid.ColumnSpan="4" HorizontalAlignment="Stretch" Height="2"
|
||
|
|
Fill="{DynamicResource ColorBrush3}" />
|
||
|
|
<TextBlock Grid.Row="2" Grid.ColumnSpan="4" Margin="10,15,10,5"
|
||
|
|
Text="{DynamicResource Instance.Saves.Empty.Message}"
|
||
|
|
TextWrapping="Wrap" HorizontalAlignment="Center" />
|
||
|
|
<local:MyButton Grid.Row="3" Grid.Column="1" Height="35" HorizontalAlignment="Center"
|
||
|
|
Click="BtnOpenFolder_Click"
|
||
|
|
MinWidth="140" Text="{DynamicResource Instance.Saves.OpenFolder}"
|
||
|
|
Margin="10,10,10,0"
|
||
|
|
Padding="13,0" ColorType="Highlight" />
|
||
|
|
<local:MyButton Grid.Row="3" Grid.Column="2" Height="35" HorizontalAlignment="Center"
|
||
|
|
Click="BtnDownloadNew_Click"
|
||
|
|
MinWidth="140" Text="{DynamicResource Instance.Resource.DownloadNew}"
|
||
|
|
Margin="10,10,10,0"
|
||
|
|
Padding="13,0" />
|
||
|
|
<local:MyButton Grid.Row="3" Grid.Column="3" Height="35" HorizontalAlignment="Center"
|
||
|
|
Click="BtnPaste_Click"
|
||
|
|
MinWidth="140" Text="{DynamicResource Instance.Saves.PasteFile}"
|
||
|
|
Margin="10,10,10,0"
|
||
|
|
Padding="13,0" />
|
||
|
|
|
||
|
|
</Grid>
|
||
|
|
</local:MyCard>
|
||
|
|
<StackPanel Orientation="Vertical" Margin="25,10,25,10" x:Name="PanContent">
|
||
|
|
|
||
|
|
<local:MySearchBox Margin="0,15" HintText="{DynamicResource Instance.Saves.SearchHint}"
|
||
|
|
x:Name="SearchBox" />
|
||
|
|
|
||
|
|
<local:MyCard Margin="0,0,0,15" Title="{DynamicResource Instance.Saves.QuickActions}">
|
||
|
|
<Grid Height="35" Margin="25,40,15,20">
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition Width="Auto" SharedSizeGroup="Button" />
|
||
|
|
<ColumnDefinition Width="Auto" SharedSizeGroup="Button" />
|
||
|
|
<ColumnDefinition Width="Auto" SharedSizeGroup="Button" />
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
<local:MyButton Grid.Column="0" MinWidth="140"
|
||
|
|
Text="{DynamicResource Instance.Saves.OpenFolder}" Padding="13,0"
|
||
|
|
Margin="0,0,20,0" Click="BtnOpenFolder_Click"
|
||
|
|
HorizontalAlignment="Left" ColorType="Highlight" />
|
||
|
|
<local:MyButton Grid.Column="1" MinWidth="140"
|
||
|
|
Text="{DynamicResource Instance.Resource.DownloadNew}" Padding="13,0"
|
||
|
|
Margin="0,0,20,0" Click="BtnDownloadNew_Click"
|
||
|
|
HorizontalAlignment="Left" />
|
||
|
|
<local:MyButton Grid.Column="2" MinWidth="140"
|
||
|
|
Text="{DynamicResource Instance.Saves.PasteFile}" Padding="13,0"
|
||
|
|
Margin="0,0,20,0" Click="BtnPaste_Click"
|
||
|
|
HorizontalAlignment="Left" />
|
||
|
|
</Grid>
|
||
|
|
</local:MyCard>
|
||
|
|
|
||
|
|
<local:MyCard Margin="0,0,0,15" x:Name="PanListBack" VerticalAlignment="Top"
|
||
|
|
Title="{DynamicResource Instance.Saves.ListTitle}"
|
||
|
|
MinHeight="55">
|
||
|
|
<Grid>
|
||
|
|
<StackPanel Margin="0,13,15,0" Orientation="Horizontal" VerticalAlignment="Top"
|
||
|
|
HorizontalAlignment="Right" Height="28">
|
||
|
|
<local:MyIconTextButton x:Name="BtnSort" Text="{DynamicResource Instance.Saves.SortBy}"
|
||
|
|
SvgIcon="lucide/arrow-up-down" />
|
||
|
|
</StackPanel>
|
||
|
|
</Grid>
|
||
|
|
<StackPanel Margin="20,48,18,22" Name="PanList" VerticalAlignment="Top" />
|
||
|
|
</local:MyCard>
|
||
|
|
</StackPanel>
|
||
|
|
</Grid>
|
||
|
|
</local:MyScrollViewer>
|
||
|
|
</local:MyPageRight>
|