Commit Graph

1201 Commits

Author SHA1 Message Date
Johannes Meyer de24f5f4b6 Revert "js: Do not handle anchor jumps, the browser is able to do it by itself"
This reverts commit 5ccd4a9ef8.

refs #8615
2015-08-06 10:57:41 +02:00
Johannes Meyer 5ccd4a9ef8 js: Do not handle anchor jumps, the browser is able to do it by itself
refs #8615
2015-08-06 10:24:56 +02:00
Johannes Meyer 8cf3b99335 Eventhistory Overview: Remove pagination and provide a load more link instead
refs #8615
2015-08-06 10:23:44 +02:00
Alexander Fuhr 3d846ea270 js/actiontable: Fix the wrong parentheses encoding in multiselect
fixes #9347
2015-08-04 16:49:35 +02:00
Alexander Fuhr ebd103f7ee js/icinga/utils: Implement fixedEncodeURIComponent method
* FYI: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent

refs #9347
2015-08-04 16:49:35 +02:00
Johannes Meyer 15ac59268c Put a small margin around show more links
refs #6677
2015-08-04 15:25:01 +02:00
Markus Frosch 083900dae0 Implement DblClickSelect as a Icinga Behavior
refs #9826
2015-08-04 14:06:33 +02:00
Johannes Meyer 9b051cd7ce reorder-authbackend.phtml: Fix hover styles of icon-only buttons 2015-07-31 08:29:59 +02:00
Johannes Meyer 316a4d8b82 Merge branch 'master' into bugfix/allow-to-configure-how-to-manage-groups-9609 2015-07-30 16:16:04 +02:00
Johannes Meyer 0155599a1a Wizard: Use <pre> instead of <textarea> for displaying the setup's log 2015-07-30 14:13:52 +02:00
Johannes Meyer 8c71d56050 forms.less: Fix link-like styles for buttons and inputs, again 2015-07-30 14:13:06 +02:00
Johannes Meyer 6c086951dd forms.less: Place button-like styles before link-like styles 2015-07-30 13:52:36 +02:00
Johannes Meyer 1479cb4956 setup.less: Reduce button style complexity and remove unecessary styles 2015-07-30 13:51:43 +02:00
Matthias Jentsch 6db79a72d5 Display the rows in the auth backend configuration as active without any delay
refs #8623
2015-07-29 15:21:29 +02:00
Matthias Jentsch 3a85dc7f39 Display the table on single-selection rows as active without any delay
refs #8623
2015-07-29 14:32:26 +02:00
Matthias Jentsch 84f35bc79a Fix last push url in history
Fix issue in history that caused some states to be swallowed by pushUrl, after going back and then trying to update to the previous state.
2015-07-29 12:34:49 +02:00
Matthias Jentsch ecdc03a2d7 Fix selection lost after pushing refresh
Remove old row action code that interfered with action table behavior.

refs #8623
2015-07-29 11:41:53 +02:00
Matthias Jentsch 1de1f119d6 Fix range selection in IE
Cancel selectstart event on all selectable rows in the action table.

fixes #8768
2015-07-28 17:54:08 +02:00
Matthias Jentsch 40d31d02bd Merge branch 'bugfix/selected-row-lost-after-autorefresh-8623'
fixes #8623
2015-07-28 15:30:32 +02:00
Matthias Jentsch cbb9ef10a2 Remove single selections correctly when going back in the history 2015-07-28 15:21:14 +02:00
Matthias Jentsch 8dbd671b0d Conform to coding guidelines, update docstrings and cleanup unused code
refs #8623
2015-07-28 15:21:02 +02:00
Johannes Meyer 4d9aa54814 SortBox: Utilize a separate form for each control
refs #9421
2015-07-27 11:43:47 +02:00
Johannes Meyer 4ab457a062 css: Introduce rules to hide non-js elements if js is enabled and vice versa 2015-07-27 11:40:36 +02:00
Matthias Jentsch f2d253f508 Assure that rows are refreshed correctly on reload
Assure that all links are initialized when the selection is applied after a request. Move action table code into the actiontable behavior.

refs #8623
2015-07-27 10:34:17 +02:00
Johannes Meyer ccc809853a UserBackendConfigForm: Allow to manually validate the configuration
refs #7588
2015-07-24 13:46:17 +02:00
Johannes Meyer 216b762d12 Wizard: Fix layout of form hints 2015-07-24 10:28:14 +02:00
Johannes Meyer 624309774b Fix style of buttons used for reordering user backends 2015-07-24 10:14:18 +02:00
Johannes Meyer ce1cab53c8 css: Move button styles from the setup module into the framework 2015-07-24 10:11:31 +02:00
Johannes Meyer 8ed816002b forms.less: Remove redundant margin from form elements in control groups
refs #9602
2015-07-23 17:33:29 +02:00
Johannes Meyer 073243364d forms.less: Re-introduce class control-groups
refs #9602
2015-07-23 16:49:19 +02:00
Johannes Meyer 54a77b7253 Merge branch 'master' into feature/support-for-file-uploads-8758 2015-07-22 13:30:56 +02:00
Johannes Meyer 0f2351ff1d js: Fix XHR loading of URLs in case window.FormData is not supported
refs #8758
2015-07-22 13:29:44 +02:00
Thomas Gelf c5d68995ec forms.less: top-align field lables and related...
...items like icons. They used to be bottom-aligned, resulting in
slightly confusing form layouts when text areas where involved.
2015-07-22 11:03:01 +02:00
Thomas Gelf d44547e469 forms.less: textarea should look like other inputs 2015-07-22 10:57:14 +02:00
Johannes Meyer cecd94be50 Merge branch 'master' into feature/support-for-file-uploads-8758 2015-07-22 08:47:24 +02:00
Johannes Meyer 5e1ea958b4 js: Correctly process the redirectUrl-meta tag for successful frame uploads
refs #8758
2015-07-21 16:38:52 +02:00
Johannes Meyer 93fbb0231c loader.js: Split processRedirectHeader() to allow partly reuse
refs #8758
2015-07-21 16:37:21 +02:00
Johannes Meyer 9471c3c574 js: Make use of the _frameUpload parameter when submitting a form..
..to an iframe. This ensures that stuff like notifications are immediately
visible to the user after successful form submission.

refs #8758
2015-07-21 15:43:47 +02:00
Johannes Meyer 570dada0d8 js: Manually submit the form if it's being automatically submitted...
...in case we're submitting a multipart/form-data form using the iframe
fallback. The form wouldn't be submitted otherwise.

refs #8758
2015-07-21 14:15:12 +02:00
Johannes Meyer 47fbc24f17 Merge branch 'master' into bugfix/improve-form-notifications-8983
Conflicts:
	library/Icinga/Web/Form.php
	modules/setup/application/forms/AdminAccountPage.php
2015-07-20 15:52:10 +02:00
Johannes Meyer 37b87eb284 js: Add fallback in case XHR file uploads are not possible
refs #8758
2015-07-20 10:52:28 +02:00
Johannes Meyer be88683c19 layout.phtml: Add hidden iframe for non-xhr file uploads
refs #8758
2015-07-20 10:14:55 +02:00
Johannes Meyer 95bcb95cb5 events.js: Prevent default form submission as late as possible 2015-07-20 10:13:48 +02:00
Johannes Meyer 6d4d99aa62 js: Use window.FormData instead of just FormData
refs #8758
2015-07-15 15:49:34 +02:00
Johannes Meyer c1d9cde312 js: Properly submit multipart/form-data
This is not IE <10 compatible. Fix follows. ;-)

refs #8758
2015-07-15 15:25:40 +02:00
Johannes Meyer 3098c21c17 loader.js: Push failed requests to history
The commit ae68e8aec4 reverted
earlier seems to be supposed to do exactly what this one does now.
Prior, the commits ae68e8aec4 and
8bb0e4e0a0 were effectively
neutralizing each other. Quick tests of how Web 2 handles failing
requests while interacting with the browser's history were successful.
If this change breaks something else (again?), leave me a note and do
*not* fix it straight away..
2015-07-06 16:56:44 +02:00
Johannes Meyer b4fe91bb2f Revert "Ajax onFailure: Write component URL to container"
This reverts commit ae68e8aec4.

fixes #9042
fixes #9544
2015-07-06 16:43:49 +02:00
Johannes Meyer 68bd24147c setup.less: Remove border from requirement sets 2015-07-06 13:41:31 +02:00
Johannes Meyer 107c9ff533 Wizard: Use a unordered list to show requirements instead of nested tables
fixes #9533
2015-07-06 13:37:37 +02:00
Johannes Meyer d27434fbb5 Wizard: Use a pointer as cursor for button-like anchors 2015-07-06 13:36:26 +02:00
Johannes Meyer aa88c3ba1b layout-structure.less: Add clearfix class 2015-07-06 13:35:46 +02:00
Johannes Meyer 9b36027f42 Wizard: Make the "button" on the finish page a bit more prominent
refs #7911
2015-07-06 09:17:58 +02:00
Johannes Meyer c8c0e13184 Wizard: Show a textarea on the finish page instead of multiple paragraphs
refs #7911
2015-07-03 16:31:11 +02:00
Johannes Meyer 5b908d85bb Form: Fix notifications
* Coding style issues
* Notifications were not grouped by type
* Notifications of sub-forms were overwriting existing ones
(cherry picked from commit 147f6be714)
2015-07-01 14:26:03 +02:00
Johannes Meyer b61c9708bb main-content.less: Use a more friendlier color for info boxes
refs #8983
2015-06-30 15:05:57 +02:00
Johannes Meyer d5ba40ac19 Form: Add hint support
Hints are short messages displayed at the bottom of a form
used to describe specific aspects on how to interact with
the form.

refs #8983
2015-06-30 15:02:58 +02:00
Johannes Meyer 147f6be714 Form: Fix notifications
* Coding style issues
* Notifications were not grouped by type
* Notifications of sub-forms were overwriting existing ones
2015-06-30 14:25:33 +02:00
Matthias Jentsch aecfb2eb97 Merge branch 'bugfix/multiselection-not-visible-9054'
fixes #9054
fixes #9346
2015-06-30 14:08:19 +02:00
Matthias Jentsch 6a7e3fe440 Document multi selection and use clearer names
refs #9054
2015-06-30 13:03:41 +02:00
Matthias Jentsch 975a834bd4 Remove unused code and clean up 2015-06-30 12:28:41 +02:00
Matthias Jentsch e0d588cda3 Fix look and feel of row selection
Always refresh all tables on render and click events, to display or remove active rows without any delay.

refs #9054
refs #9346
2015-06-30 11:53:38 +02:00
Johannes Meyer 2158b2701c forms.less: Fix scattered design of form elements without help 2015-06-30 10:53:02 +02:00
Matthias Jentsch 96677fb6c7 Fix selection when clicking on regular links
refs #9054
refs #9346
2015-06-29 18:51:32 +02:00
Matthias Jentsch aec59d9941 Use current filter to highlight active rows instead of storing active rows in JS
Clean up selection code and move it into separate behavior and parse filter query to fetch selectable rows.

refs #9054
refs #9346
2015-06-29 18:48:42 +02:00
Johannes Meyer f2ba70d5ab GroupController: Fix design for showing a group 2015-06-25 11:36:26 +02:00
Johannes Meyer af7426451a UserController: Fix design for showing a user 2015-06-25 11:27:28 +02:00
Johannes Meyer ebe144c16a Form: Do not encode actions twice 2015-06-24 16:15:45 +02:00
Johannes Meyer f5e30a84f1 Improve the look of headings in the setup wizard 2015-06-19 15:44:43 +02:00
Thomas Gelf 1cabe95506 setup.less: no underlined h1 2015-06-18 16:41:58 +02:00
Thomas Gelf 76a32f769e main-content.less: larger default avp th column 2015-06-18 16:39:34 +02:00
Thomas Gelf ffd27e84d6 login.less: no text-variant for header 2015-06-18 16:39:09 +02:00
Thomas Gelf 80802dbda2 defaults.less: fix missing link hover underline 2015-06-18 16:38:46 +02:00
Thomas Gelf cd70c27519 Merge remote-tracking branch 'origin/master' into feature/refine-ui-for-rc1-9361 2015-06-18 15:18:42 +02:00
Thomas Gelf 382085e30c defaults.less: adjust h3-h6 2015-06-18 15:17:41 +02:00
Thomas Gelf bf68edf65c monitoring/css: improve plugin output readability 2015-06-18 15:13:48 +02:00
Thomas Gelf 7ee192e774 fullscreen: no more fixes controls and padding 2015-06-18 13:41:12 +02:00
Thomas Gelf 321924906f layout-structure: font size for fullscreen tabs 2015-06-18 13:41:12 +02:00
Thomas Gelf 2f62a4383a Layout: add showFullscreen parameter
refs #6729
2015-06-18 13:41:12 +02:00
Thomas Gelf 55dd3747f7 notifications: remove on click
This allows one to get rid of them faster in case access to the
underlying content is needed
2015-06-18 13:29:47 +02:00
Thomas Gelf 7e20b66aac defaults.less: remove left header borders...
...and adjust paddings/margins
2015-06-18 11:27:43 +02:00
Thomas Gelf 3462f0ee9a Merge remote-tracking branch 'origin/master' into feature/refine-ui-for-rc1-9361
Conflicts:
	modules/monitoring/application/views/scripts/host/history.phtml
	modules/monitoring/application/views/scripts/list/services.phtml
2015-06-18 11:26:51 +02:00
Matthias Jentsch 5b517a2cb0 Improve table layout
Add alternating colors to table rows, to improve visibillity of the table.

refs #9361
2015-06-17 17:28:28 +02:00
Matthias Jentsch 42e712402c Move grey hover effect back into main module
refs #9361
2015-06-17 14:30:46 +02:00
Johannes Meyer 858c015d4c Move notification related css into footer-elements.less..
..and fix the border and z-index.
2015-06-17 13:37:11 +02:00
Johannes Meyer 31406a70bc Show a small border above the first notification
Looks better, somehow..

refs #8247
2015-06-17 12:54:36 +02:00
Johannes Meyer 4d06bff5e8 Merge branch 'master' into feature/Move-notifications-to-the-bottom-of-the-page-8247 2015-06-17 12:47:58 +02:00
Thomas Gelf 09c0ebcacd list/services: flip host/service for readability
Re-allow table.action to manually choose row action link if it should not
be the first one. This existed once but got lost.
2015-06-16 02:36:53 +02:00
Thomas Gelf e962b44b5e user/show: get rid of useless styles...
...and use our default HTML tags/classes instead
2015-06-16 02:11:16 +02:00
Thomas Gelf ea0c93c21b main-content.less: move even more CSS to monitoring 2015-06-16 01:57:34 +02:00
Thomas Gelf 774483c730 main-content.less: remove obsolete style 2015-06-16 01:55:57 +02:00
Thomas Gelf 8c28bf8577 defaults.less: slightly adjust headers 2015-06-16 01:31:42 +02:00
Thomas Gelf 9b34729a7a defaults.less: color definition cleanup 2015-06-16 01:31:01 +02:00
Thomas Gelf 796b1d7601 forms.less: do not see the reason for in line hX 2015-06-16 01:30:00 +02:00
Thomas Gelf f4fc55e741 layout-structure.less: reduce main containers font
...size
2015-06-16 00:52:52 +02:00
Thomas Gelf 5cb4aba09b main-content.less: remove more font size definitions 2015-06-16 00:52:19 +02:00
Thomas Gelf 6ad9b5bc78 defaults.less: remove .page-header mixin
Not flexible enough, mixins also lead to redundancy that could be
avoided otherwise. e.g.: tinystatesummary
2015-06-16 00:36:34 +02:00
Thomas Gelf 5e61d36a3a defaults.less: make headers look different 2015-06-15 23:34:03 +02:00
Thomas Gelf bd124baa4d layout-structure: less custom style and sizing 2015-06-15 23:33:30 +02:00
Thomas Gelf 11a6990ea8 main-content.less: remove special header styling 2015-06-15 23:32:58 +02:00
Thomas Gelf 0170d9941a Merge remote-tracking branch 'origin/master' into feature/refine-ui-for-rc1-9361 2015-06-15 23:08:17 +02:00
Matthias Jentsch 42de13a2b9 Merge branch 'feature/ssh-remote-connection-resource-configuration-7595'
resolves #7595
2015-06-15 17:30:42 +02:00
Matthias Jentsch bcc128255c Remove unused CSS 2015-06-09 10:37:36 +02:00
Matthias Jentsch 4cea9f15e9 Add heading to user and group view and fix layout 2015-06-09 10:29:45 +02:00
Johannes Meyer 17fa0d3f11 Revert "Improve group and user view layout"
This reverts commit 44e3dba362.
Reason:
* Controls are controls, not content
* Controls must still be shown in case of a non-matching filter
2015-06-09 08:23:06 +02:00
Matthias Jentsch 44e3dba362 Improve group and user view layout
Display header and hide filter and sort widgets when there are no entries to be sorted or filtered.
2015-06-08 16:19:03 +02:00
Alexander A. Klimov 1bd18c5adb Merge branch 'feature/Show-Icinga-Web-2-s-version-in-the-frontend-9247'
resolves #9247
2015-06-08 12:40:14 +02:00
Alexander A. Klimov 0b1bb54c26 Rename .fileNotReadable to .message-error
refs #9247
2015-06-08 11:22:26 +02:00
Alexander A. Klimov e15b144155 Revert "Rename .fileNotReadable to .message-error"
This reverts commit 6b14195809.
2015-06-08 11:16:59 +02:00
Thomas Gelf cd20ec385c header-elements.less: remove obsolete user style 2015-06-05 12:59:18 +02:00
Thomas Gelf edeb24792e CSS: move monitoring styles to monitoring module 2015-06-05 12:49:07 +02:00
Thomas Gelf 21d3e64ff0 defaults.less: attempt to use more global variables 2015-06-05 12:43:35 +02:00
Thomas Gelf 44742a83a8 main-content.less: remove exceptional header styles 2015-06-05 12:43:03 +02:00
Thomas Gelf 9795617e4d defaults.less: new header styling 2015-06-05 12:42:32 +02:00
Alexander A. Klimov 6b14195809 Rename .fileNotReadable to .message-error
refs #9247
2015-06-05 12:38:55 +02:00
Thomas Gelf 9c8752844f main-content-less: no border for controls title 2015-06-03 15:35:51 +02:00
Thomas Gelf b5769d2f4b layout-structure.less: fix missing bracket 2015-06-03 15:35:51 +02:00
Thomas Gelf 7a20432b6b main-content.less: no left margin for icons 2015-06-03 15:35:51 +02:00
Thomas Gelf c785b61874 layout-structure.less: style separated controls 2015-06-03 15:35:51 +02:00
Thomas Gelf 421cd1fdd8 main-content.less: no border for new sections 2015-06-03 15:35:50 +02:00
Thomas Gelf 34700f483f defaults.less: no more petrol headers 2015-06-03 15:35:50 +02:00
Matthias Jentsch e7a875da26 Merge branch 'bugfix/perfdata-details-hidden-8334'
fixes #8334
2015-06-02 17:51:57 +02:00
Matthias Jentsch 198834294f Fix table position for perfdata without piecharts
refs #8334
2015-06-02 17:30:24 +02:00
Matthias Jentsch ff01ee4f20 Move perfdata table left to save horizontal space
refs #8334
2015-06-02 17:07:34 +02:00
Johannes Meyer cd0c418854 Merge branch 'master' into feature/user-and-group-management-8826 2015-06-02 10:44:13 +02:00
Johannes Meyer ea959c2dfd Introduce controller UsergroupbackendController
refs #8826
2015-05-29 16:35:30 +02:00
Alexander A. Klimov 0ba4d24880 Move notifications to the bottom of the page
refs #8247
2015-05-29 14:17:12 +02:00
Eric Lippmann 70d98f3ae0 Don't render disabled input elements white 2015-05-28 16:27:43 +02:00
Alexander A. Klimov d7bdc59801 Don't change the status text's color for ok/up on hover
fixes #8934
2015-05-28 14:25:36 +02:00
Eric Lippmann 1bfbce98ac Disable all form controls on submit to prevent resubmission
fixes #7151
2015-05-28 13:17:00 +02:00
Alexander Fuhr b2e61a2ebd Add resource teaxtarea css styling for ssh-identity
refs #7595
2015-05-28 10:45:57 +02:00
Johannes Meyer 6e382bd127 Provide a css rule for informational notifications
aka Notification::info()
2015-05-26 16:53:47 +02:00
Johannes Meyer ec556edc65 Merge branch 'master' into feature/user-and-group-management-8826 2015-05-26 09:28:35 +02:00
Johannes Meyer 88f5bb8368 js: Relax check whether to switch to single column layout upon redirect
This fixes the problem when redirecting from a form using the same route
as in the leftmost column but with a different querystring, that one gets
the same route shown twice.
2015-05-22 16:54:59 +02:00
Johannes Meyer 705bb665a5 UserController: List memberships when showing a user
refs #8826
2015-05-22 15:53:47 +02:00
Bence Nagy 01b453eeb1 Fix tactical overview colors
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-05-22 12:27:12 +02:00
Johannes Meyer 265725447d Merge branch 'master' into feature/user-and-group-management-8826 2015-05-22 10:06:31 +02:00
Johannes Meyer 0686bc1d86 GroupController: List members when showing a group
refs #8826
2015-05-21 16:38:47 +02:00
Eric Lippmann 54577d04bd Merge branch 'master' into bugfix/time-formatting-6778
Conflicts:
	modules/monitoring/application/views/scripts/list/comments.phtml
	modules/monitoring/application/views/scripts/list/hostgroups.phtml
	modules/monitoring/application/views/scripts/process/info.phtml
	modules/monitoring/application/views/scripts/show/components/downtime.phtml
	modules/monitoring/application/views/scripts/show/components/notifications.phtml
	modules/monitoring/public/css/module.less
2015-05-21 14:57:01 +02:00
Eric Lippmann 1e9337846a ui: Fix refreshing partial time counters
refs #6778
2015-05-21 10:16:54 +02:00
Johannes Meyer ed166d6eb7 GroupController: Add showAction
refs #8826
2015-05-20 16:17:37 +02:00
Johannes Meyer 94cd4b91e5 GroupController: Just show a group's name when listing groups
refs #8826
2015-05-20 15:54:47 +02:00
Johannes Meyer 2cec4a6d67 UserController: Add showAction
refs #8826
2015-05-20 15:41:02 +02:00
Johannes Meyer 9891dc4491 UserController: Just show a user's name when listing users
Any additional information will be shown in the detail view soon.

refs #8826
2015-05-20 15:00:29 +02:00
Johannes Meyer 9fdcadaa97 UserController: Allow to add new users in case no users were found
refs #8826
2015-05-20 14:13:55 +02:00
Johannes Meyer 4a48997f47 GroupController: Add links to add and remove groups to the list action's view
refs #8826
2015-05-20 14:07:24 +02:00
Johannes Meyer fecf7a52b0 UserController: Add links to add and delete users to the list action's view
refs #8826
2015-05-20 13:53:19 +02:00
Alexander A. Klimov a524b1433e Don't let a long plugin output make the whole container horizontally scrollable
fixes #8941
2015-05-20 13:48:51 +02:00
Matthias Jentsch 54207d3427 Revert "Abort pending AJAX requests before page unload"
This reverts commit 94bdb8b4b0. After the patch, Firefox shows an error message on each reload for an unknown reason.

refs #7759
2015-05-19 17:06:22 +02:00
Matthias Jentsch 94bdb8b4b0 Abort pending AJAX requests before page unload
Abort all pending requests before the page unload, to avoid confusing error messages during page reloads. Avoid rendering the site unusable in cases where the site is still being used after the beforeunload event.

fixes #7759
2015-05-19 16:35:44 +02:00
Johannes Meyer fb07f0b94c Merge branch 'master' into feature/user-and-group-management-8826
Conflicts:
	library/Icinga/Authentication/Backend/LdapUserBackend.php
	library/Icinga/Protocol/Ldap/Query.php
2015-05-19 14:14:03 +02:00
Matthias Jentsch 94555d7998 Streamline layout of all multi-views
Fix small inconsistencies between layout of downtime, comment, service and host multi-views.
2015-05-18 17:17:30 +02:00
Matthias Jentsch 592d5eadc1 Merge branch 'feature/improve-multi-select-view-8565' 2015-05-18 16:00:52 +02:00
Matthias Jentsch e84491d438 Improve multi view layout
refs #8565
2015-05-18 14:49:06 +02:00
Johannes Meyer 524c449649 Merge branch 'master' into feature/user-and-group-management-8826 2015-05-18 11:28:07 +02:00
Alexander Fuhr 19243e6885 Add css cursor:pointer to buttons 2015-05-15 13:24:27 +02:00
Alexander Fuhr 93470db81d Add css styling for form notifications
refs #9203
2015-05-15 13:05:24 +02:00
Johannes Meyer c91d3e52ac Merge branch 'master' into feature/user-and-group-management-8826 2015-05-12 15:39:02 +02:00
Matthias Jentsch 25f397042b Merge branch 'master' into feature/improve-multi-select-view-8565
Conflicts:
	modules/monitoring/application/controllers/HostsController.php
	modules/monitoring/application/controllers/ServicesController.php
	modules/monitoring/application/views/scripts/hosts/show.phtml
	modules/monitoring/application/views/scripts/list/hosts.phtml
	modules/monitoring/application/views/scripts/partials/host/objects-header.phtml
	modules/monitoring/application/views/scripts/partials/service/objects-header.phtml
	modules/monitoring/application/views/scripts/services/show.phtml
	modules/monitoring/public/css/module.less
	public/js/icinga/behavior/tooltip.js
2015-05-11 13:28:43 +02:00
Johannes Meyer 1e1b9540f0 UserController: Add backend selection control
refs #8826
2015-05-08 09:54:45 +02:00
Matthias Jentsch 7c8ff44fd1 Fix comment and downtime list inline forms
refs #8903
refs #8902
2015-05-07 10:59:37 +02:00
Johannes Meyer 1682b0ee32 Introduce controller GroupController
Still only able to list groups, more to follow...

refs #8826
2015-05-05 09:24:28 +02:00
Johannes Meyer d171dd2ec9 Introduce controller UserController
Still only able to list users, more to follow...

refs #8826
2015-05-04 17:04:50 +02:00
Johannes Meyer da7aa23820 Merge branch 'master' into bugfix/make-all-views-dashboard-compliant-7876 2015-04-20 15:20:23 +02:00
Johannes Meyer 76305269a9 Hide the top margin for group views in the dashboard
refs #7876
2015-04-20 13:18:57 +02:00
Johannes Meyer 5196f16bde Do not forcibly hide controls in the dashboard
Our views respect view=compact now entirely so there is no need for such
a generic "solution" since it also prevents some views from being
completely displayed in the dashboard such as the host, service and
contact detail view.

refs #7876
2015-04-20 13:06:45 +02:00
Matthias Jentsch ce6be0cc0f Only use JS tooltips when non-native tooltip behavior is required
Only display JS tooltips when there are specific requirements for delay, there is a specific alignment or HTML markup can be rendered in the tooltip.

fixes #9025
2015-04-20 11:21:10 +02:00
Johannes Meyer 54a370ca22 Merge branch 'master' into bugfix/make-all-views-dashboard-compliant-7876 2015-04-20 11:15:04 +02:00
Johannes Meyer 7735e5d31d Fix padding and margin of .content and .controls
refs #7876
2015-04-17 16:07:18 +02:00
Johannes Meyer b52b507134 FilterEditor: Fix css 2015-04-17 10:05:48 +02:00
Johannes Meyer 6d0870ad2e Adjust padding and margin of .content and .controls
refs #7876
2015-04-17 10:04:24 +02:00
Thomas Gelf ae7d679a6a Revert "Do not destroy all global on mailto link clicks"
This reverts commit 16b9c73436.

As I already mentioned, this re-introduces the problem that you'll
get ugly "lost connection to web server" notifications. Easiest way
to reproduce this: click your browsers reload button while a request
is pending - or just click reload a couple of times while showing the
dashboard.

refs #7759
2015-04-16 21:01:08 +02:00
Matthias Jentsch 6898a4e0d5 Display icon tooltips without delay
Original functionality was broken when changing the icon library.
2015-04-16 18:32:47 +02:00
Matthias Jentsch f07c0d83e8 Add option to change tooltip settings from data attributes
refs #9025
2015-04-16 18:32:47 +02:00
Matthias Jentsch aa409bda72 Fix formatting of js error log entries generated from responses
Replace multiple whitespace characters with a single one and remove linebreaks.

refs #8711
2015-04-16 12:15:59 +02:00
Eric Lippmann 796cbffbd7 Merge branch 'master' into bugfix/time-formatting-6778
Conflicts:
	modules/monitoring/application/views/scripts/show/components/notifications.phtml
2015-04-15 15:43:39 +02:00
Johannes Meyer 17262ae2bd Make the sort control floating at the right by default
refs #7876
2015-04-15 14:21:27 +02:00
Johannes Meyer ed2de3c4d0 Fix SortBox widget
refs #7876
2015-04-15 14:20:36 +02:00
Johannes Meyer be05d3a73a Fix dashboard header handling
refs #7876
2015-04-15 13:23:34 +02:00
Matthias Jentsch 1f0940c8e8 Remove all selections closing the detail area
fixes #8781
2015-04-13 17:55:41 +02:00
Matthias Jentsch f4c0b35eff Remove unused code 2015-04-13 17:55:41 +02:00
Matthias Jentsch 16b9c73436 Do not destroy all global on mailto link clicks
Only call the cleanup code on the unload event, beforeunload is only for asking for confirmation.

fixes #7759
2015-04-13 17:55:41 +02:00
Matthias Jentsch 0312d8d6da Add pie chart and state summary to command forms
refs #8565
2015-04-09 14:01:56 +02:00
Eric Lippmann 0baeb32751 Temporary disable timesince ui counter
refs #6778
2015-04-09 12:05:45 +02:00
Eric Lippmann 0de2dbd626 Temporary disable timeuntil ui counter
refs #6778
2015-04-08 15:23:00 +02:00
Matthias Jentsch 5383999ef7 Add warning to links that open in a new window
Add warning on mouseover / focus as recommended by as recommended by WCAG20 G201

refs #7937
2015-03-19 10:49:28 +01:00
Johannes Meyer d6e5afa6d5 Fix that a menu section is not expanded in a popup when hovered
fixes #8695
2015-03-13 15:01:47 +01:00
Thomas Gelf 560b8a556d layout-colors.less: replace hardcoded "petrol" 2015-03-13 09:03:46 +01:00
Eric Lippmann efd7eb5793 Simplify skip-links' CSS
refs #8729
2015-03-13 04:18:31 +01:00
Eric Lippmann 2e1ae185fb Retain detail URL if the layout is rerendered after a redirect
refs #8605
2015-03-13 04:04:58 +01:00
Eric Lippmann 1bd2e7cb84 Submit forms to the container's target URL if the form's action is not set
refs #8605
2015-03-13 04:02:42 +01:00
Eric Lippmann b5abff0313 Fix that the detail URL is no longer appended to the redirect URL on login
JavaScript relied on #redirect but we now protect IDs which make them unusable
for JS and CSS.

refs #8728
2015-03-13 03:48:46 +01:00
Eric Lippmann 29d5fd351b Merge branch 'bugfix/logout-external-8626'
fixes #8626
2015-03-12 16:47:49 +01:00
Eric Lippmann 8b7250bfa6 JS: Focus the element referenced by the anchor on anchor navigation ...
... instead of looking for any heading.
2015-03-12 16:08:47 +01:00
Eric Lippmann 77b99552a4 Add JSDoc to Icinga.Events.prototype.handleAnchor() 2015-03-12 16:08:47 +01:00
Eric Lippmann 6dc48fe9d3 CSS: Remove .skip-links-inline ...
... because we don't use it.
2015-03-12 16:08:47 +01:00
Eric Lippmann 90971f2caf Revert "Merge branch 'feature/organize-headings-7976'"
This reverts commit ea2a17a76c, reversing
changes made to e72de8dfe1.

refs #7976
fixes #8647
2015-03-12 16:08:34 +01:00
Thomas Gelf 5270acd645 events.js: correctly detect form target container
This is for forms with no submit button.

fixes #8710
2015-03-12 11:30:21 +01:00
Thomas Gelf 3af36015ff dashboard: do not fix and hide any controls
It would be better if view scripts would care about this, but as we
failed so many times this might be the better option.

fixes #8697
2015-03-12 10:04:19 +01:00
Eric Lippmann 7f94858b8d Add JSDoc to Icinga.Loader.prototype.processRedirectHeader()
refs #8626
2015-03-11 21:26:44 +01:00
Eric Lippmann 031f9ddc84 Don't always redirect to the current window's URL if the redirect URL is __SELF__
Please see code comments for an explanation.

refs #8626
2015-03-11 21:24:56 +01:00
Johannes Meyer 59f43a0f5e Show module requirements as a separate table
refs #8508
2015-03-10 10:56:05 +01:00
Johannes Meyer c44d5d2a73 Use a custom RecursiveIteratorIterator to render a RequirementSet
refs #8508
2015-03-10 09:31:57 +01:00
Johannes Meyer cddcde9494 Setup: Automatically check the respective admin account type selection
resolves #8603
2015-03-06 15:41:25 +01:00
Matthias Jentsch 4724eb907f Fix site layout of multi-views
Fix responsiveness and add icons for plugin output section.

refs 8565
2015-03-06 14:49:33 +01:00
Matthias Jentsch 0623404963 Add missing layout color for "down" badge
refs #8565
2015-03-06 12:46:49 +01:00
Matthias Jentsch 860cc59155 Implement new layout for service multi-view
refs #8565
2015-03-05 18:32:38 +01:00
Johannes Meyer d9fdcf036b Show a form based autosubmit warning when toggling instance features
refs #7935
2015-03-03 14:34:08 +01:00
Johannes Meyer 747e51553e Allow the Autosubmit decorator being used on forms as well
refs #7935
2015-03-03 13:33:26 +01:00
Johannes Meyer 2af83e7d72 Installation: Use native form title and description support where appropriate
refs #7947
refs #7976
2015-03-02 18:40:47 +01:00
Johannes Meyer 4d2bd75a38 Installation: Fix ugly checkbox positioning when selecting modules 2015-03-02 18:40:46 +01:00
Matthias Jentsch 92a15a6ee4 Fix badge css
Nav element added for accesssibility destroyed the badge CSS. Make badge CSS more robust against inserted elements.
2015-03-02 18:26:33 +01:00
Johannes Meyer 1a334f8d64 Add decorator FormDescriptions
This decorator displays a list of messages at the top of a form.

refs #7947
2015-03-02 13:45:24 +01:00
Johannes Meyer 96c132908d Provide a warning on autosubmit form elements and a title for the apply btn
resolves #7935
2015-02-27 13:09:13 +01:00
Johannes Meyer 6d81a194ab Make form element descriptions accessible
Re-added the Help decorator to make sure an element's description
is being added in an accessible way.
2015-02-27 08:10:25 +01:00
Johannes Meyer 4351603243 Fix that editing an auth backend does not open the next column 2015-02-26 14:48:37 +01:00
Alexander Fuhr 16200417eb Add spinner active indicator for form submit buttons
refs #7968
2015-02-25 14:15:32 +01:00
Alexander Fuhr c029ec1af9 Replace animate-spin with own animate implementation in spinner
refs #7968
2015-02-25 13:53:00 +01:00
Alexander Fuhr 7f883a4770 Add own animation.less to provide own parameterized animate function
refs #7968
2015-02-25 13:51:26 +01:00
Alexander Fuhr ef79d6bc12 Replace spinner.active font-family css definition with a note
refs #7968
2015-02-25 13:34:58 +01:00
Alexander Fuhr 8669dcb078 Add font-family to the active spinner icon
refs #7968
2015-02-25 13:23:12 +01:00
Alexander Fuhr c583a351bb Add .spinner css definition
refs #7968
2015-02-25 12:11:58 +01:00
Alexander Fuhr 4505718ecc Move spinner indicator functionality to linkClicked method
refs #7968
2015-02-25 12:10:08 +01:00
Alexander Fuhr 5297b15a61 Merge branch 'master' into feature/refresh-control-7968 2015-02-24 14:41:09 +01:00
Johannes Meyer 956efe5ef9 Merge branch 'master' into feature/link-labels-8458
Conflicts:
	application/views/scripts/config/application.phtml
	application/views/scripts/config/module.phtml
	application/views/scripts/config/modules.phtml
	library/Icinga/Web/Widget/Dashboard/Dashlet.php
	modules/monitoring/application/controllers/TimelineController.php
2015-02-24 08:42:36 +01:00
Johannes Meyer 61dc4c09f0 Fix css of the event grid 2015-02-23 17:33:44 +01:00
Alexander Fuhr aa5c52dfdd Implement content refresh control next to dropdown tab
refs #7968
2015-02-23 17:02:44 +01:00
Alexander Fuhr ac26807ab7 Add new spin an cw icon for refresh control
refs #7968
2015-02-23 17:01:38 +01:00
Johannes Meyer 04d2c78983 Allow to move content not wrapped by <div> to another container 2015-02-23 16:28:12 +01:00
Marius Hein 44019f4e67 Events: Quick fix for access the focusable element
refs #7976
2015-02-23 16:06:21 +01:00
Marius Hein 2dda3be87b Merge remote-tracking branch 'origin/master' into feature/organize-headings-7976 2015-02-23 14:28:48 +01:00
Matthias Jentsch 2992bf3445 Always display tooltips in all charts
Make information about data types available to colorblind, when hovering
over the displayed data set

fixes #8364
2015-02-18 13:21:42 +01:00
Marius Hein a61e309402 Header: Scrolling Position fix for skiplinks
refs #7976
2015-02-18 10:56:21 +01:00
Marius Hein 32226418af Header: Add header to process/info
refs #7976
2015-02-17 16:12:41 +01:00
Marius Hein d3c79dae32 Merge branch 'master' into feature/organize-headings-7976 2015-02-17 15:21:29 +01:00
Johannes Meyer 3dce0e434a Add more sophisticated fix for keeping the focus after an autorefresh
fixes #8350
2015-02-17 09:24:38 +01:00
Marius Hein ea57e7a786 History: Do not write abort requests to browser history
Remove req.historyTriggered and introduce req.addToHistory.
2015-02-16 15:56:50 +01:00
Marius Hein 6cc428d0e1 History: Combined cleanup regular expression 2015-02-16 15:38:16 +01:00
Johannes Meyer 0c0478688e js: Fix that buttons with any DOM descendants are not ignored by linkClicked
fixes #8380
2015-02-16 15:07:31 +01:00
Marius Hein 2aca4dc6d5 History: Do not push same url twice 2015-02-16 14:11:23 +01:00
Marius Hein ae68e8aec4 Ajax onFailure: Write component URL to container
This is needed that history can push the correct detail url
2015-02-16 14:11:11 +01:00
Alexander Fuhr 240c55fcaf Adjust on focus css style for the auto refresh trigger button
refs #7945
2015-02-16 12:05:26 +01:00
Alexander Fuhr 7be134a774 Merge master fixed conflicts 2015-02-16 11:24:15 +01:00
Marius Hein 936bfd43b0 Skip Links: Remove logo focus and move links into the menu 2015-02-16 10:57:31 +01:00
Alexander Fuhr 73a03ada83 Move autoRefreshForm to skip-links
refs #7945
2015-02-13 15:33:39 +01:00
Alexander Fuhr 2112676594 Implement hidden accessible control for auto refresh on the page
refs #7945
2015-02-13 14:34:29 +01:00
Marius Hein cd11cf3469 Fix close button: Test the anchor if it belongs to us 2015-02-13 11:47:16 +01:00
Marius Hein 7ca2e1d282 Fix close button: Test the anchor if it belongs to us 2015-02-13 11:45:20 +01:00
Marius Hein bcc03f8160 Focus: Set the focus to the next usable element
Fix copy and paste error and find h1 first.

refs #7976
2015-02-13 11:39:28 +01:00
Eric Lippmann 9bf8488f68 js: Remove out-commented function hrefIsHashtag from events.js 2015-02-13 09:59:34 +01:00
Marius Hein f586714f02 Skip Links: Select a more useful object
Skip links can select a container and find a usable element inside. Adapt
project jquery variable style.

refs #7976
2015-02-12 16:34:50 +01:00
Marius Hein fdcad4928e Tinystatesummary: Adjust styles for summaries and headers
refs #7976
2015-02-12 15:07:44 +01:00
Johannes Meyer 1d6c65f7fc Move the login form's heading above the authentication warnings 2015-02-12 13:49:31 +01:00
Johannes Meyer 9232c5cf22 Add aria-hidden="true" to all icons that exist only for design reasons
refs #8360
2015-02-12 13:49:31 +01:00
Marius Hein b6daf2237d Menu: Add html5 nav element to menu
refs #7933
2015-02-12 13:14:01 +01:00
Marius Hein 53818f50c6 Skip Links: Add anchor handlint to events
refs #7933
2015-02-12 13:13:52 +01:00
Marius Hein ca4477de5b Skip Links: Add to body and create style
refs #7933
2015-02-12 13:13:47 +01:00
Thomas Gelf d10beb7604 js: no console.log. please! 2015-02-09 15:26:55 +01:00
Johannes Meyer 423025b3fe javascript: Do not bind the button click event
Catching form submit events is sufficient as catching the button click
event is not an option due to circumventing the browser's native form
validation logic otherwise.

refs #8349
2015-02-05 13:21:03 +01:00
Matthias Jentsch b56eb7b669 Fix keyboard navigation
Store current focus position before reload and apply it after rendering.

fixes #8350
2015-02-04 18:01:06 +01:00
Eric Lippmann 6bae2e0a53 Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL 2015-02-04 10:52:27 +01:00
Matthias Jentsch 2f254851e3 Fix pieChart layout and add indicator for truncated piecharts 2015-02-03 17:34:56 +01:00
Eric Lippmann ed411ec9b6 Increase size of the permissions set input
fixes #7762
2015-02-03 16:58:53 +01:00
Matthias Jentsch e8466ec7be Fix inlinePie borders and SVG sizes
Add white border to inline piecharts in the list, to make them more visible on mouse hovering. Set a default image size for the loaded svg charts.
2015-02-03 16:46:12 +01:00
Eric Lippmann 5b4fab0750 Add license header
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann 5fa2e3cfdc Revert "Add license header"
This reverts commit 338d067aba.
2015-02-03 16:16:26 +01:00
Eric Lippmann 338d067aba Add license header
fixes #7788
2015-02-03 15:51:04 +01:00
Thomas Gelf f6fc592b91 events.js: reduce logging noise
Form submission by pressing return is not an error, and debug level
should suffice for the other button-related notices too.
2015-02-02 21:56:14 +01:00
Johannes Meyer 8bb0e4e0a0 Failure requests: Fix auto refresh and history II
Allow to change url's in history and stop auto auto refresh if
the container URL is not up to date.

Use variable after ajax call and the check is more robust.
2015-02-02 16:52:36 +01:00
Marius Hein bc69a3b20f Revert "Failure requests: Fix auto refresh and history"
This reverts commit 8c758a9f12.
2015-02-02 16:40:05 +01:00
Johannes Meyer a5fe9a1fe1 Revert "Introduce link target "_right" to keep a column with tabs rightmost"
This reverts commit 618ab4f4b9.
2015-02-02 16:34:29 +01:00
Marius Hein 67a426580d loader: Remove gray out on complete handler
A failure did not remove the impact class which colorize
the background gray.
2015-02-02 15:20:12 +01:00
Marius Hein 6555a2ec0a Menu: Move request handling to complete
If a failure occur the menu is still working.
2015-02-02 15:03:36 +01:00
Marius Hein 8c758a9f12 Failure requests: Fix auto refresh and history
Allow to change url's in history and stop auto auto refresh if
the container URL is not up to date.
2015-02-02 13:32:40 +01:00
Marius Hein 190c1e8f04 Revert "Revert "Dashboard: Always replace title""
This reverts commit d1f13819e4.

Please do not ask. This was no syntax error.
2015-02-02 12:04:28 +01:00
Marius Hein d1f13819e4 Revert "Dashboard: Always replace title"
This reverts commit c0c0e7d9e5.

Syntax error
2015-02-02 12:01:40 +01:00
Marius Hein c0c0e7d9e5 Dashboard: Always replace title
This is needed if an error occurs and the exception title was rendered
into the container.
2015-02-02 12:00:08 +01:00
Marius Hein 7b8332ccd8 Notifications do not disappear after autorefresh
This is not affected anymore because the errors goes directly
into the container. But this commit fixes the codes if someone
use the notifications in the loader. Also remove unused
variable this.exception.

fixes #6278
2015-01-30 15:25:12 +01:00
Marius Hein 6ec2ee753d Render error messages in the container itself
fixes #6280
2015-01-30 14:50:25 +01:00
Marius Hein c1df1f822e ifont: Reorganize files and drop use less attributes
fixes #6417
2015-01-29 11:25:37 +01:00
Johannes Meyer 3a983e8859 Merge branch 'master' into feature/improve-autologin-setup-8274 2015-01-28 18:01:15 +01:00
Marius Hein 4abb30e55b Merge branch 'master' into bugfix/ie8-fixes-6417 2015-01-28 17:08:56 +01:00
Marius Hein 9d05190517 ifont: Fix empty font glyphs for IE8
The embedded font is included inline in the stylesheets. IE falls back and
tries to load one of the other font sources which was not exported by the web
server. This fix moves the fontello directory to public and add add a
prefix path to the embedded stylesheet.

refs #6417
2015-01-28 17:06:55 +01:00
Johannes Meyer 78f5bf4f3d Phrase external auth warnings more neutral
refs #8274
2015-01-28 16:22:20 +01:00
Johannes Meyer 618ab4f4b9 Introduce link target "_right" to keep a column with tabs rightmost
I'd have liked to get it to work that in case the tab control is not in the
rightmost column a "go back" in the history is being simulated causing
the preceding leftmost column(s) to be restored and the rightmost one
set to the one containing the tab control. But the history api does not
seem to support any read operations except for the current state..

refs #6436
2015-01-28 14:21:06 +01:00
Marius Hein 7ef86ddf49 Navigation: Bypass error-prone hover selector for IE8
refs #6417
2015-01-28 13:19:49 +01:00
Johannes Meyer 7ad44b8411 login: Show a note if the only active external auth backend is not available
refs #8274
2015-01-27 14:26:06 +01:00
Johannes Meyer 23c36898da Rename css class "info" to "info-box" and add it as generic box
refs #8274
2015-01-27 14:05:41 +01:00
Johannes Meyer 4a245ed8e0 login: Wrap the config warning in paragraph tags instead of div 2015-01-27 13:58:55 +01:00
Johannes Meyer 6c292f7e56 Move the configuration warning on the login screen further up
..and add translation support to the login screen.

refs #8274
refs #8134
2015-01-27 13:31:14 +01:00
Johannes Meyer 0fa133abfb setup: Display a note in case autologin is chosen while not being logged in
In case the user chooses to use autologin as authentication while not being
externally authenticated a note is displayed indicating that it is necessary
to set up the webserver's authentication to be able to login once the wizard
is complete.

refs #8274
2015-01-26 16:58:40 +01:00
Johannes Meyer 3040116c12 Combine duplicate requirements
refs #8191
2015-01-22 12:47:18 +01:00
Johannes Meyer c4c248cbb7 Make the ModulePage's design more appealing
refs #8191
2015-01-22 10:57:41 +01:00
Johannes Meyer 1ee873adfc Remove the "old" ModulePage view script
refs #8191
2015-01-21 17:00:30 +01:00
Johannes Meyer 573c1046bb Ensure that the SummaryPage has a unique name when being utilized
refs #8191
2015-01-21 11:44:44 +01:00
Matthias Jentsch b5747797b7 Fix perfdata output
Display all perfdata key-value pairs in a formatted table, add padding to table css
improve piechart label.
2014-12-30 16:35:42 +01:00
Matthias Jentsch e47eb73499 Improve visibility of focus
Display navigation focus in a visible color and display focus outline in regular site body more prominently.

fixes #6164
2014-12-30 16:35:42 +01:00
Eric Lippmann fd044017fb Revert "Highlight hovered state rows even if there is no href"
This reverts commit 73f9328f12.

Highlighting table rows which do not contain a link does not make sense.

refs #8024
2014-12-29 17:31:00 +01:00
Matthias Jentsch 3d07049fbf Re-render menu item after setting class to active
Force the browser to re-render the menu item, to update the link layout immediately
by recreting the content html.

fixes #7897
2014-12-29 16:21:10 +01:00
Matthias Jentsch c93b13b138 Rework behavior of perfdata visualization
Determine perfdata pie color from host or service state, display zero percent piecharts, only render displayabl PieCharts with min and max values, move perfdata to piechart conversion functions into the Perfdata object.

fixes #6423
fixes #6200
fixes #7170
fixes #7304
2014-12-23 15:54:27 +01:00
Matthias Jentsch cda5a6a903 Streamline chart implementation
Define sparkline layout through CSS class and remove label/tooltip formatting.

fixes #7077
2014-12-23 15:26:45 +01:00