From 943ec663a50b19065a0f5c9a47b3de4e4d288819 Mon Sep 17 00:00:00 2001 From: Weilbyte <me@weilbyte.net> Date: Sun, 26 May 2019 20:13:13 +0200 Subject: [PATCH] Create README.md --- serverside/jsmod/README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 serverside/jsmod/README.md diff --git a/serverside/jsmod/README.md b/serverside/jsmod/README.md new file mode 100644 index 0000000..da9423c --- /dev/null +++ b/serverside/jsmod/README.md @@ -0,0 +1,20 @@ +# PVEDiscordDark Javascript Modifications + +As you might have noticed, the CSS edits on its own do not completely darken Proxmox's Web UI. +HOWEVER, I have found a way to change that - by modifying it's javascript files. + +These modifications are server-side only and currently it is only working on PVE 5.4-3 as I dont have servers that run an older version. If you're running an older version you could send me the files needed so I could take a look at them but for now this is all I have. + +## Installation +Download the bash file for your version (currently only supporting 5.4-3) and run it anywhere on your Proxmox **node**. If the changes arent appearing on your browser right away, please clear cache. + +## Uninstallation +The bash script backs up the files it replaces. Just remove the modified file and remove the '.bak' extension from the end of the backed up files. + +## Files modified +The files modified are.. +* `/usr/share/pve-manager/js/pvemanager.js` +* `/usr/share/javascript/extjs/charts.js` +* `/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js` + +For more on whats modified, check changes.md. -- GitLab