2017-09-27 18:01:21 +02:00
|
|
|
<Page
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
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"
|
2017-10-10 15:00:31 +02:00
|
|
|
xmlns:converters="using:ModernKeePass.Converters"
|
2017-12-08 19:38:33 +01:00
|
|
|
xmlns:userControls="using:ModernKeePass.Views.UserControls"
|
|
|
|
x:Class="ModernKeePass.Views.OpenDatabasePage"
|
2020-04-23 19:00:38 +02:00
|
|
|
mc:Ignorable="d"
|
|
|
|
DataContext="{Binding Source={StaticResource Locator}, Path=Open}">
|
2017-10-10 15:00:31 +02:00
|
|
|
<Page.Resources>
|
|
|
|
<converters:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
|
|
|
|
</Page.Resources>
|
2017-09-27 18:01:21 +02:00
|
|
|
|
2020-04-23 19:00:38 +02:00
|
|
|
<StackPanel Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
2020-04-29 16:39:20 +02:00
|
|
|
<HyperlinkButton x:Uid="OpenBrowseButton" Click="ButtonBase_OnClick" />
|
2017-11-28 18:53:10 +01:00
|
|
|
<TextBlock Style="{StaticResource BodyTextBlockStyle}" Margin="15,0,0,30" x:Uid="OpenBrowseDesc" />
|
2018-09-10 18:26:55 +02:00
|
|
|
<!--<HyperlinkButton x:Uid="OpenUrlButton" IsEnabled="False" Foreground="{StaticResource MainColor}" Style="{StaticResource MainColorHyperlinkButton}" />
|
|
|
|
<TextBlock Style="{StaticResource BodyTextBlockStyle}" Margin="15,0,0,30" x:Uid="OpenUrlDesc" />-->
|
2018-06-20 11:52:17 +02:00
|
|
|
<Border HorizontalAlignment="Left" BorderThickness="1" BorderBrush="AliceBlue" Width="550" Visibility="{Binding IsFileSelected, Converter={StaticResource BooleanToVisibilityConverter}}">
|
2017-10-27 16:28:13 +02:00
|
|
|
<StackPanel Margin="25,0,25,0">
|
|
|
|
<TextBlock Text="{Binding Name}" />
|
2020-04-21 17:13:39 +02:00
|
|
|
<userControls:OpenDatabaseUserControl DatabaseFilePath="{Binding Token}" />
|
2017-10-16 16:16:58 +02:00
|
|
|
</StackPanel>
|
|
|
|
</Border>
|
2017-10-01 08:48:29 -04:00
|
|
|
</StackPanel>
|
2017-10-10 15:00:31 +02:00
|
|
|
</Page>
|