Commit Graph

7 Commits

Author SHA1 Message Date
Kakarot 74ac036d4a Refactor core structure and notification UI
Major refactor to centralize QBCore and replace the web UI stack:

- Move QBConfig into a unified QBCore.Config and initialize QBCore.PlayerData; add shared/functions.lua.
- Remove legacy client/main.lua and server/main.lua exports and update fxmanifest to include shared/functions and drop those main scripts.
- Update client event handling: adapt player data events to QBCore:Client:OnPlayerUpdated and trigger job/gang update events; remove deprecated exploitable handlers.
- Web UI rewrite: remove Vue/Quasar dependency and config module; implement a lightweight vanilla JS notification system (html/js/app.js) with updated html and css assets, plus drawtext tweaks.
- CSS overhaul for notification styling and animations; HTML head/meta/font cleanup.
- Server fixes: use QBCore.Shared.Locations in teleport command and strengthen numeric parsing/validation for coords.
- Add .gitattributes for consistent text/eol handling and small code cleanups (thread/comment removal).

These changes consolidate config/shared logic under QBCore, simplify the frontend dependencies, and fix a few parsing/event issues.
2026-05-19 18:13:35 -05:00
Kakarot fe654facee Styling update 2025-03-13 15:50:32 -05:00
Kakarot 5c60c94197 Allow defining icon
- Adds warning class
2024-02-17 06:13:47 -06:00
Kakarot 1a1640a56d Update notify
Changed styling and icons, updated cdn's
2023-05-28 18:37:55 -05:00
David Malchin 7fab401ed2 Fix Styling (#758)
* style: ensure consistent indentation

* style: add spacing

* style: add newlines

* style: simplify html

* fix: update javascript indent size in contribution guidelines
2022-07-18 23:45:46 +03:00
JackBro 11c42be08e Additional fixes to 4K scaling 2022-04-26 18:35:40 +10:00
darknight2590 3b61e13854 feat (html): Organised html file - Darknight2590
* Rename html/app.js to html/js/app.js
* Rename html/config.js to html/js/config.js
* Rename html/drawtext.js to html/js/drawtext.js
* Rename html/testing.js to html/js/testing.js
* Rename html/utils.js to html/js/utils.js
* Rename html/style.css to html/css/style.css
* Rename html/drawtext.css to html/css/drawtext.css
* Update fxmanifest.lua
2022-02-17 19:35:01 +11:00