mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
66 lines
4.4 KiB
XML
66 lines
4.4 KiB
XML
<!--
|
||
// /***************************************************************************
|
||
// Aaru Data Preservation Suite
|
||
// ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
|
||
//
|
||
// Filename : Subdirectory.xaml
|
||
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
||
//
|
||
// Component : GUI panel.
|
||
//
|
||
// ‐‐[ Description ] ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
|
||
//
|
||
// Subdirectory contents 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‐2020 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" mc:Ignorable="d" d:DesignWidth="800"
|
||
d:DesignHeight="450" x:Class="Aaru.Gui.Views.Panels.Subdirectory">
|
||
<Design.DataContext>
|
||
<panels:SubdirectoryViewModel />
|
||
</Design.DataContext>
|
||
<DataGrid Items="{Binding Entries}" IsReadOnly="True" SelectionMode="Extended"> <!-- TODO: SelectedItems="{Binding SelectedEntries}" -->
|
||
<DataGrid.ContextMenu>
|
||
<ContextMenu>
|
||
<Button Command="{Binding ExtractFilesCommand}">
|
||
<TextBlock Text="Extract to..." />
|
||
</Button>
|
||
</ContextMenu>
|
||
</DataGrid.ContextMenu>
|
||
<DataGrid.Columns>
|
||
<DataGridTextColumn Header="Name" Binding="{Binding Name}" Width="Auto" IsReadOnly="True" />
|
||
<DataGridTextColumn Header="Length" Binding="{Binding Size}" Width="Auto" IsReadOnly="True" />
|
||
<DataGridTextColumn Header="Name" Binding="{Binding CreationTime}" Width="Auto" IsReadOnly="True" />
|
||
<DataGridTextColumn Header="Last access" Binding="{Binding LastAccessTime}" Width="Auto" IsReadOnly="True" />
|
||
<DataGridTextColumn Header="Changed" Binding="{Binding ChangedTime}" Width="Auto" IsReadOnly="True" />
|
||
<DataGridTextColumn Header="Last backup" Binding="{Binding LastBackupTime}" Width="Auto" IsReadOnly="True" />
|
||
<DataGridTextColumn Header="Last write" Binding="{Binding LastWriteTime}" Width="Auto" IsReadOnly="True" />
|
||
<DataGridTextColumn Header="Attributes" Binding="{Binding Attributes}" Width="Auto" IsReadOnly="True" />
|
||
<DataGridTextColumn Header="GID" Binding="{Binding Gid}" Width="Auto" IsReadOnly="True" />
|
||
<DataGridTextColumn Header="UID" Binding="{Binding Uid}" Width="Auto" IsReadOnly="True" />
|
||
<DataGridTextColumn Header="Inode" Binding="{Binding Inode}" Width="Auto" IsReadOnly="True" />
|
||
<DataGridTextColumn Header="Links" Binding="{Binding Links}" Width="Auto" IsReadOnly="True" />
|
||
<DataGridTextColumn Header="Model" Binding="{Binding Mode}" Width="Auto" IsReadOnly="True" />
|
||
</DataGrid.Columns>
|
||
</DataGrid>
|
||
</UserControl> |