Fix a bunch of html UI's for 516 (#88917)

## About The Pull Request
Moved broken on 516 UI's to browser datum
They now work and have a dark theme
Most of them are admin ones (All except 1)

I tried to check all the raw HTML UI's by typing `<< browse(` into the
VSC search and going through each element, but I might have missed
something.

What worked as it was, I didn't touch, except for the Dynamic control
UI's

## Why It's Good For The Game
Admin can do their things on 516
Coders/Mappers can debug some stuff on 516


![image](https://github.com/user-attachments/assets/013508d1-18cc-4001-92e4-0bc554960f86)

## Changelog

🆑
fix: Admin/Debug UI's (Especially the Game Panel) now work properly on
Byond 516, instead of showing raw HTML
/🆑
This commit is contained in:
Aylong
2025-01-06 18:13:48 -08:00
committed by GitHub
parent e2cec953c3
commit 1795c18aea
11 changed files with 92 additions and 63 deletions
+3 -2
View File
@@ -24,7 +24,6 @@ GLOBAL_LIST_EMPTY(map_reports)
/// Show a rendered version of this report to a client.
/datum/map_report/proc/show_to(client/C)
var/list/html = list()
html += "<p>Report for map file <tt>[original_path]</tt></p>"
if(crashed)
html += "<p><b>Validation crashed</b>: check the runtime logs.</p>"
if(!loadable)
@@ -48,7 +47,9 @@ GLOBAL_LIST_EMPTY(map_reports)
html += "<ul><li>[messages.Join("</li><li>")]</li></ul>"
html += "</li>"
html += "</ul></p>"
C << browse(html.Join(), "window=[tag];size=600x400")
var/datum/browser/browser = new(C.mob, "[tag]", "Report for map file [original_path]", 600, 400)
browser.set_content(html.Join())
browser.open()
/datum/map_report/Topic(href, href_list)
. = ..()