Provides a publicly accessible list of servers and there status,
Disabled by default!!
When enabled it replaces the login page, show a status page before the login page.
Only change is to the index page to show the status rather than logon, all other changes are in new separate files, this should reduce risk.
This is an initial commit to provide basic functionality, will add features and clean up code in a new commit.
Merge pull request #1 from librenms/master
upate to master
First Status page
Move status and logon pages to same page,
remove kernel version from status page
Cleaned up code and changed to jquery, re: laf suggestions
Laf made some suggestions to previous code,
Removed commented out code,
Changed onClinck function to jGuery,
Cleaned up lots of useless code out of public.inc.php
commit 9fb82b8 contains the changes
Hey bodah-s, looking good with this :)
The "$query = "SELECT * FROM devices ORDER BY hostname";" probably needs to exclude disabled and ignored devices.
Also just noticed that your html/pages/public.inc.php is outputting the footer and other things, I realise this may be because index.php exit's if it needs to call the login.inc.php. Probably best that we fix that rather than duplicating the code.
Apart from that it looks good. Nice work :)
Fix footer, remove ignored/disabled devices form status page, cleanup…
… white space at top of page
Laf, updated the code after your comments,
thanks for your input :)
Would you please have a read of doc/CONTRIBUTING.md and submit a separate pull request there for your contributor agreement? I also recommend that you add your own copyright notice to any new files.
Add Copyright to new file
Updated Authors.md and added copyright.
Fix Copyright Notice(s)