Files
Aaru/Aaru.Gui/Views/Panels/FileSystem.xaml

88 lines
4.7 KiB
Plaintext
Raw Normal View History

2020-04-17 21:45:50 +01:00
<!--
// /***************************************************************************
// Aaru Data Preservation Suite
//
//
// Filename : FileSystem.xaml
// Author(s) : Natalia Portillo <claunia@claunia.com>
//
// Component : GUI panel.
//
// [ Description ]
//
// Filesystem 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/>.
//
//
2024-05-01 04:17:32 +01:00
// Copyright © 2011-2024 Natalia Portillo
2020-04-17 21:45:50 +01:00
// ****************************************************************************/
-->
2024-05-01 04:05:22 +01:00
<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"
2024-05-01 04:05:22 +01:00
xmlns:panels="clr-namespace:Aaru.Gui.ViewModels.Panels"
mc:Ignorable="d"
d:DesignWidth="800"
d:DesignHeight="450"
x:Class="Aaru.Gui.Views.Panels.FileSystem">
<Design.DataContext>
2020-04-16 20:40:25 +01:00
<panels:FileSystemViewModel />
</Design.DataContext>
<StackPanel>
<TextBlock Text="{Binding TypeText}" />
2024-05-01 04:05:22 +01:00
<TextBlock Text="{Binding VolumeNameText}"
IsVisible="{Binding !!VolumeNameText}" />
<TextBlock Text="{Binding SerialNumberText}"
IsVisible="{Binding !!VolumeNameText}" />
<TextBlock Text="{Binding ApplicationIdentifierText}"
IsVisible="{Binding !!VolumeNameText}" />
<TextBlock Text="{Binding SystemIdentifierText}"
IsVisible="{Binding !!VolumeNameText}" />
<TextBlock Text="{Binding VolumeSetIdentifierText}"
IsVisible="{Binding !!VolumeNameText}" />
<TextBlock Text="{Binding DataPreparerIdentifierText}"
IsVisible="{Binding !!VolumeNameText}" />
<TextBlock Text="{Binding PublisherIdentifierText}"
IsVisible="{Binding !!VolumeNameText}" />
<TextBlock Text="{Binding CreationDateText}"
IsVisible="{Binding CreationDateVisible}" />
<TextBlock Text="{Binding EffectiveDateText}"
IsVisible="{Binding EffectiveDateVisible}" />
<TextBlock Text="{Binding ModificationDateText}"
IsVisible="{Binding ModificationDateVisible}" />
<TextBlock Text="{Binding ExpirationDateText}"
IsVisible="{Binding ExpirationDateVisible}" />
<TextBlock Text="{Binding BackupDateText}"
IsVisible="{Binding BackupDateVisible}" />
<TextBlock Text="{Binding ClustersText}" />
2024-05-01 04:05:22 +01:00
<TextBlock Text="{Binding FreeClustersText}"
IsVisible="{Binding FreeClustersVisible}" />
<TextBlock Text="{Binding FilesText}"
IsVisible="{Binding FilesVisible}" />
<CheckBox IsEnabled="{Binding BootableChecked}">
<TextBlock Text="{Binding BootableLabel}" />
</CheckBox>
<CheckBox IsEnabled="{Binding DirtyChecked}">
<TextBlock Text="{Binding DirtyLabel}" />
</CheckBox>
2024-05-01 04:05:22 +01:00
<TextBlock Text="{Binding DetailsLabel}"
IsVisible="{Binding !!InformationText}" />
<TextBox Text="{Binding InformationText}"
IsReadOnly="True" />
</StackPanel>
</UserControl>