add logo instead of text in RepositoryWindow

This commit is contained in:
2026-03-27 13:06:16 +03:00
parent 60186be2f3
commit 3b8b7217a1

View File

@@ -16,26 +16,22 @@
<DataTemplate DataType="{x:Type vm:UnlockedRepositoryViewModel}"> <DataTemplate DataType="{x:Type vm:UnlockedRepositoryViewModel}">
<Grid> <Grid>
<!-- Синий левый край --> <!-- Синий левый край -->
<Border Width="200" <Border Width="224"
Background="#2328C4" Background="#2A2ABB"
HorizontalAlignment="Left" HorizontalAlignment="Left"
VerticalAlignment="Stretch"/> VerticalAlignment="Stretch">
<StackPanel Margin="20" HorizontalAlignment="Left"> <StackPanel Margin="20" HorizontalAlignment="Left">
<!-- Надпись KeyKeeper --> <Svg Path="/Assets/logo_en.svg"
<TextBlock Text="KeyKeeper" Stretch="Uniform" />
FontSize="32"
FontWeight="Bold"
HorizontalAlignment="Left"
Margin="0,0,0,20"/>
<!-- Таймер блокировки под надписью KeyKeeper --> <!-- Таймер блокировки под надписью KeyKeeper -->
<Border Background="#CC000000" <Border Background="#CC000000"
CornerRadius="6" CornerRadius="6"
Padding="8,4" Padding="8,4"
HorizontalAlignment="Left" HorizontalAlignment="Left"
Margin="0,0,0,12" Margin="0,12,0,12"
IsVisible="{Binding $parent[Window].DataContext.LockTimerDisplay, IsVisible="{Binding $parent[Window].DataContext.LockTimerDisplay,
Converter={x:Static StringConverters.IsNotNullOrEmpty}}"> Converter={x:Static StringConverters.IsNotNullOrEmpty}}">
@@ -96,11 +92,12 @@
HorizontalAlignment="Left" HorizontalAlignment="Left"
Margin="0,20,0,0"/> Margin="0,20,0,0"/>
</StackPanel> </StackPanel>
</Border>
<!-- ListBox с паролями --> <!-- ListBox с паролями -->
<ListBox x:Name="PasswordsListBox" <ListBox x:Name="PasswordsListBox"
Width="580" Width="580"
Margin="210 10 10 10" Margin="286 10 10 10"
ItemsSource="{Binding Passwords}" ItemsSource="{Binding Passwords}"
Background="Transparent" Background="Transparent"
SelectionMode="Single"> SelectionMode="Single">