From fdf813dfba976ff40edaee4a0477ade306d6e289 Mon Sep 17 00:00:00 2001 From: Andrew Collington Date: Sun, 29 Oct 2023 15:43:17 +0000 Subject: [PATCH 01/10] Updated all package dependencies --- package.json | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 28adff7..ff8fc7c 100644 --- a/package.json +++ b/package.json @@ -4,15 +4,16 @@ "version": "3.5.4", "main": "index.js", "devDependencies": { - "@babel/cli": "^7.12.8", - "@babel/core": "^7.12.9", - "@babel/preset-react": "^7.12.7", - "node-sass": ">=7.0.0" + "@babel/cli": "^7.23.0", + "@babel/core": "^7.23.2", + "@babel/plugin-proposal-class-properties": "^7.18.6", + "@babel/preset-react": "^7.22.15", + "sass": "^1.69.5" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "compile-jsx": "node_modules/.bin/babel --presets @babel/preset-react build/_frontend/interface.jsx --plugins @babel/plugin-proposal-class-properties -o build/interface.js", - "compile-scss": "node_modules/.bin/node-sass -xi build/_frontend/interface.scss -o build/ --output-style=compressed" + "compile-scss": "node_modules/.bin/sass -xi build/_frontend/interface.scss -o build/ --output-style=compressed" }, "repository": { "type": "git", @@ -23,8 +24,5 @@ "bugs": { "url": "https://github.com/amnuts/opcache-gui/issues" }, - "homepage": "https://github.com/amnuts/opcache-gui#readme", - "dependencies": { - "@babel/plugin-proposal-class-properties": "^7.12.1" - } + "homepage": "https://github.com/amnuts/opcache-gui#readme" } From 8b6f6c6dfc4b7a5c536d8a99b1c55270cca66a30 Mon Sep 17 00:00:00 2001 From: Andrew Collington Date: Sun, 29 Oct 2023 15:43:58 +0000 Subject: [PATCH 02/10] Moved the opcache-gui class to the main body of the page --- build/template.phps | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/template.phps b/build/template.phps index fe26295..fa3ac28 100644 --- a/build/template.phps +++ b/build/template.phps @@ -75,9 +75,9 @@ $opcache = (new Service($options))->handle(); - + -
+
- + -
+