next set of spans (#16434)

* next set of spans

* some more

* next

* next

* next

* .

* text...

* next... rest soon

* .

* .

* ok last set for the night

* .

* .

* .

* .

* some more

* next

* next

* all for now

* .

* some more easy ones

* some more easy ones

* .

* .

* some more bolds

* oups auto complete moment

* add the remaining spans

* this as well

* this as well

* .

* .,

* resync them properly
This commit is contained in:
Kashargul
2024-10-16 23:37:27 +02:00
committed by GitHub
parent 6275972fef
commit b594520a74
604 changed files with 2801 additions and 2638 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ var/obj/effect/lobby_image = new /obj/effect/lobby_image
tgui_alert_async(src, message, "BYOND Client Version Warning")
// So we can be more wordy and give links.
to_chat(src, "<span class='danger'>Your client version has known issues.</span> Please consider using a different version: <a href='https://www.byond.com/download/build/'>https://www.byond.com/download/build/</a>.")
to_chat(src, span_userdanger("Your client version has known issues.") + " Please consider using a different version: <a href='https://www.byond.com/download/build/'>https://www.byond.com/download/build/</a>.")
var/chat_message = ""
if(config.suggested_byond_version)
chat_message += "We suggest using version [config.suggested_byond_version]."
+9 -9
View File
@@ -39,22 +39,22 @@
/mob/new_player/proc/new_player_panel_proc()
var/output = "<div align='center'>"
output += "<b>Map:</b> [using_map.full_name]<br>"
output += "<b>Station Time:</b> [stationtime2text()]<br>"
output += span_bold("Map:") + " [using_map.full_name]<br>"
output += span_bold("Station Time:") + " [stationtime2text()]<br>"
if(!ticker || ticker.current_state <= GAME_STATE_PREGAME)
output += "<b>Server Initializing!</b>"
output += span_bold("Server Initializing!")
else
output += "<b>Round Duration:</b> [roundduration2text()]<br>"
output += span_bold("Round Duration:") + " [roundduration2text()]<br>"
output += "<hr>"
output += "<p><a href='byond://?src=\ref[src];show_preferences=1'>Character Setup</A></p>"
if(!ticker || ticker.current_state <= GAME_STATE_PREGAME)
if(ready)
output += "<p>\[ <span class='linkOn'><b>Ready</b></span> | <a href='byond://?src=\ref[src];ready=0'>Not Ready</a> \]</p>"
output += "<p>\[ " + span_linkOn(span_bold("Ready")) + " | <a href='byond://?src=\ref[src];ready=0'>Not Ready</a> \]</p>"
else
output += "<p>\[ <a href='byond://?src=\ref[src];ready=1'>Ready</a> | <span class='linkOn'><b>Not Ready</b></span> \]</p>"
output += "<p>\[ <a href='byond://?src=\ref[src];ready=1'>Ready</a> | " + span_linkOn(span_bold("Not Ready")) + " \]</p>"
else
output += "<a href='byond://?src=\ref[src];manifest=1'>View the Crew Manifest</A><br><br>"
@@ -290,7 +290,7 @@
var/sql = "INSERT INTO erro_privacy VALUES (null, Now(), '[src.ckey]', '[option]')"
var/DBQuery/query_insert = dbcon.NewQuery(sql)
query_insert.Execute()
to_chat(usr, "<b>Thank you for your vote!</b>")
to_chat(usr, span_bold("Thank you for your vote!"))
usr << browse(null,"window=privacypoll")
if(!ready && href_list["preference"])
@@ -387,7 +387,7 @@
dat += "<br>"
dat += "[F["body"]]"
dat += "<br>"
dat += "<font size='2'><i>Last written by [F["author"]], on [F["timestamp"]].</i></font>"
dat += span_normal(span_italics("Last written by [F["author"]], on [F["timestamp"]]."))
dat += "</center></body></html>"
var/datum/browser/popup = new(src, "Server News", "Server News", 450, 300, src)
popup.set_content(dat)
@@ -534,7 +534,7 @@
var/name = client.prefs.be_random_name ? "friend" : client.prefs.real_name
var/dat = "<html><body><center>"
dat += "<b>Welcome, [name].<br></b>"
dat += span_bold("Welcome, [name].<br>")
dat += "Round Duration: [roundduration2text()]<br>"
if(emergency_shuttle) //In case NanoTrasen decides reposess CentCom's shuttles.
+7 -7
View File
@@ -17,7 +17,7 @@
/mob/new_player/proc/privacy_poll()
var/output = "<div align='center'><B>Player poll</B>"
output +="<hr>"
output += "<b>We would like to expand our stats gathering.</b>"
output += span_bold("We would like to expand our stats gathering.")
output += "<br>This however involves gathering data about player behavior, play styles, unique player numbers, play times, etc. Data like that cannot be gathered fully anonymously, which is why we're asking you how you'd feel if player-specific data was gathered. Prior to any of this actually happening, a privacy policy will be discussed, but before that can begin, we'd preliminarily like to know how you feel about the concept."
output +="<hr>"
output += "How do you feel about the game gathering player-specific statistics? This includes statistics about individual players as well as in-game polling/opinion requests."
@@ -131,7 +131,7 @@
var/output = "<div align='center'><B>Player poll</B>"
output +="<hr>"
output += "<b>Question: [pollquestion]</b><br>"
output += span_bold("Question: [pollquestion]") + "<br>"
output += "<font size='2'>Poll runs from <b>[pollstarttime]</b> until <b>[pollendtime]</b></font><p>"
if(!voted) //Only make this a form if we have not voted yet
@@ -145,7 +145,7 @@
if(O.optionid && O.optiontext)
if(voted)
if(votedoptionid == O.optionid)
output += "<b>[O.optiontext]</b><br>"
output += span_bold("[O.optiontext]") + "<br>"
else
output += "[O.optiontext]<br>"
else
@@ -175,7 +175,7 @@
var/output = "<div align='center'><B>Player poll</B>"
output +="<hr>"
output += "<b>Question: [pollquestion]</b><br>"
output += span_bold("Question: [pollquestion]") + "<br>"
output += "<font size='2'>Feedback gathering runs from <b>[pollstarttime]</b> until <b>[pollendtime]</b></font><p>"
if(!voted) //Only make this a form if we have not voted yet
@@ -209,7 +209,7 @@
var/output = "<div align='center'><B>Player poll</B>"
output +="<hr>"
output += "<b>Question: [pollquestion]</b><br>"
output += span_bold("Question: [pollquestion]") + "<br>"
output += "<font size='2'>Poll runs from <b>[pollstarttime]</b> until <b>[pollendtime]</b></font><p>"
var/voted = 0
@@ -304,7 +304,7 @@
var/output = "<div align='center'><B>Player poll</B>"
output +="<hr>"
output += "<b>Question: [pollquestion]</b><br>You can select up to [multiplechoiceoptions] options. If you select more, the first [multiplechoiceoptions] will be saved.<br>"
output += span_bold("Question: [pollquestion]") + "<br>You can select up to [multiplechoiceoptions] options. If you select more, the first [multiplechoiceoptions] will be saved.<br>"
output += "<font size='2'>Poll runs from <b>[pollstarttime]</b> until <b>[pollendtime]</b></font><p>"
if(!voted) //Only make this a form if we have not voted yet
@@ -320,7 +320,7 @@
if(O.optionid && O.optiontext)
if(voted)
if(O.optionid in votedfor)
output += "<b>[O.optiontext]</b><br>"
output += span_bold("[O.optiontext]") + "<br>"
else
output += "[O.optiontext]<br>"
else
+2 -2
View File
@@ -181,11 +181,11 @@ var/global/list/SKILL_PRE = list(JOB_ENGINEER = SKILL_ENGINEER, JOB_ROBOTICIST =
return
var/HTML = "<body>"
HTML += "<b>Select your Skills</b><br>"
HTML += span_bold("Select your Skills") + "<br>"
HTML += "Current skill level: <b>[M.GetSkillClass(M.used_skillpoints)]</b> ([M.used_skillpoints])<br>"
HTML += "<table>"
for(var/V in SKILLS)
HTML += "<tr><th colspan = 5><b>[V]</b>"
HTML += "<tr><th colspan = 5>" + span_bold("[V]")
HTML += "</th></tr>"
for(var/datum/skill/S in SKILLS[V])
var/level = M.skills[S.ID]