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

68 lines
4.4 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/>.
//
//
// Copyright © 20112020 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"
2021-08-17 21:23:10 +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}" />
<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}" />
<TextBlock Text="{Binding FreeClustersText}" IsVisible="{Binding FreeClustersVisible}" />
<TextBlock Text="{Binding FilesText}" IsVisible="{Binding FilesVisible}" />
<CheckBox IsEnabled="{Binding BootableChecked}">
<TextBlock Text="Filesystem contains boot code" />
</CheckBox>
<CheckBox IsEnabled="{Binding DirtyChecked}">
<TextBlock Text="Filesystem has not been unmounted correctly or contains errors" />
</CheckBox>
<TextBlock Text="Details" IsVisible="{Binding !!InformationText}" />
<TextBox Text="{Binding InformationText}" IsReadOnly="True" />
</StackPanel>
</UserControl>