Weilbyte
5 years ago
No known key found for this signature in database
GPG Key ID: 26E89B106AF3AE3B
2 changed files with
6 additions and
6 deletions
-
serverside/ddInstall.sh
-
serverside/ddRemove.sh
|
|
@ -17,11 +17,9 @@ 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..' |
|
|
|
wget https://raw.githubusercontent.com/Weilbyte/PVEDiscordDark/master/serverside/style.css &> /dev/null |
|
|
|
echo "<style type='text/css' media='screen'>" >> /usr/share/pve-manager/index.html.tpl |
|
|
|
cat style.css >> /usr/share/pve-manager/index.html.tpl |
|
|
|
echo "</style>" >> /usr/share/pve-manager/index.html.tpl |
|
|
|
rm style.css |
|
|
|
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 |
|
|
|
|
|
@ -13,9 +13,11 @@ Say '[PVE Discord Dark UI Theme Remover]' |
|
|
|
Say '>Press any key to remove theme' |
|
|
|
read -p "" |
|
|
|
Say ' ' |
|
|
|
DotSay 'Reverting html template change' |
|
|
|
DotSay 'Reverting template change' |
|
|
|
rm /usr/share/pve-manager/index.html.tpl |
|
|
|
cp /usr/share/pve-manager/index.html.tpl.bak /usr/share/pve-manager/index.html.tpl |
|
|
|
DotSay 'Removing stylesheet' |
|
|
|
rm /usr/share/pve-manager/css/dd_style.css |
|
|
|
DotSay 'Removing images' |
|
|
|
cd /usr/share/pve-manager/images |
|
|
|
rm dd_* |
|
|
|