mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-13 12:21:11 +03:00
* Create new SetChatCommand.cs class * Obsoleted the old "setchat" classes. * Removed the obsolete classes * Small fixes * Small fixes reprise * Fixed issues in PR * Fixed issues in PR * Renamed command and properly localized it. * Renamed command and properly localized it. * Updated Admin UI
34 lines
1.9 KiB
XML
34 lines
1.9 KiB
XML
<Control
|
|
xmlns="https://spacestation14.io"
|
|
xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls"
|
|
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
|
|
Margin="4"
|
|
MinSize="50 50">
|
|
<BoxContainer Orientation="Vertical" SeparationOverride="8">
|
|
<GridContainer Columns="4">
|
|
<controls:ConfirmButton Name="ServerShutdownButton" Text="{Loc server-shutdown}" />
|
|
<cc:CommandButton Name="SetOocButton" Command="togglechat OOC" Text="{Loc server-ooc-toggle}" ToggleMode="True" />
|
|
<cc:CommandButton Name="SetLoocButton" Command="togglechat LOOC" Text="{Loc server-looc-toggle}" ToggleMode="True" />
|
|
<cc:CommandButton Name="SetDeadChatButton" Command="togglechat Dead" Text="{Loc server-dead-chat-toggle}" ToggleMode="True" />
|
|
</GridContainer>
|
|
|
|
<BoxContainer Orientation="Vertical">
|
|
<Label Text="{Loc server-afk-timers}" />
|
|
<BoxContainer Orientation="Horizontal" Margin="2">
|
|
<Label Text="{Loc server-afk-time}" MinWidth="175" />
|
|
<LineEdit Name="AfkTime" MinWidth="70" Margin="0 0 5 0" PlaceHolder="300" />
|
|
<Label Text="{Loc generic-seconds}" />
|
|
</BoxContainer>
|
|
<BoxContainer Orientation="Horizontal" Margin="2">
|
|
<Label Text="{Loc server-admin-afk-time}" MinWidth="175" />
|
|
<LineEdit Name="AdminAfkTime" MinWidth="70" Margin="0 0 5 0" PlaceHolder="600" />
|
|
<Label Text="{Loc generic-seconds}" />
|
|
</BoxContainer>
|
|
<BoxContainer Orientation="Horizontal" Margin="2">
|
|
<Label Text="{Loc server-afk-confirm-timeout}" MinWidth="175" />
|
|
<LineEdit Name="AfkConfirmTimeout" MinWidth="70" Margin="0 0 5 0" PlaceHolder="60" />
|
|
<Label Text="{Loc generic-seconds}" />
|
|
</BoxContainer>
|
|
</BoxContainer>
|
|
</BoxContainer>
|
|
</Control>
|