Welcome to the PufferPanel community forums! If you need help please register an account and post in the Support category.

Is there any way to add a favicon to the panel?



  • please answer my question <3



  • your not going to like this but you have to do a few things.

    here is a tutorial for ubuntu and debian:
    sudo apt-get install nano
    cd /srv/pufferpanel/app/views
    sudo nano base.html

    • add a new line to the area where all assetts start with <link
    • in that new line paste in the following
    <link rel="shortcut icon" type="image/png" href="/assets/images/favicon.png"/>
    
    • when done press the following keys in order (CTRL+X) (Y) (ENTER)

    sudo nano admin_base.html

    • add a new line to the area where all assetts start with <link
    • in that new line paste in the following
    <link rel="shortcut icon" type="image/png" href="/assets/images/favicon.png"/>
    
    • when done press the following keys in order (CTRL+X) (Y) (ENTER)

    Open your favorite SFTP client
    type <youpanelip>:22 as the host
    type <prefereduser> as the user
    if there is a port option ignore it
    type the prefered user's password as the password
    go to /srv/pufferpanel/app/assets/images
    drag and drop your 16x16 favicon
    rename your favicon to "favicon.png"

    Go back to the command line
    sudo service nginx restart

    and your done.


 

2
Online

851
Users

860
Topics

3.6k
Posts