Add a warning dialog to the observe button. (#4794)

This commit is contained in:
moonheart08
2021-10-08 09:22:57 -05:00
committed by GitHub
parent cc7d4a40b8
commit a2b04482a4
5 changed files with 43 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
<SS14Window
xmlns="https://spacestation14.io"
xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls">
<BoxContainer Orientation="Vertical">
<Label Text="{Loc 'observe-warning-1'}"/>
<Label Text="{Loc 'observe-warning-2'}"/>
<BoxContainer Orientation="Horizontal" >
<Button Name="NevermindButton" Text="{Loc 'observe-nevermind'}" SizeFlagsStretchRatio="1"/>
<Control HorizontalExpand="True" SizeFlagsStretchRatio="2" />
<cc:CommandButton Command="observe" Name="ObserveButton" StyleClasses="Caution" Text="{Loc 'Observe'}" SizeFlagsStretchRatio="1"/>
</BoxContainer>
</BoxContainer>
</SS14Window>