refactor: edit some url of the dashboard

This commit is contained in:
Linventif 2024-07-05 21:55:57 +00:00
parent aeca5e4de9
commit 336329d909
3 changed files with 2 additions and 16 deletions

View File

@ -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),

View File

@ -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)

View File

@ -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