Make the Statistics section clickable in the cPanel Jupiter theme

Make the Statistics section clickable in the cPanel Jupiter theme

Jupiter is the name of the new default cPanel theme, and one of the annoying things on this new theme is that the Statistics section on the right has no clickable links.

image - Make the Statistics section clickable in the cPanel Jupiter theme

To make the section clickable open the theme file

nano /usr/local/cpanel/base/frontend/jupiter/tools/index.tt

Find the Statistics section and add the links:

image 3 1024x143 - Make the Statistics section clickable in the cPanel Jupiter theme
<a ng-if="::app.url" id="lnkstats_{{::app.id}}" class="app-name" href="{{::app.url}}">{{::app.description}}</a>
<span ng-if="::!app.url" id="lblStatsName_{{::app.id}}" class="app-name">{{::app.description}}</span>

To also display the percentage bar bellow each section, add:

<!-- end limits-wrapper -->
<div class="progress" ng-if="::app.showPercent">
   <div id="progressbar_{{::app.id}}" class="progress-bar" ng-attr-style="width:{{::app.percent}}%"></div>
</div>
image 2 1024x109 - Make the Statistics section clickable in the cPanel Jupiter theme

The end result:

image 1 - Make the Statistics section clickable in the cPanel Jupiter theme
whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.