2022-09-11 18:56:21 -07:00
|
|
|
<controls:FancyWindow xmlns="https://spacestation14.io"
|
|
|
|
|
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
|
2021-11-02 01:12:55 +01:00
|
|
|
MinSize="270 130"
|
|
|
|
|
SetSize="360 180">
|
|
|
|
|
<BoxContainer Margin="4 0" Orientation="Horizontal">
|
|
|
|
|
<BoxContainer Orientation="Vertical" HorizontalExpand="True">
|
|
|
|
|
<GridContainer Margin="2 0 0 0" Columns="2">
|
|
|
|
|
<!-- Power -->
|
2024-08-31 16:40:28 +02:00
|
|
|
<Label Text="{Loc 'power-charge-window-power'}" HorizontalExpand="True" StyleClasses="StatusFieldTitle" />
|
2021-11-02 01:12:55 +01:00
|
|
|
<BoxContainer Orientation="Horizontal" MinWidth="120">
|
2024-08-31 16:40:28 +02:00
|
|
|
<Button Name="OnButton" Text="{Loc 'power-charge-window-power-on'}" StyleClasses="OpenRight" />
|
|
|
|
|
<Button Name="OffButton" Text="{Loc 'power-charge-window-power-off'}" StyleClasses="OpenLeft" />
|
2021-11-02 01:12:55 +01:00
|
|
|
</BoxContainer>
|
|
|
|
|
<Control /> <!-- Empty control to act as a spacer in the grid. -->
|
|
|
|
|
<Label Name="PowerLabel" Text="0 / 0 W" />
|
|
|
|
|
<!-- Status -->
|
2024-08-31 16:40:28 +02:00
|
|
|
<Label Text="{Loc 'power-charge-window-status'}" StyleClasses="StatusFieldTitle" />
|
|
|
|
|
<Label Name="StatusLabel" Text="{Loc 'power-charge-window-status-fully-charged'}" />
|
2021-11-02 01:12:55 +01:00
|
|
|
<!-- ETA -->
|
2024-08-31 16:40:28 +02:00
|
|
|
<Label Text="{Loc 'power-charge-window-eta'}" StyleClasses="StatusFieldTitle" />
|
2021-11-02 01:12:55 +01:00
|
|
|
<Label Name="EtaLabel" Text="N/A" />
|
|
|
|
|
<!-- Charge -->
|
2024-08-31 16:40:28 +02:00
|
|
|
<Label Text="{Loc 'power-charge-window-charge'}" StyleClasses="StatusFieldTitle" />
|
2021-11-02 01:12:55 +01:00
|
|
|
<ProgressBar Name="ChargeBar" MaxValue="255">
|
|
|
|
|
<Label Name="ChargeText" Margin="4 0" Text="0 %" />
|
|
|
|
|
</ProgressBar>
|
|
|
|
|
</GridContainer>
|
2021-09-19 18:59:55 +02:00
|
|
|
</BoxContainer>
|
2021-11-02 01:12:55 +01:00
|
|
|
<PanelContainer Margin="12 0 0 0" StyleClasses="Inset" VerticalAlignment="Center">
|
|
|
|
|
<SpriteView Name="EntityView" SetSize="96 96" OverrideDirection="South" />
|
|
|
|
|
</PanelContainer>
|
2021-09-19 18:59:55 +02:00
|
|
|
</BoxContainer>
|
2022-09-11 18:56:21 -07:00
|
|
|
</controls:FancyWindow>
|