mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 22:27:34 +00:00
refactor: edit some url of the dashboard
This commit is contained in:
parent
aeca5e4de9
commit
336329d909
|
@ -232,7 +232,7 @@ local possibleConfig = {
|
|||
local buttonsInfo = {
|
||||
{
|
||||
["label"] = "Open Webpanel",
|
||||
["func"] = function() gui.OpenURL("https://gmod-integration.com/config/server") end,
|
||||
["func"] = function() gui.OpenURL("https://gmod-integration.com/dashboard/guilds") end,
|
||||
},
|
||||
{
|
||||
["label"] = "Test Connection",
|
||||
|
@ -249,15 +249,6 @@ local buttonsInfo = {
|
|||
},
|
||||
}
|
||||
|
||||
// {
|
||||
// ["label"] = "Load Server Config",
|
||||
// ["condition"] = function(data)
|
||||
// return data.debug
|
||||
// end,
|
||||
// ["func"] = function(data)
|
||||
// gmInte.config = data
|
||||
// end,
|
||||
// }
|
||||
local colorTable = {
|
||||
["text"] = Color(255, 255, 255, 255),
|
||||
["background"] = Color(0, 0, 0, 200),
|
||||
|
|
|
@ -22,7 +22,7 @@ function gmInte.openVerifPopup()
|
|||
buttonGrid:SetRowHeight(35)
|
||||
local button = vgui.Create("DButton")
|
||||
button:SetText("Open Verification Page")
|
||||
button.DoClick = function() gui.OpenURL("https://verif.gmod-integration.com") end
|
||||
button.DoClick = function() gui.OpenURL("https://gmod-integration.com/account") end
|
||||
button:SetSize(buttonGrid:GetColWide() - 10, buttonGrid:GetRowHeight())
|
||||
gmInte.applyPaint(button)
|
||||
buttonGrid:AddItem(button)
|
||||
|
|
|
@ -12,11 +12,6 @@
|
|||
5 Everything is ready, you can now restart your server
|
||||
|
||||
To go further, you can check the documentation: https://docs.gmod-integration.com
|
||||
|
||||
WARNING:
|
||||
NEVER SHARE THE TOKEN OF YOUR SERVER WITH ANYONE,
|
||||
IF ANY PROBLEM OCCURS, GO TO OUR WEBSITE AND FOLLOW THE INSTRUCTIONS:
|
||||
https://gmod-integration.com/emergency
|
||||
*/
|
||||
// API Connection
|
||||
gmInte.config.id = "" // Server ID
|
||||
|
|
Loading…
Reference in New Issue
Block a user