Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.5 KB

README.md

File metadata and controls

43 lines (32 loc) · 1.5 KB

pi-hole-material-dark

Custom dark theme CSS for pi-hole to replace skin-blue AdminLTE theme.

Created for use with pi-hole.

Screenshot


Install

  1. open a terminal (or SSH if you're remoting in) ( Ctrl + Alt + T )
  2. Type: cd /var/www/html/
  3. Type: sudo wget https://raw.githubusercontent.com/MBarrows20/pi-hole-material-dark/master/install_Material_Dark_Theme.sh
  4. Type: sudo chmod +x install_Material_Dark_Theme.sh
  5. Type: sudo ./install_Material_Dark_Theme.sh
  6. Follow the onscreen instructions!

If you get a 400 Bad Request after running step 3 above, it's likely that GitHub thinks your PiHole is a webcrawler. In such an event, run the following steps before continuing to step 4:

  1. Type: sudo git clone https://github.com/MBarrows20/pi-hole-material-dark.git
  2. Type: sudo cp pi-hole-material-dark/install_Material_Dark_Theme.sh install_Material_Dark_Theme.sh
  3. Type: sudo rm -rf pi-hole-material-dark

Update

  1. open a terminal (or SSH if you're remoting in) ( Ctrl + Alt + T )
  2. Type: cd /var/www/html/
  3. Type: sudo ./install_Material_Dark_Theme.sh
  4. Follow the onscreen instructions!

Uninstall/Revert

Type the following commands into SSH, line by line.

cd /var/www/html/admin
sudo git reset --hard

License

This project is licensed under the MIT License - see the LICENSE file for details.