Themes for Pterodactyl 1.x
This will not break your panel unless you use a diffrent theme version for a diffrent panel version, if it for some reason does break your panel it is simple to remove the theme.
Make sure that the theme you are installing corresponds with the version of the panel you are running; no help will be given if you have mismatched versions!
How do i use them? You simple follow the instructions below, mainly consisting of two or three changes you need to make before you build your panel.
Create a file called main.css in /var/www/pterodactyl/resources/scripts
In that file put this text
@import url(https://oreokitten.github.io/latest/dark-n-purple/user.css);
After that edit the file index.tsx in /var/www/pterodactyl/resources/scripts
On line 6 at the end of the imports add this
import './main.css'; After this build the panel, you can find information of how to do that scroll down
After that just reload your panel and the theme is applied.
In the file admin.blade.php in /var/www/pterodactyl/resources/views/layouts/
On line 36 put the text
After this build the panel, you can find information of how to do that scroll down
After that just reload your panel and the theme is applied.
How do i use them? You simple follow the instructions below, mainly consisting of two or three changes you need to make before you build your panel.
#Install Dependencies The following commands will install the necessary dependencies for building your panel.
#Install NodeJS TIP
You may have to add sudo to the following commands if you are not root.
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - apt install -y nodejs
curl -sL https://rpm.nodesource.com/setup_12.x | sudo -E bash - yum install -y nodejs # CentOS 7 dnf install -y nodejs # CentOS 8 By now, you should have NodeJS 12 installed. Make sure this is the case by checking node -v
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
nvm install node nvm alias default node nvm use node node -v should say 12.20.0 or newer
npm i -g yarn
cd /var/www/pterodactyl
yarn install #Build Panel Run this in your panel directory to apply changes (usually /var/www/pterodactyl)
yarn build:production
Instructions to install the theme Enola are here Enola 1.2.2(Latest Panel Version)
Instructions to install the theme Twilight are here Enola 1.2.2(Latest Panel Version)
This theme is a recolor of the panel that you can edit, more information here Recolor
This theme is a recolor of the panel that you can edit, more information here Dracula 1.2.2(Latest Panel Version)