Skip to content
Snippets Groups Projects
README.md 2.05 KiB
Newer Older
  • Learn to ignore specific revisions
  • Weilbyte's avatar
    Weilbyte committed
    ![](https://i.imgur.com/mTsbUWk.png)
    
    Weilbyte's avatar
    Weilbyte committed
    
    ## PVEDiscordDark
    PVEDiscordDark is a  CSS 'theme' for the Proxmox Web UI. It was made with Discord's color scheme. Although ~98.9% (Psst, totally not a random percentage) of the Web UI has been darkened, there are some bits such as the CPU/Network/etc graphs that are still white because their background colors are defined in javascript and tbh I am too lazy to mess with that. 
    
    You can check the 'previews' folder in the repo to check out how some stuff look ;)
    
    ## Installation 
    *Can be installed two-ways*:
    * Server-side
    * Browser Extension
    
    **Server-side Installation:**
    1. Enter your PVE **node** shell..
    
    Weilbyte's avatar
    Weilbyte committed
    2. ```wget https://raw.githubusercontent.com/Weilbyte/PVEDiscordDark/master/serverside/ddInstall.sh```
    
    Weilbyte's avatar
    Weilbyte committed
    3. Run ```ddInstall.sh``` with root/sudo.
    4. Follow instructions given. 
    5. Done! 
    
    
    Weilbyte's avatar
    Weilbyte committed
    **If you want the charts/gauges and other elements to be dark mode too please look [here.](https://github.com/Weilbyte/PVEDiscordDark/tree/master/serverside/jsmod)**
    
    Weilbyte's avatar
    Weilbyte committed
    
    
    Weilbyte's avatar
    Weilbyte committed
    **Browser Extension Installation:**
    1. Download a browser extension (such as Stylish) that allows you to change CSS styles 
    
    Weilbyte's avatar
    Weilbyte committed
    2. Follow extension-specific instructions to add custom style. For the style content paste in the contents of this file: ```https://raw.githubusercontent.com/Weilbyte/PVEDiscordDark/master/discordDark.css```
    
    Weilbyte's avatar
    Weilbyte committed
    3. Save style and enable it - and youre done.
    
    ## Uninstall
    *Depending on how you installed it..*
    
    **Server-side Uninstallation:**
    1. Enter your PVE **node** (the one you installed the theme on) shell...
    
    Weilbyte's avatar
    Weilbyte committed
    2. ```wget https://raw.githubusercontent.com/Weilbyte/PVEDiscordDark/master/serverside/ddRemove.sh```
    
    Weilbyte's avatar
    Weilbyte committed
    3. Run ```ddRemove.sh``` with root/sudo.
    4. Follow whatever instructions are given.
    5. Done! Its gone!
    
    **Browser Extension Uninstallation:**
    *Just remove the style from the extension?*
    
    ### Disclaimers
    
    Weilbyte's avatar
    Weilbyte committed
    **Might work with PVE version**
    
    Weilbyte's avatar
    Weilbyte committed
    
    **If youre using the installation script..**
    *Make a backup of ```/usr/share/pve-manager/index.html.tpl```. The script makes one anyways but make another one just to be sure*
    
    *Awoo'ing on this repo is strictly prohibited.*