From 7abba54ccbe50d560303b23dd59863e149a4e8ce Mon Sep 17 00:00:00 2001 From: bitpredator <67551273+bitpredator@users.noreply.github.com> Date: Tue, 25 Jun 2024 10:19:49 +0200 Subject: [PATCH 01/12] chore: code formatting + graphic rework --- .../esx_scoreboard/fxmanifest.lua | 6 +-- .../esx_scoreboard/html/listener.js | 2 +- .../esx_scoreboard/html/scoreboard.html | 9 ----- .../esx_scoreboard/html/style.css | 40 ++++++++++++++++++- 4 files changed, 42 insertions(+), 15 deletions(-) diff --git a/server-data/resources/[esx_addons]/esx_scoreboard/fxmanifest.lua b/server-data/resources/[esx_addons]/esx_scoreboard/fxmanifest.lua index 970dd09c1..6b9f08625 100644 --- a/server-data/resources/[esx_addons]/esx_scoreboard/fxmanifest.lua +++ b/server-data/resources/[esx_addons]/esx_scoreboard/fxmanifest.lua @@ -4,15 +4,15 @@ games({ "gta5" }) ui_page("html/scoreboard.html") files({ - "html/*", + "html/*", }) shared_script("@es_extended/imports.lua") client_scripts({ - "client/main.lua", + "client/main.lua", }) server_scripts({ - "server/main.lua", + "server/main.lua", }) diff --git a/server-data/resources/[esx_addons]/esx_scoreboard/html/listener.js b/server-data/resources/[esx_addons]/esx_scoreboard/html/listener.js index ecb688db5..373e92d97 100644 --- a/server-data/resources/[esx_addons]/esx_scoreboard/html/listener.js +++ b/server-data/resources/[esx_addons]/esx_scoreboard/html/listener.js @@ -53,7 +53,7 @@ $(function () { break; default: console.log('esx_scoreboard: unknown action!'); - break; + break; } }, false); }); diff --git a/server-data/resources/[esx_addons]/esx_scoreboard/html/scoreboard.html b/server-data/resources/[esx_addons]/esx_scoreboard/html/scoreboard.html index 5a1094559..b8541526a 100644 --- a/server-data/resources/[esx_addons]/esx_scoreboard/html/scoreboard.html +++ b/server-data/resources/[esx_addons]/esx_scoreboard/html/scoreboard.html @@ -10,15 +10,6 @@