diff --git a/error403.lp b/error403.lp index d071669f..82144646 100644 --- a/error403.lp +++ b/error403.lp @@ -7,7 +7,7 @@ * Please see LICENSE file for your rights under this license. --]] -mg.include('scripts/pi-hole/lua/header.lp','r') +mg.include('scripts/lua/header.lp','r') ?>
diff --git a/error404.lp b/error404.lp index 394e1a89..4aed89b5 100644 --- a/error404.lp +++ b/error404.lp @@ -7,7 +7,7 @@ * Please see LICENSE file for your rights under this license. --]] -mg.include('scripts/pi-hole/lua/header.lp','r') +mg.include('scripts/lua/header.lp','r') ?>
diff --git a/gravity.lp b/gravity.lp index 063125d8..c2312acd 100644 --- a/gravity.lp +++ b/gravity.lp @@ -7,7 +7,7 @@ * Please see LICENSE file for your rights under this license. --]] -mg.include('scripts/pi-hole/lua/header_authenticated.lp','r') +mg.include('scripts/lua/header_authenticated.lp','r') ?>
- + - + diff --git a/network.lp b/network.lp index 5c26559f..75545221 100644 --- a/network.lp +++ b/network.lp @@ -7,7 +7,7 @@ * Please see LICENSE file for your rights under this license. --]] -mg.include('scripts/pi-hole/lua/header_authenticated.lp','r') +mg.include('scripts/lua/header_authenticated.lp','r') ?>
@@ -64,7 +64,7 @@ mg.include('scripts/pi-hole/lua/header_authenticated.lp','r')
- - + + - + diff --git a/package.json b/package.json index 1404f2bd..f173bc27 100644 --- a/package.json +++ b/package.json @@ -16,11 +16,11 @@ "homepage": "https://github.com/pi-hole/web#readme", "scripts": { "prefix": "postcss \"style/*.css\" \"style/themes/*.css\" --use autoprefixer --no-map --replace", - "prettier:check": "prettier -l \"style/*.css\" \"style/themes/*.css\" \"scripts/pi-hole/**/*.js\"", - "prettier:fix": "prettier --write \"style/*.css\" \"style/themes/*.css\" \"scripts/pi-hole/**/*.js\"", + "prettier:check": "prettier -l \"style/*.css\" \"style/themes/*.css\" \"scripts/**/*.js\"", + "prettier:fix": "prettier --write \"style/*.css\" \"style/themes/*.css\" \"scripts/**/*.js\"", "xo": "xo", - "xo:check": "npm run xo -- \"style/*.css\" \"style/themes/*.css\" \"scripts/pi-hole/**\"", - "xo:fix": "npm run xo -- --fix \"style/*.css\" \"style/themes/*.css\" \"scripts/pi-hole/**\"", + "xo:check": "npm run xo -- \"style/*.css\" \"style/themes/*.css\" \"scripts/**\"", + "xo:fix": "npm run xo -- --fix \"style/*.css\" \"style/themes/*.css\" \"scripts/**\"", "test": "npm run prettier:check && npm run xo:check", "testpr": "npm run prettier:fix && git diff --ws-error-highlight=all --color=always --exit-code && npm run xo:check" }, diff --git a/queries.lp b/queries.lp index 3c5b9d01..baeaa1b4 100644 --- a/queries.lp +++ b/queries.lp @@ -7,7 +7,7 @@ * Please see LICENSE file for your rights under this license. --]] -mg.include('scripts/pi-hole/lua/header_authenticated.lp','r') +mg.include('scripts/lua/header_authenticated.lp','r') ?> - + diff --git a/scripts/pi-hole/lua/header.lp b/scripts/lua/header.lp similarity index 98% rename from scripts/pi-hole/lua/header.lp rename to scripts/lua/header.lp index 3dfb482b..257b046d 100644 --- a/scripts/pi-hole/lua/header.lp +++ b/scripts/lua/header.lp @@ -120,6 +120,6 @@ if startsWith(scriptname, 'groups') then - + diff --git a/scripts/pi-hole/lua/header_authenticated.lp b/scripts/lua/header_authenticated.lp similarity index 98% rename from scripts/pi-hole/lua/header_authenticated.lp rename to scripts/lua/header_authenticated.lp index be65a501..8c20d9c8 100644 --- a/scripts/pi-hole/lua/header_authenticated.lp +++ b/scripts/lua/header_authenticated.lp @@ -9,7 +9,7 @@ ]]-- mg.include('header.lp','r') ?> - + diff --git a/scripts/pi-hole/lua/settings_header.lp b/scripts/lua/settings_header.lp similarity index 100% rename from scripts/pi-hole/lua/settings_header.lp rename to scripts/lua/settings_header.lp diff --git a/scripts/pi-hole/lua/sidebar.lp b/scripts/lua/sidebar.lp similarity index 100% rename from scripts/pi-hole/lua/sidebar.lp rename to scripts/lua/sidebar.lp diff --git a/search.lp b/search.lp index 7b5a0892..01b60ae6 100644 --- a/search.lp +++ b/search.lp @@ -7,7 +7,7 @@ * Please see LICENSE file for your rights under this license. --]] -mg.include('scripts/pi-hole/lua/header_authenticated.lp','r') +mg.include('scripts/lua/header_authenticated.lp','r') ?>