mirror of
https://github.com/aaru-dps/Aaru.git
synced 2026-07-08 17:56:18 +00:00
82 lines
4.6 KiB
Plaintext
82 lines
4.6 KiB
Plaintext
|
|
<!--
|
|||
|
|
// /***************************************************************************
|
|||
|
|
// Aaru Data Preservation Suite
|
|||
|
|
// ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
|
|||
|
|
//
|
|||
|
|
// Filename : ArchiveInfo.xaml
|
|||
|
|
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
|||
|
|
//
|
|||
|
|
// Component : GUI panel.
|
|||
|
|
//
|
|||
|
|
// ‐‐[ Description ] ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
|
|||
|
|
//
|
|||
|
|
// Archive information panel.
|
|||
|
|
//
|
|||
|
|
// ‐‐[ License ] ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
|
|||
|
|
//
|
|||
|
|
// This program is free software: you can redistribute it and/or modify
|
|||
|
|
// it under the terms of the GNU General public License as
|
|||
|
|
// published by the Free Software Foundation, either version 3 of the
|
|||
|
|
// License, or (at your option) any later version.
|
|||
|
|
//
|
|||
|
|
// This program is distributed in the hope that it will be useful,
|
|||
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|||
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|||
|
|
// GNU General public License for more details.
|
|||
|
|
//
|
|||
|
|
// You should have received a copy of the GNU General public License
|
|||
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
|
//
|
|||
|
|
// ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
|
|||
|
|
// Copyright © 2011-2026 Natalia Portillo
|
|||
|
|
// ****************************************************************************/
|
|||
|
|
-->
|
|||
|
|
<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:panels="clr-namespace:Aaru.Gui.ViewModels.Panels"
|
|||
|
|
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
|||
|
|
xmlns:controls="clr-namespace:Aaru.Gui.Controls"
|
|||
|
|
mc:Ignorable="d"
|
|||
|
|
d:DesignWidth="800"
|
|||
|
|
d:DesignHeight="450"
|
|||
|
|
x:DataType="panels:ArchiveInfoViewModel"
|
|||
|
|
x:Class="Aaru.Gui.Views.Panels.ArchiveInfo">
|
|||
|
|
<Grid RowDefinitions="Auto,*"
|
|||
|
|
Margin="12"
|
|||
|
|
RowSpacing="8">
|
|||
|
|
<StackPanel Grid.Row="0"
|
|||
|
|
Spacing="8">
|
|||
|
|
<controls:SpectreTextBlock FontWeight="Bold"
|
|||
|
|
Text="{x:Static localization:UI.Title_Archive_information}" />
|
|||
|
|
<controls:SpectreTextBlock Text="{Binding ArchivePathText, Mode=OneWay}"
|
|||
|
|
TextWrapping="Wrap" />
|
|||
|
|
<controls:SpectreTextBlock Text="{Binding FilterText, Mode=OneWay}"
|
|||
|
|
TextWrapping="Wrap" />
|
|||
|
|
<controls:SpectreTextBlock Text="{Binding PluginText, Mode=OneWay}"
|
|||
|
|
TextWrapping="Wrap" />
|
|||
|
|
<controls:SpectreTextBlock Text="{Binding PluginIdText, Mode=OneWay}"
|
|||
|
|
TextWrapping="Wrap" />
|
|||
|
|
<controls:SpectreTextBlock Text="{Binding NumberOfEntriesText, Mode=OneWay}"
|
|||
|
|
TextWrapping="Wrap" />
|
|||
|
|
<controls:SpectreTextBlock Text="{Binding FeaturesText, Mode=OneWay}"
|
|||
|
|
TextWrapping="Wrap" />
|
|||
|
|
</StackPanel>
|
|||
|
|
<Border Grid.Row="1"
|
|||
|
|
BorderThickness="1"
|
|||
|
|
BorderBrush="{DynamicResource SystemControlForegroundBaseMediumLowBrush}"
|
|||
|
|
CornerRadius="8"
|
|||
|
|
IsVisible="{Binding !!InformationText, Mode=OneWay}">
|
|||
|
|
<StackPanel Spacing="8"
|
|||
|
|
Margin="12">
|
|||
|
|
<controls:SpectreTextBlock FontWeight="Bold"
|
|||
|
|
Text="{x:Static localization:UI.Title_Details}" />
|
|||
|
|
<ScrollViewer>
|
|||
|
|
<controls:SpectreTextBlock Text="{Binding InformationText, Mode=OneWay}"
|
|||
|
|
TextWrapping="Wrap" />
|
|||
|
|
</ScrollViewer>
|
|||
|
|
</StackPanel>
|
|||
|
|
</Border>
|
|||
|
|
</Grid>
|
|||
|
|
</UserControl>
|