mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 23:50:18 -04:00
New Save button in the AppBar EntryPage now uses the same AppBar as GroupPage (but not shared...) Some new Symbol mappings
38 lines
2.2 KiB
XML
38 lines
2.2 KiB
XML
<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"
|
|
xmlns:viewModels="using:ModernKeePass.ViewModels"
|
|
xmlns:local="using:ModernKeePass.Controls"
|
|
xmlns:converters="using:ModernKeePass.Converters"
|
|
xmlns:interactivity="using:Microsoft.Xaml.Interactivity" xmlns:Core="using:Microsoft.Xaml.Interactions.Core"
|
|
x:Class="ModernKeePass.Pages.OpenDatabasePage"
|
|
mc:Ignorable="d">
|
|
<Page.Resources>
|
|
<converters:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
|
|
</Page.Resources>
|
|
<Page.DataContext>
|
|
<viewModels:OpenVm/>
|
|
</Page.DataContext>
|
|
|
|
<StackPanel Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
|
<TextBlock Style="{StaticResource HeaderTextBlockStyle}" Margin="0,-20,0,20">Open</TextBlock>
|
|
<HyperlinkButton Content="Browse files..." Click="ButtonBase_OnClick" />
|
|
<TextBlock Style="{StaticResource BodyTextBlockStyle}" Margin="15,0,0,30">Open an existing password database from your PC.</TextBlock>
|
|
<HyperlinkButton Content="From Url..." IsEnabled="False" />
|
|
<TextBlock Style="{StaticResource BodyTextBlockStyle}" Margin="15,0,0,30">Open an existing password database from an Internet location (not yet implemented).</TextBlock>
|
|
<Border HorizontalAlignment="Left" BorderThickness="1" BorderBrush="AliceBlue" Width="550" Visibility="{Binding ShowPasswordBox, Converter={StaticResource BooleanToVisibilityConverter}}">
|
|
<StackPanel>
|
|
<TextBlock Margin="25,10,0,10" Text="{Binding Name}" />
|
|
<local:OpenDatabaseUserControl>
|
|
<interactivity:Interaction.Behaviors>
|
|
<Core:EventTriggerBehavior EventName="ValidationChecked">
|
|
<Core:NavigateToPageAction TargetPage="ModernKeePass.Pages.GroupDetailPage" />
|
|
</Core:EventTriggerBehavior>
|
|
</interactivity:Interaction.Behaviors>
|
|
</local:OpenDatabaseUserControl>
|
|
</StackPanel>
|
|
</Border>
|
|
</StackPanel>
|
|
</Page> |