mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[TUI] Update file information display with platform-specific attributes and color changes
This commit is contained in:
@@ -91,7 +91,7 @@
|
|||||||
<console:LineBrush LineStyle="DoubleLine"
|
<console:LineBrush LineStyle="DoubleLine"
|
||||||
Brush="Blue" />
|
Brush="Blue" />
|
||||||
</Border.BorderBrush>
|
</Border.BorderBrush>
|
||||||
<Grid RowDefinitions="Auto, *, *, *, *, *">
|
<Grid RowDefinitions="Auto, *, *, *, *">
|
||||||
<TextBlock Text="File information"
|
<TextBlock Text="File information"
|
||||||
Grid.Row="0"
|
Grid.Row="0"
|
||||||
HorizontalAlignment="Center"
|
HorizontalAlignment="Center"
|
||||||
@@ -111,7 +111,7 @@
|
|||||||
Text="Creation time: " />
|
Text="Creation time: " />
|
||||||
<TextBlock Grid.Column="1"
|
<TextBlock Grid.Column="1"
|
||||||
Text="{Binding SelectedFileCreationTime, Mode=OneWay}"
|
Text="{Binding SelectedFileCreationTime, Mode=OneWay}"
|
||||||
Foreground="Aqua" />
|
Foreground="Yellow" />
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid ColumnDefinitions="Auto, *"
|
<Grid ColumnDefinitions="Auto, *"
|
||||||
Grid.Row="3">
|
Grid.Row="3">
|
||||||
@@ -119,24 +119,30 @@
|
|||||||
Text="Last write time: " />
|
Text="Last write time: " />
|
||||||
<TextBlock Grid.Column="1"
|
<TextBlock Grid.Column="1"
|
||||||
Text="{Binding SelectedFileLastWriteTime, Mode=OneWay}"
|
Text="{Binding SelectedFileLastWriteTime, Mode=OneWay}"
|
||||||
Foreground="Aqua" />
|
Foreground="Yellow" />
|
||||||
</Grid>
|
|
||||||
<Grid ColumnDefinitions="Auto, *"
|
|
||||||
Grid.Row="4">
|
|
||||||
<TextBlock Grid.Column="0"
|
|
||||||
Text="Attributes: " />
|
|
||||||
<TextBlock Grid.Column="1"
|
|
||||||
Text="{Binding SelectedFileAttributes, Mode=OneWay}"
|
|
||||||
Foreground="Aqua" />
|
|
||||||
</Grid>
|
|
||||||
<Grid ColumnDefinitions="Auto, *"
|
|
||||||
Grid.Row="5">
|
|
||||||
<TextBlock Grid.Column="0"
|
|
||||||
Text="Mode: " />
|
|
||||||
<TextBlock Grid.Column="1"
|
|
||||||
Text="{Binding SelectedFileUnixMode, Mode=OneWay}"
|
|
||||||
Foreground="Aqua" />
|
|
||||||
</Grid>
|
</Grid>
|
||||||
|
<OnPlatform>
|
||||||
|
<OnPlatform.Windows>
|
||||||
|
<Grid ColumnDefinitions="Auto, *"
|
||||||
|
Grid.Row="4">
|
||||||
|
<TextBlock Grid.Column="0"
|
||||||
|
Text="Attributes: " />
|
||||||
|
<TextBlock Grid.Column="1"
|
||||||
|
Text="{Binding SelectedFileAttributes, Mode=OneWay}"
|
||||||
|
Foreground="Green" />
|
||||||
|
</Grid>
|
||||||
|
</OnPlatform.Windows>
|
||||||
|
<OnPlatform.Default>
|
||||||
|
<Grid ColumnDefinitions="Auto, *"
|
||||||
|
Grid.Row="4">
|
||||||
|
<TextBlock Grid.Column="0"
|
||||||
|
Text="Mode: " />
|
||||||
|
<TextBlock Grid.Column="1"
|
||||||
|
Text="{Binding SelectedFileUnixMode, Mode=OneWay}"
|
||||||
|
Foreground="Green" />
|
||||||
|
</Grid>
|
||||||
|
</OnPlatform.Default>
|
||||||
|
</OnPlatform>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Border>
|
</Border>
|
||||||
<Border Grid.Row="3"
|
<Border Grid.Row="3"
|
||||||
|
|||||||
Reference in New Issue
Block a user