Files
wwdpublic/Content.Client/Launcher/LauncherConnectingGui.xaml
Cinkafox 65208f0165 [Add] new ui (#497)
* - add: StyleSheetify

* - add: APC style

* - tweak: Select only APC now!

* - fix: Window positioning

* - fix: animations

* - add: Fancy chat

* - tweak: change some margin think

* - fix: add assemblies of stylesheetify for packaging

* - tweak: update StyleSheetify

* - add: custom LauncherConnection

* - tweak: change to paper

* - tweak: Update StyleSheetify

* - add: fancy lobby screen

* - tweak: some beauty think in lobby screen

* - add: new icons

* - tweak: change icons

* - tweak: //WWDP EDIT

* - fix: disable style while testing

* - fix: Channel Popup button style revert

* - fix: test again

* - tweak: Update StyleSheetify
2025-05-17 14:30:12 +03:00

93 lines
6.0 KiB
XML

<Control xmlns="https://spacestation14.io"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
xmlns:parallax="clr-namespace:Content.Client.Parallax"
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls">
<parallax:ParallaxControl />
<Control HorizontalAlignment="Center" VerticalAlignment="Center">
<PanelContainer StyleClasses="MainPanel" />
<BoxContainer Orientation="Horizontal" MinSize="300 200" Margin="10">
<BoxContainer Orientation="Vertical" Margin="0,0,5,0">
<BoxContainer Orientation="Horizontal" Margin="0 5 0 8">
<Label Margin="8 0 0 0" Text="{Loc 'connecting-title'}"
StyleClasses="MachineLabel15" VAlign="Center" />
<ContainerButton Name="ExitButton" StyleClasses="NovaButton" Margin="5"
HorizontalAlignment="Right" HorizontalExpand="True" VerticalExpand="True" >
<Label HorizontalAlignment="Center" VerticalAlignment="Center" Text="{Loc 'connecting-exit'}" StyleClasses="NovaButtonLabel"/>
</ContainerButton>
</BoxContainer>
<PanelContainer StyleClasses="DisplayPanel" MinHeight="200" MinWidth="400" Margin="0">
<BoxContainer Orientation="Vertical" VerticalExpand="True" Margin="10">
<Control VerticalExpand="True" Margin="0 0 0 8">
<BoxContainer Orientation="Vertical" Name="ConnectingStatus">
<Label Text="{Loc 'connecting-in-progress'}" Align="Left" StyleClasses="DisplayLabel12" />
<!-- Who the fuck named these cont- oh wait I did -->
<Label Name="ConnectStatus" StyleClasses="DisplayLabel10" Align="Left" />
</BoxContainer>
<BoxContainer Orientation="Vertical" Name="ConnectFail" Visible="False">
<RichTextLabel Name="ConnectFailReason" StyleClasses="DisplayLabel12" VerticalAlignment="Stretch"/>
<Button Name="RetryButton" StyleClasses="DisplayLabel12" Text="{Loc 'connecting-retry'}"
HorizontalAlignment="Left"
VerticalExpand="True" VerticalAlignment="Bottom" />
</BoxContainer>
<BoxContainer Orientation="Vertical" Name="Disconnected">
<Label Text="{Loc 'connecting-disconnected'}" Align="Left" StyleClasses="DisplayLabel12" />
<Label Name="DisconnectReason" Align="Left" StyleClasses="DisplayLabel12" />
<Button Name="ReconnectButton" Text="{Loc 'connecting-reconnect'}"
HorizontalAlignment="Left" StyleClasses="DisplayLabel12"
VerticalExpand="True" VerticalAlignment="Bottom" />
<Button Name="RedialButton" Text="{Loc 'connecting-redial'}"
Disabled="True" StyleClasses="DisplayLabel12"
HorizontalAlignment="Left"
VerticalExpand="True" VerticalAlignment="Bottom" />
</BoxContainer>
</Control>
<BoxContainer Orientation="Horizontal">
<Label Text="Точка доступа:" StyleClasses="DisplayLabel8"/>
<Label Name="ConnectingAddress" StyleClasses="DisplayLabel8" />
</BoxContainer>
</BoxContainer>
</PanelContainer>
<BoxContainer Orientation="Horizontal" Margin="15 0 4 0" VerticalAlignment="Bottom">
<Label Text="{Loc 'connecting-tip'}" StyleClasses="LabelSubText" />
<Label Text="{Loc 'connecting-version'}" StyleClasses="LabelSubText"
HorizontalAlignment="Right" HorizontalExpand="True" />
</BoxContainer>
</BoxContainer>
<BoxContainer Orientation="Horizontal" Margin="5,0,15,0">
<PanelContainer>
<PanelContainer.PanelOverride>
<gfx:StyleBoxFlat BackgroundColor="#444" ContentMarginLeftOverride="2" />
</PanelContainer.PanelOverride>
</PanelContainer>
<PanelContainer>
<PanelContainer.PanelOverride>
<gfx:StyleBoxFlat BackgroundColor="#666" ContentMarginLeftOverride="2" />
</PanelContainer.PanelOverride>
</PanelContainer>
</BoxContainer>
<PanelContainer Name="LoginTips" StyleClasses="PaperBackground" Margin="0 10" MaxWidth="400" VerticalExpand="True" VerticalAlignment="Stretch">
<BoxContainer Orientation="Vertical" VerticalExpand="True">
<BoxContainer Orientation="Horizontal" HorizontalAlignment="Left" Margin="5">
<Label Name="LoginTipTitle" Text="Tip" StyleClasses="MachineLabel15" Align="Left"/>
</BoxContainer>
<PanelContainer>
<PanelContainer.PanelOverride>
<gfx:StyleBoxFlat BackgroundColor="#666" ContentMarginTopOverride="2" />
</PanelContainer.PanelOverride>
</PanelContainer>
<BoxContainer Orientation="Vertical" Margin="5 5 5 5" >
<RichTextLabel Name="LoginTip" VerticalExpand="True" />
</BoxContainer>
</BoxContainer>
</PanelContainer>
</BoxContainer>
</Control>
<!-- Bottom window for tips -->
</Control>