Comments (12)
The updated js file is here (see variables diffSeconds, diffHours, diffMinutes, and timeDiff):
main.js
And the v2 compatible php file is here (same file as above):
statusPage.php
from statuspage.
@TomasHurtz I posted a way to do this in #18
from statuspage.
Also looking for that. Does this really work with API 2 ? Thanks for file - I will give try.
Copied to Paste Bin: https://pastebin.com/Pdkzrwr1
from statuspage.
from statuspage.
Can you advise the javascript change needs, thanks
from statuspage.
thank you :-)
from statuspage.
from statuspage.
Thanks bgeneto. Could you please add an file statuspage.min.js with your new version of main.js.
So Users could just replace the statuspage.min.js instead of Running it through Gulp.
from statuspage.
Any chance of finding a way to sort them: #18
from statuspage.
Yes - I got it working thank you :-)
from statuspage.
Hey all -
[EDIT: I fixed the below issue using the revised statusPage.php file in the above comment > https://github.com//issues/44#issuecomment-300221190
@bgeneto What I would like to know is what is the difference between main.js and statuspage.min.js ? Do I need both of these JS files (main.js does not appear in the main build ? ] - otherwise - how to incorporate JS changes mentioned?
Issue I am facing is it does not appear to be collecting any Graphing Data in my outputted page: When clicking on the graph icon
Clicking on the icon I get "No graphing data is currently available, sorry!" (appears to be generating from the JS file)
Any one else have this issue? I cleared cache - but not changed.
Could this be due to incorrect API parameters in statusPage.php ? I notice parameters used appear to be from APIv1 (different in APIv2)
from statuspage.
Fixed! Working again now - I had to delete htaccess file and phpfastcache. Then restore phpfastcache.
Would be good if the main branch could be updated to latest ;-)
from statuspage.
Related Issues (20)
- Spell correct HOT 1
- statuspage.min.js not in unix format
- statuspage.min.js not in unix format HOT 8
- Format of 'includedMonitors' and 'excludedMonitors'? HOT 6
- update errors if cache is expired. HOT 2
- HTML entities are not being rendered HOT 1
- 41+ checks: Table grows too large into the credits! HOT 1
- An Error Has Occured? HOT 3
- Friendly err info needed
- Error info in the apache2 log HOT 1
- No Data and PHP Errors HOT 2
- Performance Optimization Suggestion HOT 2
- An error has occured HOT 16
- Suggestion: Add categories or groups to monitors
- Blank screen: Undefined index messages on FreeBSD 11 system
- "An error has occured :(" and #32 fix didn't work. HOT 2
- API version 2 HOT 11
- alertBar messages: Suggestion
- -snip-
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from statuspage.