OMonAPEX icon indicating copy to clipboard operation
OMonAPEX copied to clipboard

Dashboard Issue

Open wgrisales opened this issue 9 years ago • 1 comments

The Home Page (Dashboard) does not work. in apex 5.0.1 and apex 5.0.3

wgrisales avatar Apr 04 '16 13:04 wgrisales

The home page is under the known issues. Planned to be fixed in the next release. However, I'm an impatient man, So below is the fix that I came up with.

1.) The first issue is simple, all of the regions/gauges on the home page are set conditional to never display. So first change all of those to no condition. 2.) The home page for my apex instance (APEX 5.0.1) was missing two of the supporting js files for the gauges and the count up feature (the numbers over the gauges "count up" for the first few seconds of the page loading) I found them here: https://plugins.svn.wordpress.org/countup-js/trunk/js/countup.js http://bernii.github.io/gauge.js/dist/gauge.min.js Simply go to the home page and edit the "page properties" remove the two js files that are under the "File URLs' section, and paste in the two links above. 3.) some of the count up features are miss-commented, or intentionally commented but need to be corrected. On the home page properties page, under "Function and Global Variable Declaration" remove all of the /* and */ that you see are misplaced commenting out parts of the script. or you can just copy and paste what I have:

var options = {   useEasing : true,   useGrouping : true,   separator : ',',   decimal : '.',   prefix : '% ',   suffix : ' CPU Usage' }; var c0 = new CountUp("cputext", 0, 21, 0, 4, options); /_/ var option = {   useEasing : true,   useGrouping : true,   separator : ',',   decimal : '.',   prefix : '% ',   suffix : ' RAM Usage' }; var c1 = new CountUp("ramtext", 0, 43, 0, 4, option); /_/ var option1 = {   useEasing : true,   useGrouping : true,   separator : ',',   decimal : '.',   prefix : '% ',   suffix : ' HARD Usage' }; var c2 = new CountUp("hardtext", 0, 76, 0, 4, option1);

That should do it! The home page looks great!

apthorn1864 avatar Apr 14 '16 16:04 apthorn1864