Commit Graph

113 Commits

Author SHA1 Message Date
Matthias Jentsch 7fe056d03a Display note when host and service is not found
When the show/host and show/service views do not find a host or service,
don't show a non-working view, but display a error message

fixes #6469
2014-06-30 12:33:51 +02:00
Thomas Gelf 532ab60b36 monitoring/show/history: fix html on empty list
This view script used to render broken HTML on empty result
2014-06-24 21:23:51 +02:00
Thomas Gelf 51c57520ad iconSubmitForm: replace with labelSubmitForm
There is no way in ZF to have an input[type=submit] with an unescaped
label ( = value). I temporarily replaced all iconSubmitForms with
inputs labelled with "X" - as all we used them for were delete
operations.
2014-06-23 14:42:26 +02:00
Thomas Gelf 7f53ba11cf Hook\Grapher: use it in monitoring/show 2014-06-21 04:13:14 +02:00
Thomas Gelf 4821c6e3e5 monitoring/show/history: use limiter, nicer output 2014-06-20 14:02:03 +02:00
Thomas Gelf 5dfd4aedac monitoring/downtime: add missing ticket hook
We used to have this when showing comments, but not for downtimes.
2014-06-20 12:37:09 +02:00
Thomas Gelf ef4403f204 monitoring/show/history: make it look better
Supporting newly implemented history states (comment removal...),
prepare for translation, better styling.
2014-06-17 13:32:12 +00:00
Thomas Gelf 517894d86f show/header.phtml: try to look like other states 2014-06-17 13:22:52 +00:00
Gunnar Beutner a66a1a4729 Refactor the timeSincePrefix and timeUntilPrefix functions
Instead of having two separate functions to get the prefix
and the formatted time interval the new functions return
both the prefix and the time interval.

refs #5981
2014-05-29 13:03:10 +02:00
Gunnar Beutner 7b0a48bef5 Rename timeUnless to timeUntil
refs #5981
2014-05-29 12:38:59 +02:00
Gunnar Beutner d01a98b7e6 Fix some of the time-related grammar mistakes
This updates some of the messages to use "For"
instead of "Since" where appropriate.

fixes #5981
2014-05-29 11:30:08 +02:00
Thomas Gelf 7b58134378 show/history: sorry, typo 2014-05-27 22:16:45 +00:00
Thomas Gelf b47cec3e02 Translation: use translation for monitoring/views
Just a bunch of translation-helper calls

refs #6339
2014-05-27 21:44:02 +00:00
Michael Friedrich d155c7a3fc Fix checks for empty check source attribute
refs ##5814
2014-05-20 23:46:33 +02:00
Michael Friedrich ef2ac077c8 Fix typo in flapping note 2014-05-20 23:45:48 +02:00
Thomas Gelf 941ff2a980 monitoring/show: remove CheckSource helper
It isn't doing anything but escape, so we can safely skip it.
2014-05-20 20:39:02 +00:00
Michael Friedrich 9fbdb65a4b Add check source to host/service details
refs #5814
2014-05-20 20:07:09 +02:00
Thomas Gelf 04cab7e0f8 Fix action target for downtime removal 2014-03-25 08:45:51 +00:00
Thomas Gelf 851bea0725 One more _self-targetting form 2014-03-25 08:03:12 +00:00
Thomas Gelf d4ccc68eab Remove sample graphite preview, should not have been pushed to master 2014-03-25 07:21:46 +00:00
Thomas Gelf b5b4d276d1 Add more structure to host and service details 2014-03-21 18:56:55 +00:00
Thomas Gelf f24e5eaa8a Stay on the same column when switching between services of the same host 2014-03-21 10:30:12 +00:00
Thomas Gelf 8a7ac587d9 Get rid of hardcoded target for action-tables 2014-03-21 10:27:46 +00:00
Thomas Gelf 9517824b41 Better form target settings for more comfort 2014-03-20 16:33:06 +00:00
Thomas Gelf 3be2834af7 "Check now" should stay in the same container 2014-03-20 15:42:24 +00:00
Thomas Gelf 5dd06d8132 Host detail view should also point to _next 2014-03-17 16:36:38 +00:00
Thomas Gelf e0c93d6ca7 JS cleanup
* Precedence rules: skip autorefresh if click is pending
* Clean up the attr VS data mess
* More steps towards a column-count-ignorant GUI
2014-03-17 17:10:03 +01:00
Thomas Gelf 88859cb838 The next fat package: downtimes, everywhere 2014-03-09 21:58:01 +01:00
Thomas Gelf 63fd074a4f Comments are still messy, clean up and fix adding / removing them 2014-03-09 19:29:23 +01:00
Thomas Gelf 7202e13837 Link to filtered contact group list unless we have show/contactgroup 2014-03-09 11:26:57 +01:00
Thomas Gelf e6fc6375b5 Refactor acknowledgements, finally get rid of status component 2014-03-08 21:28:32 +01:00
Thomas Gelf a87925bbf6 Refactored notifications for object detail view 2014-03-08 21:02:22 +01:00
Thomas Gelf c41160405d Dedicated view script for object actions 2014-03-08 19:49:57 +01:00
Thomas Gelf b4aff8f39b Small HTML fix 2014-03-08 19:48:47 +01:00
Thomas Gelf 07f76a631a AVP table should not influence perfdata table sitting there 2014-03-08 19:48:07 +01:00
Thomas Gelf e2955c5af2 Remove obsolete files 2014-03-08 18:55:09 +01:00
Thomas Gelf 740df4ccac Cleaning up object downtimes. What a mess... :( 2014-03-08 18:28:19 +01:00
Thomas Gelf 8e44c66850 Style comment removal. Did it ever work? It doesn't... 2014-03-08 17:16:42 +01:00
Thomas Gelf dc865df3c4 Restyle "Check now" 2014-03-08 17:02:14 +01:00
Thomas Gelf 79fe20a95c No (row) links back in object history, as we are already there 2014-03-08 12:38:31 +01:00
Thomas Gelf 3e09931f2c Restyle object flags 2014-03-08 08:23:48 +00:00
Thomas Gelf d234a87e84 Introduce new detail section headers fitting the rest of the layout 2014-03-08 00:17:42 +00:00
Thomas Gelf d53573ede2 Host services view 2014-03-08 00:00:21 +00:00
Thomas Gelf 30c03b5f23 Host base target should fit service base target 2014-03-07 23:19:27 +00:00
Alexander Klimov 75096dd65b PHTML hotfix 2014-03-07 11:30:23 +01:00
Alexander Klimov a4ed32d357 Using new PHP icon helper 2014-03-07 10:54:39 +01:00
Thomas Gelf 717d80807e Remove flapping icons, that's already handled 2014-03-06 19:51:03 +00:00
Thomas Gelf f929b15651 Object comment snippet now fits the other components 2014-03-06 19:06:14 +00:00
Thomas Gelf ef71f22b7f Reorder detail view components, use new snippets - still unfinished 2014-03-06 19:03:21 +00:00
Thomas Gelf edafcc5f68 Start fading out components/status.phtml in favour of dedicated snippets 2014-03-06 19:02:36 +00:00