2025-08-13 20:13:40 -07: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"
|
|
|
|
|
xmlns:local="clr-namespace:MercuryConverter.UI.Dialogs"
|
|
|
|
|
xmlns:progRing="clr-namespace:AvaloniaProgressRing;assembly=AvaloniaProgressRing"
|
|
|
|
|
x:Class="MercuryConverter.UI.Dialogs.DataOpen"
|
|
|
|
|
>
|
2025-08-18 00:32:10 -07:00
|
|
|
<Panel Margin="12">
|
|
|
|
|
<StackPanel Name="SelectView" IsVisible="false">
|
|
|
|
|
<TextBlock FontSize="24" FontWeight="Light" Text="select your data folder..."/>
|
|
|
|
|
<progRing:ProgressRing Foreground="{DynamicResource SystemBaseMediumColor}"
|
|
|
|
|
Width="36"
|
|
|
|
|
Height="36"
|
|
|
|
|
IsActive="True"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Margin="0,15,0,0"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Name="ScanView" IsVisible="true">
|
|
|
|
|
<TextBlock Name="ScanStatus" FontSize="24" FontWeight="Light" Text="scanning..."/>
|
|
|
|
|
<TextBlock Name="ScanPath" Text="/there/is/a/path/here or whatever it is askljdhflksahdfliuahleifhu"/>
|
|
|
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch">
|
|
|
|
|
<progRing:ProgressRing Foreground="{DynamicResource SystemBaseMediumColor}"
|
|
|
|
|
Width="36"
|
|
|
|
|
Height="36"
|
|
|
|
|
IsActive="True"
|
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
|
Margin="0,15,0,0"/>
|
|
|
|
|
<StackPanel Margin="0 12 0 0" Orientation="Horizontal" HorizontalAlignment="Right">
|
|
|
|
|
<Button Margin="6 0 0 0" Content="Cancel" />
|
|
|
|
|
<Button Margin="6 0 0 0" Content="Open Data Folder" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<!-- <StackPanel Name="SelectErrorView" IsVisible="true">
|
|
|
|
|
<TextBlock FontSize="24" FontWeight="Light" Text="couldn't fully open data folder"/>
|
|
|
|
|
<TextBlock Text="Unable to open PATH: ERROR"/>
|
|
|
|
|
<Button HorizontalAlignment="Right" Margin="0 12 0 0" Content="Open Data Folder" />
|
|
|
|
|
</StackPanel> -->
|
|
|
|
|
</Panel>
|
2025-08-13 20:13:40 -07:00
|
|
|
</UserControl>
|