Themes in Eenos

How to create user interface themes in the Eenos control panel.

Introduction

Getting Started  with themes

Eenos control panel provides an easy method for creating your own theme for the  Eenos control panel. The Eenos control panel user interface uses the Django Template Engine to create web interface themes.

Please check the Django developer documentation to understand how the HTML theme files are generated and used with an application. 

Eenos Currently supports customizing themes for the User control panel   (UAPP)  and Reseller Control panel  (RAPP)

Eenos WAP interface doesn't provide an option to customize the theme at this moment, but if you know how to use Django you can do it by yourself.

Don't modify the themes provided by the system directly, which will be replaced during auto-update time.

Improper editing and customization may affect the proper working of the control panel.

Create a User Control Panel Theme

How to create a custom theme for UAPP?

You can easily customize a theme for your  Eenos end-user control panel. 

Let us create a new theme called  mytheme  as follows,

Step 1: Copy the Theme file

You may copy the default theme files as follows,

cp -arf /usr/local/eenos/uapp/templates/default /usr/local/eenos/uapp/templates/mytheme

Step 2: Copy the Static File

You may copy the following css and JS files too,

cp -arf /usr/local/eenos/uapp/public/static/default /usr/local/eenos/uapp/public/static/mytheme

Step 3: Editing the new theme mytheme.

Edit the theme files in  /usr/local/eenos/uapp/templates/mytheme  and upload all the custom static files to  /usr/local/eenos/uapp/public/static/mytheme 

Step 4:  Change the theme of an  Eenos account

Now we have a new theme named mytheme. You can change the theme of the hosting account from WAP. 

Do not edit the default theme directly, which will be auto-updated regularly. 

Create a Reseller Control Panel Theme

How to create a custom theme for RAPP?

You can easily customize a theme for your  Eenos reseller control panel. 

Let us create a new theme called  mytheme  as follows,

Step 1: Copy the Theme file

You may copy the default theme files as follows,

cp -arf /usr/local/eenos/rapp/templates/default /usr/local/eenos/rapp/templates/mytheme

Step 2: Copy the Static File

You may copy the following css and JS files too,

cp -arf /usr/local/eenos/rapp/public/static/default /usr/local/eenos/rapp/public/static/mytheme

Step 3: Editing the new theme mytheme.

Edit the theme files in  /usr/local/eenos/rapp/templates/mytheme  and upload all the custom static files to  /usr/local/eenos/rapp/public/static/mytheme 

Step 4:  Change the theme of the reseller account

Now we have a new theme named mytheme. You can change the  theme of the hosting account from WAP. 

Do not edit the default theme directly, which will be auto-updated regularly.