mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] browse to browser continued (#11088)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
2a0bb3120b
commit
590a653d5a
@@ -21,7 +21,9 @@ var/inactive_keys = "None<br>"
|
||||
else
|
||||
dat += "<a href='byond://?src=\ref[src];_src_=holder;[HrefToken()];populate_inactive_customitems=1'>Populate list (requires an active database connection)</a><br>"
|
||||
|
||||
usr << browse("<html>[dat]</html>", "window=inactive_customitems;size=600x480")
|
||||
var/datum/browser/popup = new(src, "inactive_customitems", "Inactive Custom Items", 600, 480)
|
||||
popup.set_content(dat)
|
||||
popup.open()
|
||||
|
||||
/proc/populate_inactive_customitems_list(var/client/C)
|
||||
set background = 1
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
else
|
||||
inactive_on_main_station++
|
||||
|
||||
var/output = {"<html><B>AIR SYSTEMS REPORT</B><HR>
|
||||
var/output = {"<B>AIR SYSTEMS REPORT</B><HR>
|
||||
<B>General Processing Data</B><BR>
|
||||
Cycle: [SSair.current_cycle]<br>
|
||||
Groups: [SSair.zones.len]<BR>
|
||||
@@ -36,10 +36,12 @@
|
||||
Hotspot Processing: [hotspots]<BR>
|
||||
<br>
|
||||
<B>Geometry Processing Data</B><BR>
|
||||
Tile Update: [SSair.tiles_to_update.len]<BR></html>
|
||||
Tile Update: [SSair.tiles_to_update.len]<BR>
|
||||
"}
|
||||
|
||||
usr << browse(output,"window=airreport")
|
||||
var/datum/browser/popup = new(src, "airreport", "Airreport")
|
||||
popup.set_content(output)
|
||||
popup.open()
|
||||
|
||||
/client/proc/fix_next_move()
|
||||
set category = "Debug.Game"
|
||||
@@ -95,7 +97,9 @@
|
||||
else
|
||||
output += " [device]<br>"
|
||||
|
||||
usr << browse("<html>[output]</html>","window=radioreport")
|
||||
var/datum/browser/popup = new(src, "radioreport", "Radioreport")
|
||||
popup.set_content(output)
|
||||
popup.open()
|
||||
feedback_add_details("admin_verb","RR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/client/proc/reload_admins()
|
||||
|
||||
@@ -78,7 +78,7 @@ GLOBAL_LIST_BOILERPLATE(all_debugging_effects, /obj/effect/debugging)
|
||||
for(var/obj/machinery/camera/C in cameranet.cameras)
|
||||
CL += C
|
||||
|
||||
var/output = {""} + span_bold("CAMERA ANNOMALITIES REPORT") + {"<HR>
|
||||
var/output = span_bold("CAMERA ANNOMALITIES REPORT") + {"<HR>
|
||||
"} + span_bold("The following annomalities have been detected. The ones in red need immediate attention: Some of those in black may be intentional.") + {"<BR><ul>"}
|
||||
|
||||
for(var/obj/machinery/camera/C1 in CL)
|
||||
@@ -102,7 +102,10 @@ GLOBAL_LIST_BOILERPLATE(all_debugging_effects, /obj/effect/debugging)
|
||||
output += "<li>" + span_red("Camera not connected to wall at \[[C1.x], [C1.y], [C1.z]\] ([C1.loc.loc]) Network: [C1.network]") + "</li>"
|
||||
|
||||
output += "</ul>"
|
||||
usr << browse("<html>[output]</html>","window=airreport;size=1000x500")
|
||||
|
||||
var/datum/browser/popup = new(src, "airreport", "Airreport", 1000, 500)
|
||||
popup.set_content(output)
|
||||
popup.open()
|
||||
feedback_add_details("admin_verb","mCRP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/client/proc/intercom_view()
|
||||
|
||||
Reference in New Issue
Block a user