|
| 1 | +<reactiveUi:ReactiveUserControl |
| 2 | + x:TypeArguments="manageGameWarning:IManageGameWarningViewModel" |
| 3 | + xmlns="https://github.com/avaloniaui" |
| 4 | + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| 5 | + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
| 6 | + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
| 7 | + xmlns:base="clr-namespace:NexusMods.App.UI.Overlays.Generic.MessageBox.Base" |
| 8 | + xmlns:reactiveUi="http://reactiveui.net" |
| 9 | + xmlns:resources="clr-namespace:NexusMods.App.UI.Resources" |
| 10 | + xmlns:manageGameWarning="clr-namespace:NexusMods.App.UI.Overlays.ManageGameWarning" |
| 11 | + mc:Ignorable="d" d:DesignWidth="800" |
| 12 | + x:Class="NexusMods.App.UI.Overlays.ManageGameWarning.ManageGameWarningView"> |
| 13 | + <base:MessageBoxBackground MinWidth="300" MaxWidth="576"> |
| 14 | + <base:MessageBoxBackground.TopContent> |
| 15 | + <StackPanel Orientation="Vertical" Margin="24" Classes="Spacing-6"> |
| 16 | + |
| 17 | + <!-- Title --> |
| 18 | + <DockPanel HorizontalAlignment="Stretch" Margin="0,0,0,16"> |
| 19 | + <TextBlock x:Name="HeadingText" DockPanel.Dock="Left" Text="{x:Static resources:Language.ManageGameWarning_Title}" /> |
| 20 | + </DockPanel> |
| 21 | + |
| 22 | + <!-- Message --> |
| 23 | + <!-- If you have existing mods, they will be detected and can be used alongside the app in the ‘External Changes’ page. --> |
| 24 | + <TextBlock x:Name="MessageTextBlock" TextWrapping="WrapWithOverflow" Text="{x:Static resources:Language.ManageGameWarning_Desc1}" /> |
| 25 | + |
| 26 | + <!-- Message (Bold) --> |
| 27 | + <!-- To keep any mods you want to save, please back them up before continuing. --> |
| 28 | + <TextBlock x:Name="MessageTextBlockBold" TextWrapping="WrapWithOverflow" Text="{x:Static resources:Language.ManageGameWarning_Desc2}" /> |
| 29 | + </StackPanel> |
| 30 | + |
| 31 | + </base:MessageBoxBackground.TopContent> |
| 32 | + |
| 33 | + <base:MessageBoxBackground.BottomContent> |
| 34 | + |
| 35 | + <!-- Buttons --> |
| 36 | + <StackPanel Orientation="Horizontal" Margin="24" VerticalAlignment="Center" HorizontalAlignment="Right" Classes="Spacing-6"> |
| 37 | + |
| 38 | + <Button x:Name="CancelButton" |
| 39 | + Classes="Standard Tertiary" |
| 40 | + HorizontalAlignment="Right" |
| 41 | + VerticalAlignment="Center"> |
| 42 | + <TextBlock Text="{x:Static resources:Language.ManageGameWarning_Cancel}" /> |
| 43 | + </Button> |
| 44 | + <Button x:Name="OkButton" |
| 45 | + Classes="Standard Primary" |
| 46 | + HorizontalAlignment="Right" |
| 47 | + VerticalAlignment="Center"> |
| 48 | + <TextBlock Text="{x:Static resources:Language.ManageGameWarning_Continue}" /> |
| 49 | + </Button> |
| 50 | + </StackPanel> |
| 51 | + |
| 52 | + </base:MessageBoxBackground.BottomContent> |
| 53 | + </base:MessageBoxBackground> |
| 54 | +</reactiveUi:ReactiveUserControl> |
0 commit comments