From 3b61e13854233c2d32b7fae13eadadd489cb1a25 Mon Sep 17 00:00:00 2001 From: darknight2590 <87971656+darknight2590@users.noreply.github.com> Date: Thu, 17 Feb 2022 10:35:01 +0200 Subject: [PATCH] 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 --- fxmanifest.lua | 6 +++--- html/{ => css}/drawtext.css | 2 +- html/{ => css}/style.css | 2 +- html/{ => js}/app.js | 0 html/{ => js}/config.js | 0 html/{ => js}/drawtext.js | 2 +- html/{ => js}/testing.js | 0 html/{ => js}/utils.js | 0 8 files changed, 6 insertions(+), 6 deletions(-) rename html/{ => css}/drawtext.css (99%) rename html/{ => css}/style.css (99%) rename html/{ => js}/app.js (100%) rename html/{ => js}/config.js (100%) rename html/{ => js}/drawtext.js (99%) rename html/{ => js}/testing.js (100%) rename html/{ => js}/utils.js (100%) diff --git a/fxmanifest.lua b/fxmanifest.lua index fd60bcf..8faba61 100644 --- a/fxmanifest.lua +++ b/fxmanifest.lua @@ -39,9 +39,9 @@ ui_page 'html/index.html' files { 'html/index.html', - 'html/style.css', - 'html/drawtext.css', - 'html/*.js' + 'html/css/style.css', + 'html/css/drawtext.css', + 'html/js/*.js' } dependencies { diff --git a/html/drawtext.css b/html/css/drawtext.css similarity index 99% rename from html/drawtext.css rename to html/css/drawtext.css index 3892a85..489e967 100644 --- a/html/drawtext.css +++ b/html/css/drawtext.css @@ -73,4 +73,4 @@ transition: 0.5s; left: -100px; opacity: 0; -} \ No newline at end of file +} diff --git a/html/style.css b/html/css/style.css similarity index 99% rename from html/style.css rename to html/css/style.css index c260cce..4581314 100644 --- a/html/style.css +++ b/html/css/style.css @@ -35,4 +35,4 @@ html::-webkit-scrollbar { border-radius: 10px; box-shadow: 0rem 0rem 0.1rem 0.05rem #000000; border-left: 5px solid #f44236; -} \ No newline at end of file +} diff --git a/html/app.js b/html/js/app.js similarity index 100% rename from html/app.js rename to html/js/app.js diff --git a/html/config.js b/html/js/config.js similarity index 100% rename from html/config.js rename to html/js/config.js diff --git a/html/drawtext.js b/html/js/drawtext.js similarity index 99% rename from html/drawtext.js rename to html/js/drawtext.js index 544b450..282d522 100644 --- a/html/drawtext.js +++ b/html/js/drawtext.js @@ -121,4 +121,4 @@ const addClass = (element, name) => { if (!element.classList.contains(name)) { element.classList.add(name); } -}; \ No newline at end of file +}; diff --git a/html/testing.js b/html/js/testing.js similarity index 100% rename from html/testing.js rename to html/js/testing.js diff --git a/html/utils.js b/html/js/utils.js similarity index 100% rename from html/utils.js rename to html/js/utils.js