CatStation/Content.Client/Administration/UI/EventLog/AdminEventLogWindow.xaml
Samuka e020c43454
Event log tool (#44655)
* button to new ui

* text box and button

* change size

* get the current round

* turn into a command

* fix round id not updating

* button to send log send message to server

* send message to discord

* use another cvar

* general fixes

* update event webhook

* use a place holder

* fix placeholder

* update button name

Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com>

* move to a separate folder

* turn into a fancy window

* add margin

* center text in the button

* move reset button to the left

* update the window

* move send button to the left

* update color

* remove indentation

* set sawmill inside PostInject

* remove random newline

* move PostInject to start of the class

* use darkViolet

* summary

* remove whitespace

* comment

---------

Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com>
2026-07-14 23:45:40 +00:00

19 lines
1,014 B
XML

<ui:FancyWindow xmlns="https://spacestation14.io"
xmlns:ui="clr-namespace:Content.Client.UserInterface.Controls"
Title="{Loc 'admin-event-log-title'}"
MinWidth="600"
MinHeight="180">
<BoxContainer Orientation="Vertical" Margin="10">
<BoxContainer Orientation="Horizontal" MinWidth="400">
<Label Text="{Loc admin-event-round}"/>
<SpinBox Name="RoundSpinBox" Value="0" MinWidth="150" Access="Public"/>
<Button Name="ResetRoundButton" Text="{Loc admin-event-round-reset}"
StyleClasses="Open"/>
</BoxContainer>
<TextEdit Name="EventTextEdit" HorizontalExpand="True" VerticalExpand="True" Access="Public"/>
<BoxContainer Orientation="Horizontal">
<Button Name="SendEventLog" Text="{Loc admin-event-send}" HorizontalAlignment="Left"
StyleClasses="Open" Access="Public"/>
</BoxContainer>
</BoxContainer>
</ui:FancyWindow>