mirror of
https://github.com/Aurorastation/Aurora-Old.git
synced 2026-08-24 05:06:16 +01:00
Report a Bug Button
Adds a button. Yup.
This commit is contained in:
@@ -86,6 +86,7 @@
|
||||
var/wikiurl
|
||||
var/forumurl
|
||||
var/aurorawikiurl
|
||||
var/githuburl
|
||||
|
||||
//Alert level description
|
||||
var/alert_desc_green = "All threats to the station have passed. Security may not have weapons visible, privacy laws are once again fully enforced."
|
||||
@@ -339,6 +340,9 @@
|
||||
if ("aurorawikiurl")
|
||||
config.aurorawikiurl = value
|
||||
|
||||
if ("githuburl")
|
||||
config.githuburl = value
|
||||
|
||||
if ("guest_jobban")
|
||||
config.guest_jobban = 1
|
||||
|
||||
|
||||
@@ -35,6 +35,18 @@
|
||||
src << "\red The URL for the Aurorastation wiki is not set in the server configuration."
|
||||
return
|
||||
|
||||
/client/verb/github()
|
||||
set name = "github"
|
||||
set desc = "Visit the Aurorastation Github page, where bugs and issues can be reported!"
|
||||
set hidden = 1
|
||||
if ( config.githuburl )
|
||||
if(alert("This will open the Github Issues page in your browser. Are you sure?",,"Yes","No")=="No")
|
||||
return
|
||||
src << link(config.githuburl)
|
||||
else
|
||||
src << "\red The URL for the server's Github (issues) page is not set in the server configuration."
|
||||
return
|
||||
|
||||
#define RULES_FILE "config/rules.html"
|
||||
/client/verb/rules()
|
||||
set name = "Rules"
|
||||
|
||||
+29
-1
@@ -1577,6 +1577,34 @@ window "rpane"
|
||||
is-checked = false
|
||||
group = "rpanemode"
|
||||
button-type = pushbutton
|
||||
elem "githubb"
|
||||
type = BUTTON
|
||||
pos = 461,0
|
||||
size = 67x16
|
||||
anchor1 = none
|
||||
anchor2 = none
|
||||
font-family = ""
|
||||
font-size = 0
|
||||
font-style = ""
|
||||
text-color = #000000
|
||||
background-color = none
|
||||
is-visible = true
|
||||
is-disabled = false
|
||||
is-transparent = false
|
||||
is-default = false
|
||||
border = none
|
||||
drop-zone = false
|
||||
right-click = false
|
||||
saved-params = "is-checked"
|
||||
on-size = ""
|
||||
text = "Bug Report"
|
||||
image = ""
|
||||
command = "github"
|
||||
is-flat = false
|
||||
stretch = false
|
||||
is-checked = false
|
||||
group = "rpanemode"
|
||||
button-type = pushbutton
|
||||
elem "aurorawikib"
|
||||
type = BUTTON
|
||||
pos = 202,0
|
||||
@@ -1663,7 +1691,7 @@ window "rpane"
|
||||
button-type = pushbox
|
||||
elem "browseb"
|
||||
type = BUTTON
|
||||
pos = 464,0
|
||||
pos = 564,0
|
||||
size = 60x16
|
||||
anchor1 = none
|
||||
anchor2 = none
|
||||
|
||||
Reference in New Issue
Block a user