Before Width: | Height: | Size: 151 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 78 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 170 KiB |
@ -1 +0,0 @@ |
|||||
|
|
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 62 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 9.5 KiB |
@ -1,50 +0,0 @@ |
|||||
#!/bin/bash |
|
||||
|
|
||||
Say () { |
|
||||
printf "\e[1;34m $1 \e[0m \n"; |
|
||||
} |
|
||||
|
|
||||
DotSay () { |
|
||||
printf "[\e[1;34m*\e[0m] \e[1;34m $1 \e[0m \n"; |
|
||||
} |
|
||||
|
|
||||
|
|
||||
Say '[PVE Discord Dark UI Theme Installer]' |
|
||||
Say 'Internet connection required to download files' |
|
||||
Say '>Press any key to begin installation' |
|
||||
read -p "" |
|
||||
Say ' ' |
|
||||
DotSay 'Backing up index template file' |
|
||||
cp /usr/share/pve-manager/index.html.tpl /usr/share/pve-manager/index.html.tpl.bak |
|
||||
DotSay 'Applying stylesheet..' |
|
||||
echo "<link rel='stylesheet' type='text/css' href='/pve2/css/dd_style.css'>" >> /usr/share/pve-manager/index.html.tpl |
|
||||
cd /usr/share/pve-manager/css |
|
||||
wget -O dd_style.css https://raw.githubusercontent.com/Weilbyte/PVEDiscordDark/master/serverside/style.css &> /dev/null |
|
||||
DotSay 'Applied stylesheet!' |
|
||||
DotSay 'Downloading images..' |
|
||||
cd /usr/share/pve-manager/images |
|
||||
wget https://github.com/Weilbyte/PVEDiscordDark/raw/master/images/dd_cephblurp.png &> /dev/null |
|
||||
wget https://github.com/Weilbyte/PVEDiscordDark/raw/master/images/dd_cephwhite.png &> /dev/null |
|
||||
wget https://github.com/Weilbyte/PVEDiscordDark/raw/master/images/dd_icon-cpu.png &> /dev/null |
|
||||
wget https://github.com/Weilbyte/PVEDiscordDark/raw/master/images/dd_icon-hdd.png &> /dev/null |
|
||||
wget https://github.com/Weilbyte/PVEDiscordDark/raw/master/images/dd_icon-ram.png &> /dev/null |
|
||||
wget https://github.com/Weilbyte/PVEDiscordDark/raw/master/images/dd_icon-swap.png &> /dev/null |
|
||||
wget https://github.com/Weilbyte/PVEDiscordDark/raw/master/images/dd_icon-cd.png &> /dev/null |
|
||||
wget https://github.com/Weilbyte/PVEDiscordDark/raw/master/images/dd_icon-display.png &> /dev/null |
|
||||
wget https://github.com/Weilbyte/PVEDiscordDark/raw/master/images/dd_icon-network.png &> /dev/null |
|
||||
wget https://github.com/Weilbyte/PVEDiscordDark/raw/master/images/dd_icon-cloud.png &> /dev/null |
|
||||
wget https://github.com/Weilbyte/PVEDiscordDark/raw/master/images/dd_icon-serial.png &> /dev/null |
|
||||
wget https://github.com/Weilbyte/PVEDiscordDark/raw/master/images/dd_icon-usb.png &> /dev/null |
|
||||
wget https://github.com/Weilbyte/PVEDiscordDark/raw/master/images/dd_icon-pci.png &> /dev/null |
|
||||
wget https://github.com/Weilbyte/PVEDiscordDark/raw/master/images/dd_logo.png &> /dev/null |
|
||||
wget https://github.com/Weilbyte/PVEDiscordDark/raw/master/images/dd_mini-bottom.png &> /dev/null |
|
||||
wget https://github.com/Weilbyte/PVEDiscordDark/raw/master/images/dd_mini-top.png &> /dev/null |
|
||||
wget https://github.com/Weilbyte/PVEDiscordDark/raw/master/images/dd_readme &> /dev/null |
|
||||
wget https://github.com/Weilbyte/PVEDiscordDark/raw/master/images/dd_tool-sprites.png &> /dev/null |
|
||||
wget https://github.com/Weilbyte/PVEDiscordDark/raw/master/images/dd_trigger.png &> /dev/null |
|
||||
wget https://github.com/Weilbyte/PVEDiscordDark/raw/master/images/dd_loading.svg &> /dev/null |
|
||||
|
|
||||
DotSay 'Downloaded images!' |
|
||||
Say '' |
|
||||
Say 'Installation finished!' |
|
||||
Say 'o7' |
|
@ -1,32 +0,0 @@ |
|||||
#!/bin/bash |
|
||||
|
|
||||
Say () { |
|
||||
printf "\e[1;34m $1 \e[0m \n"; |
|
||||
} |
|
||||
|
|
||||
DotSay () { |
|
||||
printf "[\e[1;34m*\e[0m] \e[1;34m $1 \e[0m \n"; |
|
||||
} |
|
||||
|
|
||||
|
|
||||
Say '[PVE Discord Dark UI Theme JSMOD Installer]' |
|
||||
Say 'Internet connection REQUIRED.' |
|
||||
Say '!!ONLY FOR PVE 5.4-3!!' |
|
||||
Say '>Press any key to begin installation' |
|
||||
read -p "" |
|
||||
Say ' ' |
|
||||
DotSay 'Backing up files' |
|
||||
cp /usr/share/pve-manager/js/pvemanagerlib.js /usr/share/pve-manager/js/pvemanagerlib.js.bak |
|
||||
cp /usr/share/javascript/extjs/charts.js /usr/share/javascript/extjs/charts.js.bak |
|
||||
cp /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js.bak |
|
||||
DotSay 'Replacing files with modded versions' |
|
||||
rm /usr/share/pve-manager/js/pvemanagerlib.js |
|
||||
wget https://raw.githubusercontent.com/Weilbyte/PVEDiscordDark/master/serverside/jsmod/5.4-3/pvemanagerlib.js -P /usr/share/pve-manager/js/ &> /dev/null |
|
||||
rm /usr/share/javascript/extjs/charts.js |
|
||||
wget https://raw.githubusercontent.com/Weilbyte/PVEDiscordDark/master/serverside/jsmod/5.4-3/charts.js -P /usr/share/javascript/extjs/ &> /dev/null |
|
||||
rm /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js |
|
||||
wget https://raw.githubusercontent.com/Weilbyte/PVEDiscordDark/master/serverside/jsmod/5.4-3/proxmoxlib.js -P /usr/share/javascript/proxmox-widget-toolkit/ &> /dev/null |
|
||||
DotSay 'Applied successfully.' |
|
||||
Say '' |
|
||||
Say 'Installation finished!' |
|
||||
Say 'o7' |
|
@ -1,32 +0,0 @@ |
|||||
#!/bin/bash |
|
||||
|
|
||||
Say () { |
|
||||
printf "\e[1;34m $1 \e[0m \n"; |
|
||||
} |
|
||||
|
|
||||
DotSay () { |
|
||||
printf "[\e[1;34m*\e[0m] \e[1;34m $1 \e[0m \n"; |
|
||||
} |
|
||||
|
|
||||
|
|
||||
Say '[PVE Discord Dark UI Theme JSMOD Installer]' |
|
||||
Say 'Internet connection REQUIRED.' |
|
||||
Say '!!ONLY FOR PVE 6.0-4 - 6.1-x!!' |
|
||||
Say '>Press any key to begin installation' |
|
||||
read -p "" |
|
||||
Say ' ' |
|
||||
DotSay 'Backing up files' |
|
||||
cp /usr/share/pve-manager/js/pvemanagerlib.js /usr/share/pve-manager/js/pvemanagerlib.js.bak |
|
||||
cp /usr/share/javascript/extjs/charts.js /usr/share/javascript/extjs/charts.js.bak |
|
||||
cp /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js.bak |
|
||||
DotSay 'Replacing files with modded versions' |
|
||||
rm /usr/share/pve-manager/js/pvemanagerlib.js |
|
||||
wget https://raw.githubusercontent.com/Weilbyte/PVEDiscordDark/master/serverside/jsmod/6.0-4/pvemanagerlib.js -P /usr/share/pve-manager/js/ &> /dev/null |
|
||||
rm /usr/share/javascript/extjs/charts.js |
|
||||
wget https://raw.githubusercontent.com/Weilbyte/PVEDiscordDark/master/serverside/jsmod/6.0-4/charts.js -P /usr/share/javascript/extjs/ &> /dev/null |
|
||||
rm /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js |
|
||||
wget https://raw.githubusercontent.com/Weilbyte/PVEDiscordDark/master/serverside/jsmod/6.0-4/proxmoxlib.js -P /usr/share/javascript/proxmox-widget-toolkit/ &> /dev/null |
|
||||
DotSay 'Applied successfully.' |
|
||||
Say '' |
|
||||
Say 'Installation finished!' |
|
||||
Say 'o7' |
|
@ -1,36 +0,0 @@ |
|||||
#!/bin/bash |
|
||||
|
|
||||
Say () { |
|
||||
printf "\e[1;34m $1 \e[0m \n"; |
|
||||
} |
|
||||
|
|
||||
DotSay () { |
|
||||
printf "[\e[1;34m*\e[0m] \e[1;34m $1 \e[0m \n"; |
|
||||
} |
|
||||
|
|
||||
|
|
||||
Say '[PVE Discord Dark UI Theme JSMOD Installer]' |
|
||||
Say 'Internet connection REQUIRED.' |
|
||||
Say '!!ONLY FOR PVE 6.0-4 - 6.1-x!!' |
|
||||
Say '>Press any key to begin installation' |
|
||||
read -p "" |
|
||||
Say ' ' |
|
||||
DotSay 'Backing up files' |
|
||||
cp /usr/share/pve-manager/js/pvemanagerlib.js /usr/share/pve-manager/js/pvemanagerlib.js.bak |
|
||||
cp /usr/share/javascript/extjs/charts.js /usr/share/javascript/extjs/charts.js.bak |
|
||||
cp /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js.bak |
|
||||
DotSay 'Modding files' |
|
||||
#replace white with #23272a |
|
||||
sed -i -e "s/'white'/'#23272a'/g" /usr/share/pve-manager/js/pvemanagerlib.js |
|
||||
|
|
||||
#Proxmox changed nothing here to last version, so we can use it without modifications |
|
||||
rm /usr/share/javascript/extjs/charts.js |
|
||||
wget https://raw.githubusercontent.com/Weilbyte/PVEDiscordDark/master/serverside/jsmod/6.0-4/charts.js -P /usr/share/javascript/extjs/ &> /dev/null |
|
||||
|
|
||||
sed -i -e "s/#c2ddf2/#7289DA/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js |
|
||||
sed -i -e "s/#f5f5f5/#2C2F33/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js |
|
||||
|
|
||||
DotSay 'Applied patch successfully.' |
|
||||
Say '' |
|
||||
Say 'Installation finished!' |
|
||||
Say 'o7' |
|