Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard Issue #7

Open
wgrisales opened this issue Apr 4, 2016 · 1 comment
Open

Dashboard Issue #7

wgrisales opened this issue Apr 4, 2016 · 1 comment
Assignees
Milestone

Comments

@wgrisales
Copy link

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

@apthorn1864
Copy link

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!

@iranapex iranapex added this to the 1.1.0 milestone Apr 16, 2016
@iranapex iranapex modified the milestones: 1.2.0, 1.1.0 Jun 21, 2016
@iranapex iranapex self-assigned this Jun 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants