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