mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 20:37:34 +01:00
516 compatibility for browsers (#20652)
this is a bit of https://github.com/cmss13-devs/cmss13/pull/8646 https://github.com/cmss13-devs/cmss13/pull/8875 https://github.com/cmss13-devs/cmss13/pull/8606 https://github.com/cmss13-devs/cmss13/pull/8607 https://github.com/cmss13-devs/cmss13/pull/8359 https://github.com/cmss13-devs/cmss13/pull/7860 ( and thus https://github.com/ParadiseSS13/Paradise/pull/25105 https://github.com/ParadiseSS13/Paradise/pull/25205 https://github.com/ParadiseSS13/Paradise/pull/25363 https://github.com/ParadiseSS13/Paradise/pull/26423 and https://github.com/ParadiseSS13/Paradise/pull/26433 ) https://github.com/tgstation/tgstation/pull/89766 in order to work properly - using the efficient storage method, instead of the byond json method - github pages needs to be enabled and built from the gh-pages branch. because yeah --------- Co-authored-by: harryob <55142896+harryob@users.noreply.github.com>
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
<A href='byond://?src=[REF(src)]];create_mob=1'>Create Mob</A><br>
|
||||
"}
|
||||
|
||||
usr << browse(dat, "window=storytellerpanel;size=210x280")
|
||||
usr << browse(HTML_SKELETON(dat), "window=storytellerpanel;size=210x280")
|
||||
|
||||
/mob/abstract/ghost/storyteller/Topic(href, href_list)
|
||||
. = ..()
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
output += "</table>"
|
||||
|
||||
src << browse(output,"window=playerpolllist;size=500x300")
|
||||
src << browse(HTML_SKELETON(output),"window=playerpolllist;size=500x300")
|
||||
|
||||
/mob/abstract/new_player/proc/show_poll_link(var/pollid = -1)
|
||||
if(pollid == -1) return
|
||||
@@ -129,7 +129,7 @@
|
||||
output += "</div>"
|
||||
|
||||
|
||||
src << browse(output,"window=playerpoll;size=500x250")
|
||||
src << browse(HTML_SKELETON(output),"window=playerpoll;size=500x250")
|
||||
|
||||
//Polls with a text input
|
||||
if("TEXT")
|
||||
@@ -175,7 +175,7 @@
|
||||
output += "[vote_text]"
|
||||
|
||||
|
||||
src << browse(output,"window=playerpoll;size=500x500")
|
||||
src << browse(HTML_SKELETON(output),"window=playerpoll;size=500x500")
|
||||
|
||||
//Polls with a text input
|
||||
if("NUMVAL")
|
||||
@@ -250,7 +250,7 @@
|
||||
output += "</form>"
|
||||
|
||||
|
||||
src << browse(output,"window=playerpoll;size=500x500")
|
||||
src << browse(HTML_SKELETON(output),"window=playerpoll;size=500x500")
|
||||
|
||||
if("MULTICHOICE")
|
||||
var/DBQuery/voted_query = GLOB.dbcon.NewQuery("SELECT optionid FROM ss13_poll_vote WHERE pollid = [pollid] AND ckey = '[usr.ckey]'")
|
||||
@@ -317,7 +317,7 @@
|
||||
output += "</div>"
|
||||
|
||||
|
||||
src << browse(output,"window=playerpoll;size=500x250")
|
||||
src << browse(HTML_SKELETON(output),"window=playerpoll;size=500x250")
|
||||
return
|
||||
|
||||
/mob/abstract/new_player/proc/vote_on_poll(var/pollid = -1, var/optionid = -1, var/multichoice = 0)
|
||||
|
||||
Reference in New Issue
Block a user