mirror of
https://github.com/claunia/romrepomgr.git
synced 2025-12-16 11:14:45 +00:00
69 lines
3.5 KiB
XML
69 lines
3.5 KiB
XML
<!--
|
||
// /***************************************************************************
|
||
// RomRepoMgr - ROM repository manager
|
||
// ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
|
||
//
|
||
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
||
//
|
||
// ‐‐[ 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 © 2020-2024 Natalia Portillo
|
||
// ****************************************************************************/
|
||
-->
|
||
<Window 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:vm="clr-namespace:RomRepoMgr.ViewModels;assembly=RomRepoMgr"
|
||
xmlns:resources="clr-namespace:RomRepoMgr.Resources"
|
||
mc:Ignorable="d"
|
||
d:DesignWidth="800"
|
||
d:DesignHeight="450"
|
||
Width="480"
|
||
Height="90"
|
||
x:Class="RomRepoMgr.Views.ExportDat"
|
||
Icon="/Assets/avalonia-logo.ico"
|
||
CanResize="False"
|
||
Title="{x:Static resources:Localization.ExportDatTitle}"
|
||
WindowStartupLocation="CenterOwner">
|
||
<Design.DataContext>
|
||
<vm:ExportDatViewModel />
|
||
</Design.DataContext>
|
||
<Border Padding="15">
|
||
<Grid RowDefinitions="Auto,auto,Auto,Auto">
|
||
<TextBlock Grid.Row="0"
|
||
Text="{Binding StatusMessage, Mode=OneWay}"
|
||
HorizontalAlignment="Center" />
|
||
<ProgressBar Grid.Row="1"
|
||
IsIndeterminate="True"
|
||
HorizontalAlignment="Stretch"
|
||
IsVisible="{Binding ProgressVisible, Mode=OneWay}" />
|
||
<TextBlock Grid.Row="2"
|
||
Text="{Binding ErrorMessage, Mode=OneWay}"
|
||
HorizontalAlignment="Center"
|
||
Foreground="Red"
|
||
IsVisible="{Binding ErrorVisible, Mode=OneWay}" />
|
||
<Button Grid.Row="3"
|
||
HorizontalAlignment="Right"
|
||
VerticalAlignment="Center"
|
||
IsEnabled="{Binding CanClose, Mode=OneWay}"
|
||
Command="{Binding CloseCommand, Mode=OneWay}">
|
||
<TextBlock Text="{x:Static resources:Localization.CloseLabel}" />
|
||
</Button>
|
||
</Grid>
|
||
</Border>
|
||
</Window> |