Files
tbd-station-14/Content.Client/Robotics/UI/RoboticsConsoleWindow.xaml
deltanedas b33730db22 malf killer 9000 (robotics console) (#24855)
* create devicenet frequencies

* create borg transponder and give it to all nt borgs

* add robotics console

* actually implement battery charge display + some fix

* tab

* real explosion

* little safer

* disable destroy button clientside too when on cooldown

* m

* how do i do this when i review things...

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>

* webedit ops

Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>

* ui updates

* oracle java

* do a thing

* update ui when a borg times out

* maybe fix test

* add IsLocked to LockSystem

* make destroying gib the chassis again, so emagging isnt sus

* use locking

* require using alt click to unlock so normal click is open ui

* the

* use LogType.Action

* take this L

* pocket lint?

* sharer

* pro ops

* robor pushmarkup

* m

* update and make it not use prototype anymore

* frame0

* update yaml

* untroll

* bad

* h

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
2024-05-08 23:36:07 -07:00

41 lines
2.4 KiB
XML

<controls:FancyWindow xmlns="https://spacestation14.io"
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
Title="{Loc 'robotics-console-window-title'}"
MinSize="600 450">
<BoxContainer Orientation="Vertical">
<!-- List of borgs -->
<BoxContainer Orientation="Vertical" HorizontalExpand="True" VerticalExpand="True" Margin="10 10 10 10">
<Label Name="NoCyborgs" Text="{Loc 'robotics-console-no-cyborgs'}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
<ScrollContainer Name="CyborgsContainer" VerticalExpand="True" Visible="False">
<!-- Populated when loading state -->
<ItemList Name="Cyborgs"/>
</ScrollContainer>
</BoxContainer>
<PanelContainer StyleClasses="LowDivider" Margin="0 5 0 5"/>
<!-- Selected borg info -->
<Label Name="SelectCyborg" Text="{Loc 'robotics-console-select-cyborg'}" HorizontalAlignment="Center"/>
<BoxContainer Name="BorgContainer" Orientation="Vertical" MaxHeight="200" Visible="False">
<BoxContainer Margin="5 5 5 5" Orientation="Horizontal">
<PanelContainer VerticalExpand="True">
<BoxContainer HorizontalAlignment="Center" VerticalAlignment="Center">
<TextureRect Name="BorgSprite" TextureScale="4 4"/>
</BoxContainer>
</PanelContainer>
<PanelContainer VerticalExpand="True" HorizontalExpand="True">
<RichTextLabel Name="BorgInfo"/>
</PanelContainer>
<!-- TODO: button to open camera window for this borg -->
</BoxContainer>
<controls:StripeBack>
<BoxContainer Name="DangerZone" Margin="5" Orientation="Horizontal" HorizontalExpand="True" HorizontalAlignment="Center" Visible="False">
<Button Name="DisableButton" Text="{Loc 'robotics-console-disable'}" StyleClasses="OpenRight"/>
<Button Name="DestroyButton" Text="{Loc 'robotics-console-destroy'}" StyleClasses="OpenLeft"/>
</BoxContainer>
<Label Name="LockedMessage" Text="{Loc 'robotics-console-locked-message'}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
</controls:StripeBack>
</BoxContainer>
</BoxContainer>
</controls:FancyWindow>